1 INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
2 BIN=../../../../bin/cluster
6 FFLAGS = ${OPT} -c -I. -Iinclude_unres -I$(INSTALL_DIR)/include
7 CPPFLAGS = -DLINUX -DPGI -DSPLITELE -DPROCOR -DMP -DMPI -DCLUST
8 #LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a -g -d2 -CA -CB
9 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a
12 cc -c -DLINUX -DPGI $*.c
18 ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
20 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
21 matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
22 geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hc.o \
23 track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \
24 int_from_cart1.o energy_p_new.o icant.o proc_proc.o work_partition.o \
25 setup_var.o read_ref_str.o gnmr1.o ssMD.o dfa.o
27 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN -DMP -DMPI -DCLUST \
28 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
29 GAB: $(objects) xdrf/libxdrf.a
30 cc -o compinfo compinfo.c
32 ${FC} -c ${FFLAGS} cinfo.f
33 $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-DFA-GAB.exe
35 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN -DMP -DMPI -DCLUST \
37 E0LL2Y: $(objects) xdrf/libxdrf.a
38 cc -o compinfo compinfo.c
40 ${FC} -c ${FFLAGS} cinfo.f
41 $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clustMD_MPICH-restr-DFA-E0LL2Y.exe
48 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean