1 INSTALL_DIR = /users/software/mpich-1.2.7p1_pgi_9.0_64bit_ssh
4 #OPT = -mcmodel=medium -Mlarge_arrays -fast -pc 64 -tp amd64 -C -g
5 OPT = -mcmodel=medium -Mlarge_arrays -tp amd64
6 #FFLAGS = ${OPT} -g -c -I. -I./include_unres -I$(INSTALL_DIR)/include
7 FFLAGS = ${OPT} -c -C -g -I. -I./include_unres -I$(INSTALL_DIR)/include
8 #FFLAGS = ${OPT} -c -I. -I./include_unres -I$(INSTALL_DIR)/include
9 LIBS = -L$(INSTALL_DIR)/lib -lmpich -lpmpich xdrf/libxdrf.a
15 ${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_pgf90_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_pgf90_MPICH_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_pgf90_MPICH_E0LL2Y.exe
95 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean