1 CPPFLAGS = -DPROCOR -DLINUX -DPGI -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/mpi64/mpich-1.2.7p1/
20 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
21 FFLAGS1 = -c -w -g -O0 -d2 -CA -CB -I$(INSTALL_DIR)/include
22 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
23 FFLAGS3 = -c -w -O3 -mp
24 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
27 BIN = ../../../bin/unres/CSA/unres_csa_ifort_mpich-1.2.7p1.exe
28 LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich
38 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
41 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
42 matmult.o readrtns_csa.o parmread.o \
43 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
44 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
45 gradient_p.o minimize_p.o sumsld.o \
46 cored.o rmdd.o geomout_min.o readpdb.o \
48 MP.o printmat.o convert.o int_to_cart.o \
50 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
51 indexx.o prng_32.o contact.o gen_rand_conf.o \
52 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
53 distfit.o banach.o TMscore_subroutine.o minim_mult.o
56 # cc -o compinfo compinfo.c
58 ${FC} ${FFLAGS} cinfo.f
59 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
65 chainbuild.o: chainbuild.F
66 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
69 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
71 parmread.o : parmread.F
72 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
75 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
78 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
81 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
84 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
87 ${FC} ${FFLAGS3} ${CPPFLAGS} cored.f
90 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
92 energy_p_new_barrier.o : energy_p_new_barrier.F
93 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
95 gradient_p.o : gradient_p.F
96 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
99 ${FC} -mp ${FFLAGS3} ${CPPFLAGS} dfa.F