1 ###################################################################
2 INSTALL_DIR = /users/software/mpich2-1.4.1p1_gnu
8 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
9 FFLAGS1 = -c -I$(INSTALL_DIR)/include
10 FFLAGS2 = -c -O0 -I$(INSTALL_DIR)/include
11 FFLAGS3 = -c -O -I$(INSTALL_DIR)/include
12 FFLAGSE = -c -O3 -I$(INSTALL_DIR)/include
14 LIBS = -L$(INSTALL_DIR)/lib -lmpich -lmpl
21 @echo "Specify force field: GAB, E0LL2Y, 4P or CASP3"
25 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
28 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
29 matmult.o readrtns_csa.o parmread.o \
30 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
31 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
32 gradient_p.o minimize_p.o sumsld.o \
33 cored.o rmdd.o geomout_min.o readpdb.o \
35 MP.o printmat.o convert.o int_to_cart.o \
37 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
38 indexx.o prng_32.o contact.o gen_rand_conf.o \
39 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
40 distfit.o banach.o TMscore_subroutine.o minim_mult.o refsys.o
44 GAB: CPPFLAGS = -DPROCOR -DLINUX -DG77 -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
45 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
46 GAB: BIN = ../../../bin/unres/CSA/unres_csa_gfort_MPICH_GAB.exe
48 cc -o compinfo compinfo.c
50 ${FC} ${FFLAGS} cinfo.f
51 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
53 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DG77 -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
55 E0LL2Y: BIN = ../../../bin/unres/CSA/unres_csa_gfort_MPICH_E0LL2Y.exe
57 cc -o compinfo compinfo.c
59 ${FC} ${FFLAGS} cinfo.f
60 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
62 CASP3: CPPFLAGS = -DLINUX -DG77 -DISNAN -DMP -DMPI -DUNRES \
63 -DSPLITELE -DAMD64 -DLANG0 -DMOMENT \
64 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DCRYST_TOR
65 CASP3: BIN = ../../../bin/unres/CSA/unres_csa_gfort_MPICH_CASP3.exe
67 cc -o compinfo compinfo.c
69 ${FC} ${FFLAGS} cinfo.f
70 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
72 4P: CPPFLAGS = -DLINUX -DG77 -DISNAN -DMP -DMPI -DUNRES \
73 -DSPLITELE -DAMD64 -DLANG0 \
74 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
75 4P: BIN = ../../../bin/unres/CSA/unres_csa_gfort_MPICH_4P.exe
77 cc -o compinfo compinfo.c
79 ${FC} ${FFLAGS} cinfo.f
80 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
83 /bin/rm -f *.o && /bin/rm -f compinfo
86 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
88 chainbuild.o: chainbuild.F
89 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
92 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
94 parmread.o : parmread.F
95 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
98 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
100 cartder.o : cartder.F
101 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
103 readpdb.o : readpdb.F
104 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
107 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
110 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
113 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
115 energy_p_new_barrier.o : energy_p_new_barrier.F
116 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
118 gradient_p.o : gradient_p.F
119 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
121 energy_p_new-sep_barrier.o : energy_p_new-sep_barrier.F
122 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new-sep_barrier.F
124 lagrangian_lesyng.o : lagrangian_lesyng.F
125 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
127 MD_A-MTS.o : MD_A-MTS.F
128 ${FC} ${FFLAGSE} ${CPPFLAGS} MD_A-MTS.F
131 ${FC} ${FFLAGS1} blas.f
134 ${FC} ${FFLAGS1} add.f
137 ${FC} ${FFLAGS2} eigen.f
139 proc_proc.o: proc_proc.c
140 ${CC} ${CFLAGS} proc_proc.c