Merge branch 'prerelease-3.2.1' into czarek
[unres.git] / source / cluster / unres / src / Makefile_ifort
diff --git a/source/cluster/unres/src/Makefile_ifort b/source/cluster/unres/src/Makefile_ifort
new file mode 100644 (file)
index 0000000..19e93e8
--- /dev/null
@@ -0,0 +1,36 @@
+BIN=/home/adam/UNRES/bin
+INSTALL_DIR = /usr/local/mpich-1.2.7p1-intel
+FC= ifort
+OPT = -O3 -ip -w 
+FFLAGS =  ${OPT} -I. 
+CPPFLAGS = -DLINUX
+
+# Next for debugging
+#FC = f77
+#OPT = -g -fbounds-check
+#CPPFLAGS = -DLINUX -DG77
+
+LIBS = 
+
+.SUFFIXES: .F
+.F.o:
+       $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
+.f.o:
+       $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
+
+objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \
+       matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
+       geomout.o readpdb.o fitsq.o hc.o  \
+       track.o wrtclust.o srtclust.o noyes.o contact.o
+
+unres_clust: $(objects)
+       cc -o compinfo compinfo.c
+       ./compinfo | true
+       ${FC} -c cinfo.f
+       $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort.exe
+
+clean:
+       /bin/rm *.o
+
+move:
+       mv *.o ${OBJ}