Poprawka w Cmakelist
authorAdam Kazimierz Sieradzan <adasko@sun1.chem.univ.gda.pl>
Wed, 17 Oct 2012 09:39:26 +0000 (05:39 -0400)
committerAdam Kazimierz Sieradzan <adasko@sun1.chem.univ.gda.pl>
Wed, 17 Oct 2012 09:39:26 +0000 (05:39 -0400)
source/unres/src_MD-M/CMakeLists.txt
source/unres/src_MD/CMakeLists.txt

index 4251303..b5b9c05 100644 (file)
@@ -97,6 +97,8 @@ set(UNRES_MDM_SRC0
 
 if (Fortran_COMPILER_NAME STREQUAL "ifort")
   set(UNRES_MDM_SRC0 ${UNRES_MDM_SRC0} prng.f ) 
+elseif(Fortran_COMPILER_NAME STREQUAL "mpif90")
+  set(UNRES_MDM_SRC0 ${UNRES_MDM_SRC0} prng.f )
 else()
   set(UNRES_MDM_SRC0 ${UNRES_MDM_SRC0} prng_32.F )
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
index c56c706..7f31f0e 100644 (file)
@@ -82,6 +82,8 @@ set(UNRES_MD_SRC0
 
 if(Fortran_COMPILER_NAME STREQUAL "ifort")
   set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng.f ) 
+elseif(Fortran_COMPILER_NAME STREQUAL "mpif90")
+  set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng.f )
 else()
   set(UNRES_MD_SRC0 ${UNRES_MD_SRC0} prng_32.F )
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")