Modified FORTRAN and threads warning.
authorSander Pronk <pronk@cbr.su.se>
Tue, 5 Oct 2010 15:18:40 +0000 (17:18 +0200)
committerSander Pronk <pronk@cbr.su.se>
Tue, 5 Oct 2010 15:18:40 +0000 (17:18 +0200)
CMakeLists.txt
configure.ac

index ad899c967418849e995ec5889460eb35ab6c8ae8..c869828c05176a067698b4f17cce883584f8b082 100644 (file)
@@ -560,7 +560,7 @@ endif(${GMX_ACCELERATION} STREQUAL "NONE")
 
 if(GMX_FORTRAN)
     if (GMX_THREADS)
-        message(WARNING "FORTRAN is incompatible with threads. Disable threads or FORTRAN kernels")
+        message(WARNING "FORTRAN is incompatible with threads and only provides a speed-up on certain IBM compilers. Disable FORTRAN (or threads if you really want to use FORTRAN kernels)."
     endif()
 endif()
 
index c3b106ec8deda6b901fc3c654c3a2b610b7072ff..ebdad8f4c779b6c3bedff127896fb1c62319129c 100644 (file)
@@ -468,7 +468,7 @@ if test "$enable_threads" = "yes"; then
     AC_MSG_ERROR([fftw2 can't be used with threads. Use fftw3 or mkl.])
   fi 
   if test "$enable_fortran" = "yes"; then
-    AC_MSG_ERROR([FORTRAN is incompatible with threads. Use --disable-threads.])
+    AC_MSG_ERROR([FORTRAN is incompatible with threads and only provides a speed-up on certain IBM compilers. Use --disable-threads if you really want to use FORTRAN kernels.])
   fi
   AC_CHECK_HEADERS(unistd.h)
   AC_CHECK_HEADERS(sys/time.h)