1 CPPFLAGS = -DPROCOR -DLINUX -DG77 -DISNAN -DMP -DMPI -DUNRES \
2 -DSPLITELE -DAMD64 -DLANG0 \
3 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
8 # -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
13 #INSTALL_DIR = /usr/local/mpich-1.2.7p1-intel
14 INSTALL_DIR = /users/local/mpich2-1.3.1/
21 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
22 FFLAGS1 = -c -I$(INSTALL_DIR)/include
23 FFLAGS2 = -c -O0 -I$(INSTALL_DIR)/include
24 FFLAGS3 = -c -O -I$(INSTALL_DIR)/include
25 FFLAGSE = -c -O3 -I$(INSTALL_DIR)/include
28 BIN = ../bin/unres_dfa_csa_4P_gfortran.exe
29 LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich -lmpl -lpthread
39 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
42 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
43 matmult.o readrtns_csa.o parmread.o \
44 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
45 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
46 gradient_p.o minimize_p.o sumsld.o \
47 cored.o rmdd.o geomout_min.o readpdb.o \
49 MP.o printmat.o convert.o int_to_cart.o \
51 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
52 indexx.o prng_32.o contact.o gen_rand_conf.o \
53 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
57 # cc -o compinfo compinfo.c
59 ${FC} ${FFLAGS} cinfo.f
60 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
66 chainbuild.o: chainbuild.F
67 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
70 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
72 parmread.o : parmread.F
73 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
76 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
79 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
82 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
85 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
88 ${FC} ${FFLAGS3} ${CPPFLAGS} cored.f
91 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
93 energy_p_new_barrier.o : energy_p_new_barrier.F
94 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
96 gradient_p.o : gradient_p.F
97 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
100 ${FC} ${FFLAGS3} ${CPPFLAGS} dfa.F