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 LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a
10 cc -c -DLINUX -DPGI $*.c
16 ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
18 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
19 matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
20 geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hc.o \
21 track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \
22 int_from_cart1.o energy_p_new.o icant.o proc_proc.o work_partition.o \
23 setup_var.o read_ref_str.o gnmr1.o permut.o
26 @echo "Specify force field: GAB, 4P or E0LL2Y"
30 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
31 -DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
32 GAB: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_GAB.exe
33 GAB: ${object} xdrf/libxdrf.a
34 cc -o compinfo compinfo.c
36 ${FC} ${FFLAGS} cinfo.f
37 $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
39 4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
40 -DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
41 4P: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_4P.exe
42 4P: ${object} xdrf/libxdrf.a
43 cc -o compinfo compinfo.c
45 ${FC} ${FFLAGS} cinfo.f
46 $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
48 E0LL2Y: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
49 -DCLUST -DSPLITELE -DLANG0
50 E0LL2Y: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_E0LL2Y.exe
51 E0LL2Y: ${object} xdrf/libxdrf.a
52 cc -o compinfo compinfo.c
54 ${FC} ${FFLAGS} cinfo.f
55 $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
62 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean