2 FC=/bgsys/drivers/ppcfloor/comm/bin/mpixlf77
3 OPT = -O4 -qarch=450 -qtune=450
4 #OPT = -O3 -qarch=450 -qtune=450 -qdebug=function_trace
5 #OPT = -O -qarch=450 -qtune=450
6 #OPT = -O0 -C -g -qarch=450 -qtune=450 #-qdebug=function_trace
7 #-Minline=name:scalar2,scalar,transpose2,matvec2,prodmat3 \
8 #-Mprefetch=distance:8,nta
10 #OPT1 = -O -g -qarch=450 -qtune=450
11 #OPT1 = -O -g -qarch=450 -qtune=450 -qdebug=function_trace
13 #OPT2 = -O2 -qarch=450 -qtune=450
14 #OPT2 = -O2 -qarch=450 -qtune=450 -qdebug=function_trace
16 #OPTE = -O4 -qarch=450 -qtune=450
17 #OPTE = -O4 -qarch=450 -qtune=450
21 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
22 FFLAGS1 = -c ${OPT1} -I$(INSTALL_DIR)/include
23 FFLAGS2 = -c ${OPT2} -I$(INSTALL_DIR)/include
24 FFLAGSE = -c ${OPTE} -I$(INSTALL_DIR)/include
26 BIN = ../bin/unres_MD_Tc_procor-newparm-O4-parcorr.exe
27 #BIN = ../bin/unres_MD_Tc_procor-newparm-O4-PARINT-parcorr.exe
28 #BIN = ../bin/unres_MD_Tc_procor-newparm-parvecmatint-O4-notau1.exe
29 #BIN = ../bin/unres_MD_Tc_procor-newparm-O4-notau1.exe
30 #LIBS = xdrf/libxdrf.a /home/liwo/UNRES/LIB/libmemmon.a
33 CPPFLAGS = -WF,-DAIX -WF,-DISNAN -WF,-DUNRES -WF,-DMP -WF,-DMPI -WF,-DPGI \
34 -WF,-DSPLITELE -WF,-DPROCOR -WF,-DAMD64 -WF,-DLANG0
35 #-WF,-DPARINT -WF,-DPARINTDER
36 #-WF,-DPARVEC -WF,-DPARMAT -WF,-DMATGATHER
48 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
51 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
52 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
53 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
54 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
55 energy_p_new-sep_barrier.o gradient_p.o minimize_p.o sumsld.o \
56 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
57 mc.o bond_move.o refsys.o check_sc_distr.o check_bond.o contact.o djacob.o \
58 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
59 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
60 indexx.o MP.o compare_s1.o prng.o \
61 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
62 sc_move.o local_move.o \
63 intcartderiv.o lagrangian_lesyng.o\
64 stochfric.o kinetic_lesyng.o MD_A-MTS.o moments.o int_to_cart.o \
65 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split-sep.o \
69 ${CC} -o compinfo compinfo.c
71 ${FC} ${FFLAGS} cinfo.f
72 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
79 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
82 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
85 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
88 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
91 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
94 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
96 together.o: together.F
97 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
100 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
102 chainbuild.o: chainbuild.F
103 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
106 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
108 parmread.o : parmread.F
109 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
112 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
114 cartder.o : cartder.F
115 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
117 readpdb.o : readpdb.f
118 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.f
121 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
124 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
127 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
130 ${FC} ${FFLAGS1} ${CPPFLAGS} eigen.f
133 ${FC} ${FFLAGS1} ${CPPFLAGS} blas.f
136 ${FC} ${FFLAGS1} ${CPPFLAGS} add.f
138 energy_p_new.o : energy_p_new.F
139 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
141 energy_p_new-sep.o : energy_p_new-sep.F
142 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new-sep.F
144 lagrangian_lesyng.o : lagrangian_lesyng.F
145 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
147 proc_proc.o: proc_proc.c
148 ${CC} ${CFLAGS} proc_proc.c
151 ${CC} ${CFLAGS} compinfo.c