X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc%2FCMakeLists.txt;h=17a7ef666e3aa4b7a6afb612bffd6af199839172;hb=4281b07d63d8d213dc5af5bc447bdfcbf8aead07;hp=ec0b67ea927ac21431503e464ef76f3b5caadedb;hpb=c4d3af184529909554ad0472e52ca8987de91ca9;p=unres.git diff --git a/source/cluster/wham/src/CMakeLists.txt b/source/cluster/wham/src/CMakeLists.txt index ec0b67e..17a7ef6 100644 --- a/source/cluster/wham/src/CMakeLists.txt +++ b/source/cluster/wham/src/CMakeLists.txt @@ -16,6 +16,7 @@ set(UNRES_CLUSTER_WHAM_SRC0 energy_p_new.F fitsq.f geomout.F + gnmr1.f hc.f icant.f initialize_p.F @@ -52,7 +53,6 @@ set(UNRES_CLUSTER_WHAM_PP_SRC timing.F track.F work_partition.F - proc_proc.c ) @@ -62,7 +62,7 @@ set(UNRES_CLUSTER_WHAM_PP_SRC if (Fortran_COMPILER_NAME STREQUAL "ifort") set(FFLAGS0 "-ip -w -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") - set(FFLAGS0 "-I. -I${CMAKE_CURRENT_SOURCE_DIR}/inlude_unres " ) + set(FFLAGS0 "-std=legacy -I. -I${CMAKE_CURRENT_SOURCE_DIR}/include_unres " ) endif (Fortran_COMPILER_NAME STREQUAL "ifort") # Add MPI compiler flags @@ -128,10 +128,16 @@ set(UNRES_CLUSTER_WHAM_BIN "unres_clustMD.exe") # DEPENDS compinfo-wham-m ) #set_property(SOURCE ${UNRES_CINFO_DIR}/cinfo.f PROPERTY COMPILE_FLAGS ${FFLAGS0} ) +set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "LINUX -DPGI" ) + + + #========================================= # Set full unres CLUSTER sources #========================================= -set(UNRES_CLUSTER_WHAM_SRCS ${UNRES_CLUSTER_WHAM_SRC0} ${CMAKE_CURRENT_SOURCE_DIR}/proc_proc.c) +set(UNRES_CLUSTER_WHAM_SRCS ${UNRES_CLUSTER_WHAM_SRC0} proc_proc.c) + + #========================================= # Build the binary