3 OPT = -O4 -qarch=qp -qtune=qp -qnocr
4 #OPT = -O3 -qarch=qp -qtune=qp -qdebug=function_trace
5 #OPT = -O -qarch=qp -qtune=qp
6 #OPT = -O0 -C -g -qarch=qp -qtune=qp #-qdebug=function_trace
7 #-Minline=name:scalar2,scalar,transpose2,matvec2,prodmat3 \
8 #-Mprefetch=distance:8,nta
10 #OPT1 = -O -g -qarch=qp -qtune=qp
11 OPT1 = -O -g -qarch=qp -qtune=qp -qdebug=function_trace
12 #OPT2 = -O2 -qarch=qp -qtune=qp
13 OPT2 = -O2 -qarch=qp -qtune=qp -qdebug=function_trace
14 #OPTE = -O4 -qarch=qp -qtune=qp
15 #OPTE = -O4 -qarch=qp -qtune=qp
20 FFLAGS = ${OPT} -c -I. -Iinclude_unres
24 cc -c -DLINUX -DPGI $*.c
30 ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
32 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
33 matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
34 geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hc.o \
35 track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \
36 int_from_cart1.o energy_p_new.o icant.o work_partition.o \
37 setup_var.o read_ref_str.o gnmr1.o ssMD.o dfa.o
39 GAB: CPPFLAGS = -WF,-DAIX -WF,-DPROCOR -WF,-DLINUX -WF,-DPGI -WF,-DUNRES \
40 -WF,-DISNAN -WF,-DMP -WF,-DMPI -WF,-DCLUST \
41 -WF,-DSPLITELE -WF,-DLANG0 -WF,-DCRYST_BOND -WF,-DCRYST_THETA -WF,-DCRYST_SC
42 #GAB: $(objects) xdrf/libxdrf.a
43 GAB: $(objects) ${objects_compar} xdrf/libxdrf.a
44 cc -o compinfo compinfo.c
46 ${FC} -c ${FFLAGS} cinfo.f
47 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
48 ${LIBS} -static-intel -o ${BIN}/unres_clustMD_MPICH-restr-GAB.exe
49 #$(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-GAB.exe
51 E0LL2Y: CPPFLAGS = -WF,-DAIX -WF,-DPROCOR -WF,-DLINUX -WF,-DPGI -WF,-DUNRES \
52 -WF,-DISNAN -WF,-DMP -WF,-DMPI -WF,-DCLUST \
53 -WF,-DSPLITELE -WF,-DLANG0
54 #E0LL2Y: $(objects) xdrf/libxdrf.a
55 E0LL2Y: $(objects) ${objects_compar} xdrf/libxdrf.a
56 cc -o compinfo compinfo.c
58 ${FC} -c ${FFLAGS} cinfo.f
59 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
60 ${LIBS} -static-intel -o ${BIN}/unres_clustMD_MPICH-restr-E0LL2Y.exe
61 #$(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-E0LL2Y.exe
68 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean