mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replace thread count in message box with ria logging info
This commit is contained in:
parent
985e2e21ee
commit
4d87fc5927
@ -17,6 +17,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RiaArgumentParser.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaMainTools.h"
|
||||
#include "RiaOpenMPTools.h"
|
||||
#include "RiaPreferences.h"
|
||||
@ -141,7 +142,7 @@ int main( int argc, char* argv[] )
|
||||
RiaApplication::ApplicationStatus status = app->handleArguments( &progOpt );
|
||||
|
||||
int numOmpThreads = RiaOpenMPTools::numberOfThreads();
|
||||
app->showFormattedTextInMessageBoxOrConsole( QString( "OpenMP Num Threads: %1\n" ).arg( numOmpThreads ) );
|
||||
RiaLogging::info( QString( "OpenMP Num Threads: %1\n" ).arg( numOmpThreads ) );
|
||||
|
||||
if ( status == RiaApplication::ApplicationStatus::EXIT_COMPLETED )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user