1 #CPPFLAGS = -WF,-DOLD_GINV \
2 -WF,-DUNRES -WF,-DMP -WF,-DMPI \
3 -WF,-DSPLITELE -WF,-DISNAN \
4 -WF,-DAIX -WF,-DLANG0 -WF,-DPROCOR
6 INSTALL_DIR = /opt/mpich-pgi
10 #OPT = -fast -pc 64 -tp p6 \
11 #-Minline=name:scalar2,scalar,transpose2,matvec2,prodmat3
18 # -Mvect <---slows down
19 # -Minline=name:matmat2 <---false convergence
21 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
22 FFLAGS1 = -c ${OPT1} -I$(INSTALL_DIR)/include
26 BIN = /home/aliwo/UNRES/MD/bin/unres_MD_Tc-new-fg.exe
27 LIBS = ../src_Tc_cache/xdrf_new/libxdrf.a
29 CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI -DPGI -DSPLITELE -DPROCOR -DOLD_GINV -DLANG0
30 CFLAGS = -DLINUX -DPGI -c
40 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
43 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
44 matmult.o readrtns_CSA.o parmread.o gen_rand_conf.o printmat.o map.o \
45 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
46 cartder.o checkder_p.o econstr_local.o energy_p_new.o gradient_p.o minimize_p.o sumsld.o \
47 cored.o rmdd.o geomout.o readpdb.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.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.o moments.o int_to_cart.o \
56 surfatom.o sort.o muca_md.o MREMD.o rattle.o gauss.o energy_split.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}
70 ${FC} ${FFLAGS} ${CPPFLAGS} newconf.f
73 ${FC} ${FFLAGS} ${CPPFLAGS} bank.F
76 ${FC} ${FFLAGS} ${CPPFLAGS} diff12.f
79 ${FC} ${FFLAGS} ${CPPFLAGS} csa.f
82 ${FC} ${FFLAGS} ${CPPFLAGS} shift.F
85 ${FC} ${FFLAGS} ${CPPFLAGS} ran.f
87 together.o: together.F
88 ${FC} ${FFLAGS} ${CPPFLAGS} together.F
91 ${FC} ${FFLAGS} ${CPPFLAGS} test.F
93 chainbuild.o: chainbuild.F
94 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
97 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
99 parmread.o : parmread.F
100 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
103 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
105 cartder.o : cartder.F
106 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
108 readpdb.o : readpdb.f
109 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.f
112 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
115 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
118 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
120 energy_p_new.o : energy_p_new.F
121 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
123 lagrangian_lesyng.o : lagrangian_lesyng.F
124 ${FC} ${FFLAGSE} ${CPPFLAGS} lagrangian_lesyng.F
126 proc_proc.o: proc_proc.c
127 ${CC} ${CFLAGS} proc_proc.c