projects
/
unres4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working PBC
[unres4.git]
/
source
/
unres
/
CMakeLists.txt
diff --git
a/source/unres/CMakeLists.txt
b/source/unres/CMakeLists.txt
index
cc0b694
..
2a48eda
100644
(file)
--- a/
source/unres/CMakeLists.txt
+++ b/
source/unres/CMakeLists.txt
@@
-44,6
+44,13
@@
set(UNRES_MD_SRC0
REMD.f90
)
REMD.f90
)
+if(UNRES_NEWGRAD)
+ set(UNRES_MD_SRC0 ${UNRES_MD_SRC0}
+ fdisy.f90 fdiag.f90 machpd.f90
+ quindibisectok.F90
+ quindet2ok.F90)
+endif()
+
set(UNRES_MD_SRC1
data/minim_data.f90
)
set(UNRES_MD_SRC1
data/minim_data.f90
)
@@
-110,6
+117,11
@@
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")
set(CPPFLAGS "UNRES -DISNAN -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DSCCORPDB" )
endif(UNRES_MD_FF STREQUAL "GAB")
+if(UNRES_NEWGRAD)
+ set(CPPFLAGS "${CPPFLAGS} -DCARGRAD -DFIVEDIAG ")
+endif()
+
+
#=========================================
# System specific flags
#=========================================
#=========================================
# System specific flags
#=========================================
@@
-156,10
+168,18
@@
endif (architektura STREQUAL "64")
#========================================
if(UNRES_WITH_MPI)
# binary with mpi
#========================================
if(UNRES_WITH_MPI)
# binary with mpi
- set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_MPI_${UNRES_MD_FF}.exe")
+ if(UNRES_NEWGRAD)
+ set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_MPI_${UNRES_MD_FF}_NEWGRAD.exe")
+ else()
+ set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_MPI_${UNRES_MD_FF}.exe")
+ endif()
else(UNRES_WITH_MPI)
# binary without mpi
else(UNRES_WITH_MPI)
# binary without mpi
- set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_single_${UNRES_MD_FF}.exe")
+ if(UNRES_NEWGRAD)
+ set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_single_${UNRES_MD_FF}_NEWGRAD.exe")
+ else()
+ set(UNRES_BIN "unresMD_${Fortran_COMPILER_NAME}_single_${UNRES_MD_FF}.exe")
+ endif()
endif(UNRES_WITH_MPI)
#=========================================
endif(UNRES_WITH_MPI)
#=========================================