1 ###################################################################
2 INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
9 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
10 FFLAGS1 = -c -g -CA -CB -I$(INSTALL_DIR)/include
11 FFLAGS2 = -c -g -O0 -I$(INSTALL_DIR)/include
12 FFLAGSE = -c -O3 -ipo -opt_report -I$(INSTALL_DIR)/include
15 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a
22 @echo "Specify force field: GAB, 4P or E0LL2Y"
26 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
29 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
30 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
31 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
32 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
33 energy_p_new-sep_barrier.o gradient_p.o minimize_p.o sumsld.o \
34 cored.o rmdd.o geomout.o readpdb.o permut.o regularize.o thread.o fitsq.o mcm.o \
35 mc.o bond_move.o refsys.o check_sc_distr.o check_bond.o contact.o djacob.o \
36 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
37 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
38 indexx.o MP.o compare_s1.o prng_32.o \
39 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
40 sc_move.o local_move.o \
41 intcartderiv.o lagrangian_lesyng.o\
42 stochfric.o kinetic_lesyng.o MD_A-MTS.o moments.o int_to_cart.o \
43 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
44 q_measure.o gnmr1.o ssMD.o
48 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
49 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
50 GAB: BIN = ../../../bin/unres/MD/unres-mult-symetr_ifort_MPICH_GAB.exe
51 GAB: ${object} xdrf/libxdrf.a
52 cc -o compinfo compinfo.c
54 ${FC} ${FFLAGS} cinfo.f
55 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
57 4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
58 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
59 4P: BIN = ../../../bin/unres/MD/unres-mult-symetr_ifort_MPICH_4P.exe
60 4P: ${object} xdrf/libxdrf.a
61 cc -o compinfo compinfo.c
63 ${FC} ${FFLAGS} cinfo.f
64 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
66 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
68 E0LL2Y: BIN = ../../../bin/unres/MD/unres-mult-symetr_ifort_MPICH_E0LL2Y.exe
69 E0LL2Y: ${object} xdrf/libxdrf.a
70 cc -o compinfo compinfo.c
72 ${FC} ${FFLAGS} cinfo.f
73 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
80 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean
83 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
85 chainbuild.o: chainbuild.F
86 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
89 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
91 parmread.o : parmread.F
92 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
95 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
98 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
100 readpdb.o : readpdb.F
101 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
104 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
107 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
110 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
112 energy_p_new_barrier.o : energy_p_new_barrier.F
113 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
115 gradient_p.o : gradient_p.F
116 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
118 energy_p_new-sep_barrier.o : energy_p_new-sep_barrier.F
119 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new-sep_barrier.F
121 lagrangian_lesyng.o : lagrangian_lesyng.F
122 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
124 MD_A-MTS.o : MD_A-MTS.F
125 ${FC} ${FFLAGSE} ${CPPFLAGS} MD_A-MTS.F
128 ${FC} ${FFLAGS1} blas.f
131 ${FC} ${FFLAGS1} add.f
134 ${FC} ${FFLAGS2} eigen.f
136 proc_proc.o: proc_proc.c
137 ${CC} ${CFLAGS} proc_proc.c