Adasko's dir
[unres.git] / source / cluster / wham / src-NEWSC / Makefile-MPI
diff --git a/source/cluster/wham/src-NEWSC/Makefile-MPI b/source/cluster/wham/src-NEWSC/Makefile-MPI
new file mode 100644 (file)
index 0000000..36a0387
--- /dev/null
@@ -0,0 +1,34 @@
+BIN = /users/adam/ZSCOREZ/bin
+CC = cc
+FC = mpif90
+PGI=/opt/pgi
+OPT = -fast -pc 64 -tp p6 -Minline=name:scalar2,scalar,transpose2,matvec2,prodmat3
+#FFLAGS =  ${OPT} -c -I. -I../src_MD_T/include_unres  -I../src_MD
+FFLAGS =  ${OPT} -c -I. -I../src_MD_T/include_unres  -I../src_MD
+LIBS = -L../../MEY_MD/src_Tc/xdrf -lxdrf
+CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI
+
+.c.o:
+       cc -c -DLINUX -DPGI $*.c
+
+.f.o:
+       ${FC} ${FFLAGS} $*.f
+
+.F.o:
+       ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
+
+objects = main_clust.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 hc.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 -Bstatic -o ${BIN}/unres_clustMD_MPI-nopteron
+
+clean:
+       /bin/rm *.o
+
+move:
+       mv *.o ${OBJ}