2 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
3 FFLAGS1 = -c -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
4 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
5 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
9 CFLAGS = -DLINUX -DPGI -c
13 # -Mvect <---slows down
14 # -Minline=name:matmat2 <---false convergence
26 @echo "Specify force field: GAB, 4P or E0LL2Y"
30 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
32 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
33 matmult.o readrtns.o parmread.o gen_rand_conf.o printmat.o map.o \
34 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
35 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
36 energy_p_new-sep_barrier.o gradient_p.o minimize_p.o sumsld.o \
37 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
38 mc.o bond_move.o refsys.o check_sc_distr.o check_bond.o contact.o djacob.o \
39 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
40 MP.o compare_s1.o prng.o \
41 banach.o rmsd.o elecont.o dihed_cons.o \
42 sc_move.o local_move.o \
43 intcartderiv.o lagrangian_lesyng.o\
44 stochfric.o kinetic_lesyng.o MD_A-MTS.o moments.o int_to_cart.o \
45 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
46 q_measure.o gnmr1.o test.o ssMD.o
50 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
51 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
52 GAB: BIN = ../../../bin/unres/MD/unres_ifort_single_GAB.exe
53 GAB: ${object} xdrf/libxdrf.a
54 cc -o compinfo compinfo.c
56 ${FC} ${FFLAGS} cinfo.f
57 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
59 4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
60 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
61 4P: BIN = ../../../bin/unres/MD/unres_ifort_single_4P.exe
62 4P: ${object} xdrf/libxdrf.a
63 cc -o compinfo compinfo.c
65 ${FC} ${FFLAGS} cinfo.f
66 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
68 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
70 E0LL2Y: BIN = ../../../bin/unres/MD/unres_ifort_single_E0LL2Y.exe
71 E0LL2Y: ${object} xdrf/libxdrf.a
72 cc -o compinfo compinfo.c
74 ${FC} ${FFLAGS} cinfo.f
75 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
81 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean
84 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
86 chainbuild.o: chainbuild.F
87 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
90 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
92 parmread.o : parmread.F
93 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
96 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
99 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
101 readpdb.o : readpdb.F
102 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
105 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
108 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
111 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
113 energy_p_new_barrier.o : energy_p_new_barrier.F
114 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
116 gradient_p.o : gradient_p.F
117 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
119 energy_p_new-sep_barrier.o : energy_p_new-sep_barrier.F
120 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new-sep_barrier.F
122 lagrangian_lesyng.o : lagrangian_lesyng.F
123 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
125 MD_A-MTS.o : MD_A-MTS.F
126 ${FC} ${FFLAGSE} ${CPPFLAGS} MD_A-MTS.F
129 ${FC} ${FFLAGS1} blas.f
132 ${FC} ${FFLAGS1} add.f
135 ${FC} ${FFLAGS2} eigen.f
137 proc_proc.o: proc_proc.c
138 ${CC} ${CFLAGS} proc_proc.c