projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding in cmake UNRES_MD_FF = 4P for src_MD and src_MD-M
[unres.git]
/
source
/
unres
/
src_MD-M
/
CMakeLists.txt
diff --git
a/source/unres/src_MD-M/CMakeLists.txt
b/source/unres/src_MD-M/CMakeLists.txt
index
ecd2b5a
..
a98b86f
100644
(file)
--- a/
source/unres/src_MD-M/CMakeLists.txt
+++ b/
source/unres/src_MD-M/CMakeLists.txt
@@
-200,6
+200,8
@@
if(UNRES_MD_FF STREQUAL "GAB" )
elseif(UNRES_MD_FF STREQUAL "E0LL2Y")
# set preprocesor flags
set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0" )
elseif(UNRES_MD_FF STREQUAL "E0LL2Y")
# set preprocesor flags
set(CPPFLAGS "PROCOR -DUNRES -DISNAN -DSPLITELE -DLANG0" )
+elseif(UNRES_MD_FF STREQUAL "4P")
+ set(CPPFLAGS "UNRES -DISNAN -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DSCCORPDB" )
endif(UNRES_MD_FF STREQUAL "GAB")
endif(UNRES_MD_FF STREQUAL "GAB")
@@
-256,10
+258,10
@@
set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "SGI" )
#========================================
if(UNRES_WITH_MPI)
# binary with mpi
#========================================
if(UNRES_WITH_MPI)
# binary with mpi
- set(UNRES_BIN "unresMD-M_${Fortran_COMPILER_NAME}_MPICH_${UNRES_MD_FF}.exe")
+ set(UNRES_BIN "unresMD-mult_${Fortran_COMPILER_NAME}_MPI_${UNRES_MD_FF}.exe")
else(UNRES_WITH_MPI)
# binary without mpi
else(UNRES_WITH_MPI)
# binary without mpi
- set(UNRES_BIN "unresMD-M_${Fortran_COMPILER_NAME}_single_${UNRES_MD_FF}.exe")
+ set(UNRES_BIN "unresMD-mult_${Fortran_COMPILER_NAME}_single_${UNRES_MD_FF}.exe")
endif(UNRES_WITH_MPI)
#=========================================
endif(UNRES_WITH_MPI)
#=========================================
@@
-321,7
+323,7
@@
target_link_libraries( UNRES_BIN-MD-M xdrf )
#=========================================
# Install Path
#=========================================
#=========================================
# Install Path
#=========================================
-install(TARGETS UNRES_BIN-MD-M DESTINATION ${CMAKE_INSTALL_PREFIX})
+install(TARGETS UNRES_BIN-MD-M DESTINATION ${CMAKE_INSTALL_PREFIX}/unres/MD)
#=========================================
# TESTS
#=========================================
# TESTS