X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Funres%2Fsrc%2FMakefile_ifort;h=595c4615e9999ad257e7a532e60250bbc0002eb8;hb=bebe713c64decf718ffb05afc624b15b89908337;hp=19e93e816c700f3d4ac74ff4d2b4d3900e4a72f6;hpb=b4fab0f48fe3800b029ec4c1290d9466c1256722;p=unres.git diff --git a/source/cluster/unres/src/Makefile_ifort b/source/cluster/unres/src/Makefile_ifort index 19e93e8..595c461 100644 --- a/source/cluster/unres/src/Makefile_ifort +++ b/source/cluster/unres/src/Makefile_ifort @@ -1,16 +1,18 @@ 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 +#FC= ifort +#OPT = -O3 -ip -w +#OPT = -g -CB +#FFLAGS = ${OPT} -I. +#CPPFLAGS = -DLINUX -DNEWUNRES # Next for debugging -#FC = f77 +FC = gfortran #OPT = -g -fbounds-check -#CPPFLAGS = -DLINUX -DG77 +OPT = -O3 +CPPFLAGS = -DLINUX -DG77 -DNEWUNRES -LIBS = +LIBS = xdrf/libxdrf.a .SUFFIXES: .F .F.o: @@ -18,16 +20,19 @@ LIBS = .f.o: $(FC) -c $(CPPFLAGS) $(FFLAGS) $< -objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \ +objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o cxread.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) +unres_clust: $(objects) xdrf/libxdrf.a cc -o compinfo compinfo.c ./compinfo | true ${FC} -c cinfo.f - $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort.exe + $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort-test.exe + +xdrf/libxdrf.a: + cd xdrf && make clean: /bin/rm *.o