1 CPPFLAGS = -DPROCOR -DLINUX -DPGI -DISNAN -DMP -DMPI -DUNRES \
2 -DSPLITELE -DAMD64 -DLANG0 \
3 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
12 INSTALL_DIR = /usr/local/mpich-1.2.7p1-intel
13 #INSTALL_DIR =/users/software/mpich-1.2.7p1_intel-10.1_em64_ssh/
19 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
20 FFLAGS1 = -c -w -g -O0 -d2 -CA -CB -I$(INSTALL_DIR)/include
21 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
22 FFLAGS3 = -c -w -O3 -mp
23 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
26 BIN = ../bin/unres_Tc_procor_050711_dfa_csa_4P_800.exe
27 LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich
37 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
40 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
41 matmult.o readrtns_csa.o parmread.o \
42 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
43 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
44 gradient_p.o minimize_p.o sumsld.o \
45 cored.o rmdd.o geomout_min.o readpdb.o \
47 MP.o printmat.o convert.o int_to_cart.o \
49 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
50 indexx.o prng_32.o contact.o gen_rand_conf.o \
51 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
55 # cc -o compinfo compinfo.c
57 ${FC} ${FFLAGS} cinfo.f
58 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
64 chainbuild.o: chainbuild.F
65 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
68 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
70 parmread.o : parmread.F
71 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
74 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
77 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
80 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
83 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
86 ${FC} ${FFLAGS3} ${CPPFLAGS} cored.f
89 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
91 energy_p_new_barrier.o : energy_p_new_barrier.F
92 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
94 gradient_p.o : gradient_p.F
95 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
98 ${FC} -mp ${FFLAGS3} ${CPPFLAGS} dfa.F