1 CPPFLAGS = -WF,-DOLD_GINV \
2 -WF,-DUNRES -WF,-DMP -WF,-DMPI \
3 -WF,-DSPLITELE -WF,-DISNAN \
4 -WF,-DAIX -WF,-DLANG0 -WF,-DPROCOR
12 BGLSYS = /bgl/BlueLight/ppcfloor/bglsys
14 CC = /usr/bin/blrts_xlc
15 CPPC = /usr/bin/blrts_xlc
16 FC = /usr/bin/blrts_xlf90
19 # try -qarch=440 first, then use -qarch=440d for 2nd FPU later on
20 # (SIMDization requires at least -O3)
21 # use -qlist -qsource with 440d and look for Parallel ASM instructions.
23 OPT= -I$(BGLSYS)/include -L$(BGLSYS)/lib -qarch=440d -qtune=440 -qfixed -w -qnosave
24 CFLAGS= -O3 -I$(BGLSYS)/include -L$(BGLSYS)/lib -qarch=440d -qtune=440
27 LIBS_MPI = -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts
28 LIBSF_MPI = -lmpich.rts -lfmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts
30 FFLAGS1 = -c ${OPT} -O2
31 FFLAGS2 = -c ${OPT} -O
32 FFLAGSE = -c ${OPT} -O4
35 BIN = ${HOME}/UNRES/bin/unres_Tc_procor_150aa.rts
36 #BIN = ${HOME}/UNRES/bin/unres_Tc_oldginv_noprocor.rts
37 LIBS = ${LIBSF_MPI} xdrf/libxdrf.a
47 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
50 objectCSA = unres_CSA.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
51 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
52 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
53 cartder.o checkder_p.o energy_p_new.o gradient_p.o minimize_p.o sumsld.o \
54 cored.o rmdd.o geomout.o readpdb.o regularize.o thread.o fitsq.o mcm.o \
55 mc.o bond_move.o refsys.o check_sc_distr.o contact.o djacob.o \
56 eigen.o blas.o add.o entmcm.o minim_mcmf.o \
57 together.o csa.o minim_jlee.o shift.o diff12.o bank.o newconf.o ran.o \
58 indexx.o MP.o compare_s1.o prng_32.o \
59 test.o banach.o distfit.o rmsd.o elecont.o dihed_cons.o \
60 sc_move.o local_move.o \
61 intcartderiv.o lagrangian_lesyng.o\
62 stochfric.o kinetic_lesyng.o MD.o moments.o int_to_cart.o \
63 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split.o \
66 unresCSA: ${objectCSA}
67 cc -o compinfo compinfo.c
69 ${FC} ${FFLAGS} cinfo.f
70 ${FC} ${OPT} ${objectCSA} cinfo.o ${LIBS} -o ${BIN}
77 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
80 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
83 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
86 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
89 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
92 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
94 together.o: together.F
95 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
98 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
100 chainbuild.o: chainbuild.F
101 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
104 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
106 parmread.o : parmread.F
107 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
110 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
112 cartder.o : cartder.F
113 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
115 readpdb.o : readpdb.f
116 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.f
119 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
122 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
125 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
127 energy_p_new.o : energy_p_new.F
128 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
130 lagrangian_lesyng.o : lagrangian_lesyng.F
131 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F