added default preprocessor flags for unknown compilers
authorDawid Jagiela <lightnir@chem.univ.gda.pl>
Fri, 12 Apr 2013 10:47:11 +0000 (12:47 +0200)
committerDawid Jagiela <lightnir@chem.univ.gda.pl>
Fri, 12 Apr 2013 10:47:11 +0000 (12:47 +0200)
source/unres/src_MD-M/CMakeLists.txt
source/unres/src_MD/CMakeLists.txt
source/wham/src-M/CMakeLists.txt
source/wham/src/CMakeLists.txt
source/wham/src/a.sh [deleted file]

index 63137a5..66264be 100644 (file)
@@ -235,6 +235,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95")
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
   # Add old gfortran flags
   set(CPPFLAGS "${CPPFLAGS} -DG77") 
+else (Fortran_COMPILER_NAME STREQUAL "ifort")
+  # Default preprocessor flags
+  set(CPPFLAGS "${CPPFLAGS} -DPGI")
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
 
 
index a0353f4..7dc7135 100644 (file)
@@ -212,6 +212,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95")
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
   # Add old gfortran flags
   set(CPPFLAGS "${CPPFLAGS} -DG77") 
+else(Fortran_COMPILER_NAME STREQUAL "ifort")
+  # Default preprocessor flag
+  set(CPPFLAGS "${CPPFLAGS} -DPGI")
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
 
 #=========================================
index d534ddb..2177570 100644 (file)
@@ -151,6 +151,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95")
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
   # Add old gfortran flags
   set(CPPFLAGS "${CPPFLAGS} -DG77") 
+else (Fortran_COMPILER_NAME STREQUAL "ifort")
+  # Default preprocessor flags
+  set(CPPFLAGS "${CPPFLAGS} -DPGI")
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
 
 #=========================================
index c164506..7113b9c 100644 (file)
@@ -150,6 +150,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95")
 elseif (Fortran_COMPILER_NAME STREQUAL "gfortran")
   # Add old gfortran flags
   set(CPPFLAGS "${CPPFLAGS} -DG77") 
+else (Fortran_COMPILER_NAME STREQUAL "ifort")
+  # Default preprocessor flags 
+  set(CPPFLAGS "${CPPFLAGS} -DPGI")
 endif (Fortran_COMPILER_NAME STREQUAL "ifort")
 
 #=========================================
diff --git a/source/wham/src/a.sh b/source/wham/src/a.sh
deleted file mode 100755 (executable)
index 00b1548..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-a=1
-echo $a
-while [ $a -lt 10 ] 
-do
-  a=`expr $a + 1`
-done
-echo $a
-b=`expr $a / 5`
-echo a=$a b=$b