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.0
13 #INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh/
14 #INSTALL_DIR = /opt/mpi/mvapich
15 INSTALL_DIR = /users/local/mpi64/mpich-1.2.7p1/
17 #FC= /usr/local/opt/intel/compiler60/ia32/bin/ifc
19 #FCL = ${INSTALL_DIR}/bin/mpif77
24 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
25 FFLAGS1 = -c -w -g -O0 -d2 -CA -CB -I$(INSTALL_DIR)/include
26 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
27 FFLAGS3 = -c -w -O3 -mp
28 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
30 BIN = ../../../bin/unres/CSA/unres_dfa_csa-Yi.exe
31 #BIN = ../../../bin/unres/CSA/unres_csa_ifort_mpich-1.2.7p1.exe
32 #LIBS = -L$(INSTALL_DIR)/lib -lmpich
33 LIBS = -lpthread -L$(INSTALL_DIR)/lib -lmpich
43 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
46 object = unres_csa.o arcos.o cartprint.o chainbuild.o initialize_p.o \
47 matmult.o readrtns_csa.o parmread.o \
48 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
49 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
50 gradient_p.o minimize_p.o sumsld.o \
51 cored.o rmdd.o geomout_min.o readpdb.o \
53 MP.o printmat.o convert.o int_to_cart.o \
55 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
56 indexx.o prng_32.o contact.o gen_rand_conf.o \
57 sc_move.o test.o local_move.o rmsd.o fitsq.o elecont.o djacob.o \
58 distfit.o banach.o TMscore_subroutine.o minim_mult.o
62 # cc -o compinfo compinfo.c
64 ${FC} ${FFLAGS} cinfo.f
65 # ${FCL} -static-libcxa ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
66 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
71 chainbuild.o: chainbuild.F
72 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
75 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
77 parmread.o : parmread.F
78 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
81 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
84 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
87 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
90 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
93 ${FC} ${FFLAGS3} ${CPPFLAGS} cored.f
96 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
98 energy_p_new_barrier.o : energy_p_new_barrier.F
99 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
101 gradient_p.o : gradient_p.F
102 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
105 ${FC} -mp ${FFLAGS3} ${CPPFLAGS} dfa.F