Skip to content
Snippets Groups Projects
Commit fdd11f2f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

revert jf's last commit

parent b4fb4bdd
No related branches found
No related tags found
No related merge requests found
...@@ -652,14 +652,14 @@ if(ENABLE_OCC) ...@@ -652,14 +652,14 @@ if(ENABLE_OCC)
endif(WIN32) endif(WIN32)
set(OCC_LIBS_REQUIRED set(OCC_LIBS_REQUIRED
# subset of DataExchange # subset of DataExchange
TKSTEP.0 TKSTEP209.0 TKSTEPAttr.0 TKSTEPBase.0 TKIGES.0 TKXSBase.0 TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase TKIGES TKXSBase
# ModelingAlgorithms # ModelingAlgorithms
TKOffset.0 TKFeat.0 TKFillet.0 TKBool.0 TKShHealing.0 TKMesh.0 TKHLR.0 TKBO.0 TKPrim.0 TKOffset TKFeat TKFillet TKBool TKShHealing TKMesh TKHLR TKBO TKPrim
TKTopAlgo.0 TKGeomAlgo.0 TKTopAlgo TKGeomAlgo
# ModelingData # ModelingData
TKBRep.0 TKGeomBase.0 TKG3d.0 TKG2d.0 TKBRep TKGeomBase TKG3d TKG2d
# FoundationClasses # FoundationClasses
TKAdvTools.0 TKMath.0 TKernel.0) TKAdvTools TKMath TKernel)
list(LENGTH OCC_LIBS_REQUIRED NUM_OCC_LIBS_REQUIRED) list(LENGTH OCC_LIBS_REQUIRED NUM_OCC_LIBS_REQUIRED)
set(OCC_LIBS) set(OCC_LIBS)
foreach(OCC ${OCC_LIBS_REQUIRED}) foreach(OCC ${OCC_LIBS_REQUIRED})
......
...@@ -66,18 +66,15 @@ static int vsnprintf(char *str, size_t size, const char *fmt, va_list ap) ...@@ -66,18 +66,15 @@ static int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
void Msg::Init(int argc, char **argv) void Msg::Init(int argc, char **argv)
{ {
#if defined(HAVE_MPI) #if defined(HAVE_MPI)
printf("initializing mpi\n");
MPI_Init(&argc, &argv); MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &_commRank); MPI_Comm_rank(MPI_COMM_WORLD, &_commRank);
MPI_Comm_size(MPI_COMM_WORLD, &_commSize); MPI_Comm_size(MPI_COMM_WORLD, &_commSize);
MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN); MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN);
#endif #endif
#if defined(HAVE_PETSC) #if defined(HAVE_PETSC)
printf("initializing petsc\n");
PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL);
#endif #endif
#if defined(HAVE_SLEPC) #if defined(HAVE_SLEPC)
printf("initializing slepc\n");
SlepcInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); SlepcInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL);
#endif #endif
time_t now; time_t now;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment