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/
14 #FC= /usr/local/opt/intel/compiler60/ia32/bin/ifc
19 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
20 FFLAGS1 = -c -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
21 FFLAGS2 = -c -w -O0 -I$(INSTALL_DIR)/include
22 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
24 BIN = unres_Tc_procor_new_em64.exe
25 #LIBS = -L$(INSTALL_DIR)/lib_pgi -lmpich xdrf/libxdrf.a
26 #LIBS = -L$(INSTALL_DIR)/lib_ifort -lmpich xdrf/libxdrf.a
27 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf_em64/libxdrf.a -g -d2 -CA -CB
36 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
39 objectCSA = unres_CSA.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
40 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
41 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
42 cartder.o checkder_p.o energy_p_new.o gradient_p.o minimize_p.o sumsld.o \
43 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
44 mc.o bond_move.o refsys.o check_sc_distr.o contact.o djacob.o \
45 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
46 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
47 indexx.o MP.o compare_s1.o prng_32.o \
48 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
49 sc_move.o local_move.o \
50 intcartderiv.o lagrangian_lesyng.o\
51 stochfric.o kinetic_lesyng.o MD.o moments.o int_to_cart.o \
52 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split.o \
53 q_measure3.o econstr_local.o gnmr1.o check_sc_map.o check_bond.o
55 unresCSA: ${objectCSA}
56 cc -o compinfo compinfo.c
58 ${FC} ${FFLAGS} cinfo.f
59 ${FC} -static-libcxa ${OPT} ${objectCSA} cinfo.o ${LIBS} -o ${BIN}
67 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
70 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
73 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
76 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
79 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
82 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
84 together.o: together.F
85 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
88 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
90 chainbuild.o: chainbuild.F
91 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
94 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
96 parmread.o : parmread.F
97 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
100 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
102 cartder.o : cartder.F
103 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
105 readpdb.o : readpdb.F
106 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
109 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
112 ${FC} ${FFLAGS} ${CPPFLAGS} cored.f
115 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
117 energy_p_new.o : energy_p_new.F
118 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
120 lagrangian_lesyng.o : lagrangian_lesyng.F
121 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
123 readrtns_CSA.o : readrtns_CSA.F
124 ${FC} ${FFLAGS1} ${CPPFLAGS} readrtns_CSA.F
127 ${FC} ${FFLAGS1} ${CPPFLAGS} MREMD.F