2 INSTALL_DIR = /usr/local/mpich-1.2.0
4 #FC= /usr/local/opt/intel/compiler60/ia32/bin/ifc
6 OPT = -O3 -ip -w -pc64 -tpp6
8 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
9 FFLAGS1 = -c -tpp6 -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
10 FFLAGS2 = -c -tpp6 -w -O0 -I$(INSTALL_DIR)/include
11 FFLAGSE = -c -tpp6 -w -O3 -ipo -ipo_obj -pc64 -opt_report -I$(INSTALL_DIR)/include
13 BIN = ${HOME}/UNRES/NEW/bin/unres_ifc8.exe
14 LIBS = -L$(INSTALL_DIR)/lib_pgi -lmpich -lpmpich -Vaxlib -openmp
15 CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI -DPGI
28 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
31 objectCSA = unres_CSA.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
32 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
33 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
34 cartder.o checkder_p.o energy_p_new.o gradient_p.o minimize_p.o sumsld.o \
35 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
36 mc.o bond_move.o refsys.o check_sc_distr.o contact.o djacob.o entmcm.o \
37 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
38 indexx.o MP.o compare_s1.o prng_32.o proc_proc.o mcmf.o \
39 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o
42 unresCSA: ${objectCSA}
43 cc -o compinfo compinfo.c
45 ${FC} ${FFLAGS} cinfo.f
46 ${FC} ${OPT} ${objectCSA} cinfo.o ${LIBS} -Wl,-Bstatic -o ${BIN}
53 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
56 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
59 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
62 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
65 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
68 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
70 together.o: together.F
71 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
74 ${FC} ${FFLAGS} ${CPPFLAGS} test.f
76 chainbuild.o: chainbuild.F
77 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
80 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
82 parmread.o : parmread.F
83 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
86 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
89 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
92 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.f
95 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
98 ${FC} ${FFLAGS} ${CPPFLAGS} cored.f
101 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
103 energy_p_new.o : energy_p_new.F
104 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F