1 CPPFLAGS = -DLINUX -DPGI -DISNAN -DMP -DMPI -DUNRES \
2 -DSPLITELE -DAMD64 -DLANG0 -DMOMENT \
3 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DCRYST_TOR
7 # -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
12 INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
18 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
19 FFLAGS1 = -c -w -g -O0 -d2 -CA -CB -I$(INSTALL_DIR)/include
20 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
21 FFLAGS3 = -c -w -O3 -mp
22 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
25 BIN = ../../../bin/unres/CSA/unres_csa-CASP3_ifort_mpich-1.2.7p1.exe
26 LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich
36 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
39 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
40 matmult.o readrtns_csa.o parmread.o \
41 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
42 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
43 gradient_p.o minimize_p.o sumsld.o \
44 cored.o rmdd.o geomout_min.o readpdb.o \
46 MP.o printmat.o convert.o int_to_cart.o \
48 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
49 indexx.o prng_32.o contact.o gen_rand_conf.o \
50 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
51 distfit.o banach.o TMscore_subroutine.o minim_mult.o
54 # cc -o compinfo compinfo.c
56 ${FC} ${FFLAGS} cinfo.f
57 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
63 chainbuild.o: chainbuild.F
64 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
67 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
69 parmread.o : parmread.F
70 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
73 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
76 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
79 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
82 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
85 ${FC} ${FFLAGS3} ${CPPFLAGS} cored.f
88 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
90 energy_p_new_barrier.o : energy_p_new_barrier.F
91 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
93 gradient_p.o : gradient_p.F
94 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
97 ${FC} -mp ${FFLAGS3} ${CPPFLAGS} dfa.F