INSTALL_DIR = /usr/local/mpich-1.2.5.2_pgi64-6.0-4_ssh BIN=/users/adam/ZSCOREZ/bin FC= pgf90 OPT = -mcmodel=medium -Mlarge_arrays -fast -pc 64 -tp amd64 #OPT = -mcmodel=medium -Mlarge_arrays -C -g -pc 64 -tp amd64 #OPT = -mcmodel=medium -Mlarge_arrays -pc 64 -tp amd64 #OPT = -C -g FFLAGS = ${OPT} -c -I. -I../src_MD_T -I../src_MD -I/users/adam/MEY_MD/src -I$(INSTALL_DIR)/include FFLAGS1 = ${FFLAGS} FFLAGS2 = ${FFLAGS} #FFLAGS1 = ${OPT} -g -c -I. -I../src_MD_T -I../src_MD -I/users/adam/MEY_MD/src -I$(INSTALL_DIR)/include #FFLAGS2 = ${OPT1} -c -I. -I../src_MD_T -I../src_MD -I/users/adam/MEY_MD/src -I$(INSTALL_DIR)/include CPPFLAGS = -DLINUX -DPGI -DSPLITELE -DPROCOR -DMP -DMPI LIBS = -L$(INSTALL_DIR)/lib -lmpich -lpmpich .c.o: cc -c -DLINUX -DPGI $*.c .f.o: ${FC} ${FFLAGS} $*.f .F.o: ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F objects = main_clust_w.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \ matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \ geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hcw.o \ track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \ int_from_cart1.o energy_p_new.o icant.o proc_proc.o work_partition.o \ setup_var.o unres_clust: $(objects) $(FC) ${OPT} ${objects} ${LIBS} -m -o ${BIN}/unres_clustMD_w_MPI clean: /bin/rm *.o move: mv *.o ${OBJ}