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
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 = ../../../bin/unres/MD/unres_Tc_procor_oldparm_em64-D-symetr.exe
27 #LIBS = -L$(INSTALL_DIR)/lib_pgi -lmpich ../../lib/xdrf/libxdrf.a
28 #LIBS = -L$(INSTALL_DIR)/lib_ifort -lmpich xdrf/libxdrf.a
29 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a -g -d2 -CA -CB
39 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
42 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
43 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
44 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
45 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
46 energy_p_new-sep_barrier.o gradient_p.o minimize_p.o sumsld.o \
47 cored.o rmdd.o geomout.o readpdb.o permut.o regularize.o thread.o fitsq.o mcm.o \
48 mc.o bond_move.o refsys.o check_sc_distr.o check_bond.o contact.o djacob.o \
49 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
50 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
51 indexx.o MP.o compare_s1.o prng_32.o \
52 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
53 sc_move.o local_move.o \
54 intcartderiv.o lagrangian_lesyng.o\
55 stochfric.o kinetic_lesyng.o MD_A-MTS.o moments.o int_to_cart.o \
56 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
57 q_measure.o gnmr1.o ssMD.o
59 unres: ${object} proc_proc.o
60 cc -o compinfo compinfo.c
62 ${FC} ${FFLAGS} cinfo.f
63 ${FC} ${OPT} ${object} proc_proc.o cinfo.o ${LIBS} -o ${BIN}
64 #${FC} ${OPT} -Wl,-M ${object} proc_proc.o cinfo.o ${LIBS} -o ${BIN}
71 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
74 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
77 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
80 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
83 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
86 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
88 together.o: together.F
89 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
92 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
94 chainbuild.o: chainbuild.F
95 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
98 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
100 parmread.o : parmread.F
101 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
104 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
106 cartder.o : cartder.F
107 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
109 readpdb.o : readpdb.F
110 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
113 ${FC} ${FFLAGS2} ${CPPFLAGS} permut.F
116 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
119 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
122 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
124 energy_p_new.o : energy_p_new.F
125 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
127 lagrangian_lesyng.o : lagrangian_lesyng.F
128 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
130 proc_proc.o: proc_proc.c
131 ${CC} ${CFLAGS} proc_proc.c
134 ${FC} ${FFLAGS2} add.f
137 ${FC} ${FFLAGS2} blas.f
140 ${FC} ${FFLAGS2} eigen.f