Merge branch 'devel' of mmka:unres into devel
[unres.git] / CMakeLists.txt
index f9d9491..c56a413 100644 (file)
@@ -120,8 +120,8 @@ option(UNRES_NA_MMCE "Kompilujemy na mmmce?" OFF )
 # MPI stuff
 #=================================
 
-# Note for the future - use finde package to get MPI 
-find_package(MPI)
+# Note for the future - use find package to get MPI 
+find_package(MPI QUIET)
 
 #if(MPI_LIBRARY)
 
@@ -136,14 +136,12 @@ else(MPIF_LOCAL_DIR)
        ${MPI_LIBRARY}
        ${MPI_LIBRARY}/../
        ${MPI_EXTRA_LIBRARY}
-       /users/local/mpi64/mpich-1.2.7p1/lib 
        /usr/lib
         /usr/local/lib
         /usr/local/mpi/lib
   )
   find_path( MPIF_INCLUDE_DIRECTORIES NAMES  mpif.h PATHS
        ${MPI_INCLUDE_PATH}
-       /users/local/mpi64/mpich-1.2.7p1/include
        /usr/include
        /usr/local/include   
        /usr/include/mpi
@@ -199,10 +197,8 @@ find_package (Threads)
 # Add source files
 #=======================================     
 
-
 add_subdirectory(source/lib/xdrf)
 
-
 if(UNRES_NA_MMCE)
 
   if(UNRES_WITH_MPI)