1 #INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
2 INSTALL_DIR = /users2/local/mpich2-1.4.1p1_intel
5 #OPT = -mcmodel=medium -O3 -ip -w
6 OPT = -mcmodel=medium -g -CB -ip -w
7 FFLAGS = ${OPT} -c -I. -I./include_unres -I$(INSTALL_DIR)/include
8 LIBS = -L$(INSTALL_DIR)/lib -lmpich -lmpl xdrf/libxdrf.a
14 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
56 readpdb.o fitsq.o contact.o \
57 elecont.o contfunc.o cont_frag.o conf_compar.o match_contact.o \
58 angnorm.o odlodc.o promienie.o qwolynes.o read_ref_str.o \
59 rmscalc.o secondary.o proc_cont.o define_pairs.o mysort.o
62 @echo "Specify force field: GAB, 4P or E0LL2Y"
66 GAB: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64 \
67 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
68 GAB: ${objects} ${objects_compar} xdrf/libxdrf.a
69 cc -o compinfo compinfo.c
71 ${FC} -c ${FFLAGS} cinfo.f
72 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
73 ${LIBS} -static-intel -o ${BIN}/wham-mult_ifort_MPICH-GAB.exe
75 4P: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPGI -DISNAN -DAMD64 \
76 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
77 4P: ${objects} ${objects_compar} xdrf/libxdrf.a
78 cc -o compinfo compinfo.c
80 ${FC} -c ${FFLAGS} cinfo.f
81 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
82 ${LIBS} -static-intel -o ${BIN}/wham-mult_ifort_MPICH_D-4P.exe
84 E0LL2Y: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64
85 E0LL2Y: ${objects} ${objects_compar} xdrf/libxdrf.a
86 cc -o compinfo compinfo.c
88 ${FC} -c ${FFLAGS} cinfo.f
89 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
90 ${LIBS} -shared-intel -o ${BIN}/wham-mult_ifort_MPICH_D-E0LL2Y.exe
97 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean