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
12 CFLAGS = -DLINUX -DPGI -c
16 # -Mvect <---slows down
17 # -Minline=name:matmat2 <---false convergence
29 @echo "Specify force field: GAB, 4P or E0LL2Y"
33 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
35 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
36 matmult.o readrtns.o parmread.o gen_rand_conf.o printmat.o map.o \
37 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
38 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
39 energy_p_new-sep_barrier.o gradient_p.o minimize_p.o sumsld.o \
40 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
41 mc.o bond_move.o refsys.o check_sc_distr.o check_bond.o contact.o djacob.o \
42 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
44 banach.o rmsd.o elecont.o dihed_cons.o \
45 sc_move.o local_move.o \
46 intcartderiv.o lagrangian_lesyng.o\
47 stochfric.o kinetic_lesyng.o MD_A-MTS.o moments.o int_to_cart.o \
48 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
49 q_measure.o gnmr1.o test.o ssMD.o
53 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
54 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
55 GAB: BIN = ../../../bin/unres/MD/unres_ifort_single_GAB.exe
56 GAB: ${object} xdrf/libxdrf.a
57 cc -o compinfo compinfo.c
59 ${FC} ${FFLAGS} cinfo.f
60 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
62 4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
63 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
64 4P: BIN = ../../../bin/unres/MD/unres_ifort_single_4P.exe
65 4P: ${object} xdrf/libxdrf.a
66 cc -o compinfo compinfo.c
68 ${FC} ${FFLAGS} cinfo.f
69 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
71 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN \
73 E0LL2Y: BIN = ../../../bin/unres/MD/unres_ifort_single_E0LL2Y.exe
74 E0LL2Y: ${object} xdrf/libxdrf.a
75 cc -o compinfo compinfo.c
77 ${FC} ${FFLAGS} cinfo.f
78 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
84 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean
87 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
89 chainbuild.o: chainbuild.F
90 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
93 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
95 parmread.o : parmread.F
96 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
99 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
101 cartder.o : cartder.F
102 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
104 readpdb.o : readpdb.F
105 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
108 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
111 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
114 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
116 energy_p_new_barrier.o : energy_p_new_barrier.F
117 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
119 gradient_p.o : gradient_p.F
120 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
122 energy_p_new-sep_barrier.o : energy_p_new-sep_barrier.F
123 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new-sep_barrier.F
125 lagrangian_lesyng.o : lagrangian_lesyng.F
126 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
128 MD_A-MTS.o : MD_A-MTS.F
129 ${FC} ${FFLAGSE} ${CPPFLAGS} MD_A-MTS.F
132 ${FC} ${FFLAGS1} blas.f
135 ${FC} ${FFLAGS1} add.f
138 ${FC} ${FFLAGS2} eigen.f
140 proc_proc.o: proc_proc.c
141 ${CC} ${CFLAGS} proc_proc.c