1 INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
2 BIN = ../../../bin/wham
4 OPT = -mcmodel=medium -O3 -ip -w
5 #OPT = -mcmodel=medium -g -CB
6 FFLAGS = ${OPT} -c -I. -I./include_unres -I$(INSTALL_DIR)/include
7 LIBS = -L$(INSTALL_DIR)/lib -lmpich -lpmpich xdrf/libxdrf.a
13 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
54 readpdb.o fitsq.o contact.o \
55 elecont.o contfunc.o cont_frag.o conf_compar.o match_contact.o \
56 angnorm.o odlodc.o promienie.o qwolynes.o read_ref_str.o \
57 rmscalc.o secondary.o proc_cont.o define_pairs.o mysort.o
60 @echo "Specify force field: GAB, 4P or E0LL2Y"
64 GAB: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64 \
65 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DWHAM
66 GAB: ${objects} ${objects_compar} xdrf/libxdrf.a
67 cc -o compinfo compinfo.c
69 ${FC} -c ${FFLAGS} cinfo.f
70 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
71 ${LIBS} -static-intel -o ${BIN}/wham-mult_ifort_MPICH-GAB.exe
73 4P: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPGI -DISNAN -DAMD64 \
74 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DWHAM
75 4P: ${objects} ${objects_compar} xdrf/libxdrf.a
76 cc -o compinfo compinfo.c
78 ${FC} -c ${FFLAGS} cinfo.f
79 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
80 ${LIBS} -static-intel -o ${BIN}/wham-mult_ifort_MPICH_D-4P.exe
82 E0LL2Y: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64 -DWHAM
83 E0LL2Y: ${objects} ${objects_compar} xdrf/libxdrf.a
84 cc -o compinfo compinfo.c
86 ${FC} -c ${FFLAGS} cinfo.f
87 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
88 ${LIBS} -static-intel -o ${BIN}/wham-mult_ifort_MPICH_D-E0LL2Y.exe
95 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean