exportGMF( &mgTetraHPC, fileskinmesh.ToCString(), meshDS );
- if ( useLib )
+ if ( true /*useLib*/ )
{
TCollection_AsciiString cmd = TCollection_AsciiString("mg-tetra_hpc.exe") +
" --number_of_subdomains=" + NbPart +
<< " Creating a log file : " << logFileName << endl << endl;
mgTetraHPC.SetLogFile( logFileName.ToCString() );
- mgTetraHPC.Compute( cmd.ToCString() );
+ std::string log;
+ mgTetraHPC.Compute( cmd.ToCString(), log );
- std::string log = mgTetraHPC.GetLog();
+ if ( log.empty() )
+ log = mgTetraHPC.GetLog();
if ( log.find(" Dlim " ) != std::string::npos ||
log.find(" license ") != std::string::npos )
return error("License problem");