Merge branch 'prerelease-3.2.1' into czarek
[unres.git] / source / unres / src_MD / Makefile_single_ifort
index c651e39..262f921 100644 (file)
@@ -23,7 +23,7 @@ ARCH = LINUX
 PP = /lib/cpp -P
 
 all: 
-       @echo "Specify force field: GAB or E0LL2Y"
+       @echo "Specify force field: GAB, 4P or E0LL2Y"
 
 .SUFFIXES: .F
 .F.o:
@@ -45,7 +45,9 @@ object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
         surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
         q_measure.o gnmr1.o test.o ssMD.o
 
-GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
+no_option:
+
+GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
        -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
 GAB: BIN = ../../../bin/unres/MD/unres_ifort_single_GAB.exe
 GAB: ${object} xdrf/libxdrf.a
@@ -54,7 +56,16 @@ GAB: ${object} xdrf/libxdrf.a
        ${FC} ${FFLAGS} cinfo.f
        ${FC} ${OPT} ${object} cinfo.o ${LIBS}  -o ${BIN}
 
-E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
+4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
+       -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
+4P: BIN = ../../../bin/unres/MD/unres_ifort_single_4P.exe
+4P: ${object} xdrf/libxdrf.a
+       cc -o compinfo compinfo.c
+       ./compinfo | true
+       ${FC} ${FFLAGS} cinfo.f
+       ${FC} ${OPT} ${object} cinfo.o ${LIBS}  -o ${BIN}
+
+E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
        -DSPLITELE -DLANG0
 E0LL2Y: BIN = ../../../bin/unres/MD/unres_ifort_single_E0LL2Y.exe
 E0LL2Y: ${object} xdrf/libxdrf.a