Salome HOME
Minor fix for ParMetis detection and // partitioner tests.
authorabn <adrien.bruneton@cea.fr>
Fri, 11 Dec 2015 09:43:18 +0000 (10:43 +0100)
committerabn <adrien.bruneton@cea.fr>
Fri, 11 Dec 2015 09:43:18 +0000 (10:43 +0100)
cmake_files/FindSalomeParMetis.cmake
src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx

index 60b6b7d986180dab4d1f2e154fd0991010eb986e..17a4f079828009262f71ddbcf2c0904456fe2d30 100644 (file)
@@ -24,7 +24,7 @@
 #  !! Please read the generic detection procedure in SalomeMacros.cmake !!
 #
 
-SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(ParMetis PARMETIS_INCLUDE_DIRS 1)
+SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(ParMetis PARMETIS_INCLUDE_DIRS 0)
 #MARK_AS_ADVANCED()
 
 IF(PARMETIS_FOUND)
index 866409f0e94aef10d6c5f00f1f106f64d07c067f..ed5bc1809c6140f43d31947b47a91be8b1b30cc9 100644 (file)
@@ -43,6 +43,8 @@
 #include <cstdlib>
 #include <vector>
 
+#include <unistd.h>  // get_current_dir_name()
+
 #include <mpi.h>
 
 using namespace std;