1 CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI \
2 -DPGI -DSPLITELE -DISNAN -DAMD64 \
4 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
11 #INSTALL_DIR = /usr/local/mpich-1.2.0
12 #INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh/
13 INSTALL_DIR = /opt/mpi/mvapich
15 #FC= /usr/local/opt/intel/compiler60/ia32/bin/ifc
17 FCL = ${INSTALL_DIR}/bin/mpif77
21 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
22 FFLAGS1 = -c -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
23 FFLAGS2 = -c -w -O0 -I$(INSTALL_DIR)/include
24 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
26 BIN = unres_Tc_procor_new_em64-oldparm.exe
27 #LIBS = -L$(INSTALL_DIR)/lib_pgi -lmpich xdrf/libxdrf.a
28 #LIBS = -L$(INSTALL_DIR)/lib_ifort -lmpich xdrf/libxdrf.a
29 LIBS = -L$(INSTALL_DIR)/lib -lmpich -lpthread xdrf_em64/libxdrf.a -g -d2 -CA -CB
38 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
41 objectCSA = unres_CSA.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
42 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
43 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
44 cartder.o checkder_p.o energy_p_new.o gradient_p.o minimize_p.o sumsld.o \
45 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
46 mc.o bond_move.o refsys.o check_sc_distr.o contact.o djacob.o \
47 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
48 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
49 indexx.o MP.o compare_s1.o prng_32.o \
50 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
51 sc_move.o local_move.o \
52 intcartderiv.o lagrangian_lesyng.o\
53 stochfric.o kinetic_lesyng.o MD.o moments.o int_to_cart.o \
54 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split.o \
55 q_measure3.o econstr_local.o gnmr1.o check_sc_map.o check_bond.o
57 unresCSA: ${objectCSA}
58 cc -o compinfo compinfo.c
60 ${FC} ${FFLAGS} cinfo.f
61 ${FCL} -static-libcxa ${OPT} ${objectCSA} cinfo.o ${LIBS} -o ${BIN}
69 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
72 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
75 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
78 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
81 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
84 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
86 together.o: together.F
87 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
90 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
92 chainbuild.o: chainbuild.F
93 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
96 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
98 parmread.o : parmread.F
99 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
102 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
104 cartder.o : cartder.F
105 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
107 readpdb.o : readpdb.F
108 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
111 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
114 ${FC} ${FFLAGS} ${CPPFLAGS} cored.f
117 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
119 energy_p_new.o : energy_p_new.F
120 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
122 lagrangian_lesyng.o : lagrangian_lesyng.F
123 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
125 readrtns_CSA.o : readrtns_CSA.F
126 ${FC} ${FFLAGS1} ${CPPFLAGS} readrtns_CSA.F
129 ${FC} ${FFLAGS1} ${CPPFLAGS} MREMD.F