1 #INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
2 INSTALL_DIR = /users/local/mpich2-1.4.1p1_intel
3 BIN=../../../../bin/cluster
5 OPT = -O3 -ip -w -mcmodel=medium -shared-intel
7 FFLAGS = ${OPT} -c -I. -Iinclude_unres -I$(INSTALL_DIR)/include
8 CPPFLAGS = -DLINUX -DPGI -DSPLITELE -DPROCOR -DMP -DMPI -DCLUST
9 #LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a -g -d2 -CA -CB
10 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a -lmpl
13 cc -c -DLINUX -DPGI $*.c
19 ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
21 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
22 matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
23 geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hc.o \
24 track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \
25 int_from_cart1.o energy_p_new.o icant.o proc_proc.o work_partition.o \
26 setup_var.o read_ref_str.o gnmr1.o ssMD.o dfa.o
28 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN -DMP -DMPI -DCLUST \
29 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
30 GAB: $(objects) xdrf/libxdrf.a
31 cc -o compinfo compinfo.c
33 ${FC} -c ${FFLAGS} cinfo.f
34 $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-DFA-GAB.exe
36 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN -DMP -DMPI -DCLUST \
38 E0LL2Y: $(objects) xdrf/libxdrf.a
39 cc -o compinfo compinfo.c
41 ${FC} -c ${FFLAGS} cinfo.f
42 $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-DFA-E0LL2Y.exe
49 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean