[cig-commits] commit: forget all makefiles.

Mercurial hg at geodynamics.org
Thu Dec 29 13:27:22 PST 2011


changeset:   64:1c8259246842
user:        Sylvain Barbot <sbarbot at caltech.edu>
date:        Thu Dec 29 13:07:00 2011 -0800
files:       makefile makefile_fftw makefile_fourt makefile_imkl makefile_pangu makefile_sgfft
description:
forget all makefiles.


diff -r 28045e62d08b -r 1c8259246842 makefile
--- a/makefile	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-makefile_imkl
\ No newline at end of file
diff -r 28045e62d08b -r 1c8259246842 makefile_fftw
--- a/makefile_fftw	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-
-LIBPATH=-L/sw/lib
-INCPATH=-I/sw/include
-
-LIBS=-lgmt -lnetcdf -lfftw3f_threads -lfftw3f -lm -lpthread 
-
-CC=cc
-F77=ifort
-FC=ifort -openmp
-
-FFLAGS=-cpp $(INCPATH) -zero -warn all
-F77FLAGS=-zero 
-CFLAGS=-I/sw/include 
-
-OBJ = include.f90 ctfft.o fourier.o green.o elastic3d.o friction3d.o viscoelastic3d.o writegrd4.2.o export.o getdata.o relax.o
-
-%.o : %.c
-	$(CC) $(CFLAGS) -c $^
-
-%.o : %.f
-	$(F77) $(F77FLAGS) -c $^
-
-%.o : %.f90
-	$(FC) $(FFLAGS) -c $^
-
-relax: $(OBJ)
-	$(FC) $(FFLAGS) $(CDF) $(GMT) -o $@ $^ $(LIBPATH) $(LIBS)
-
-include clean.mk
diff -r 28045e62d08b -r 1c8259246842 makefile_fourt
--- a/makefile_fourt	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-
-GMT=/sw/lib/libgmt.a
-CDF=/sw/lib/libnetcdf.3.dylib
-GCC=/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a
-
-F77=ifort
-FC=ifort
-#FC=g95 -cpp
-#F77=g95 -O5
-
-FFLAGS=-O3 
-CFLAGS=
-
-OBJ = fourt.o fourier.o green.o elastic3d.o friction3d.o writegrd4.2.o viscoelastic3d.o export.o getdata.o relax.o
-
-%.o : %.c
-	$(CC) $(CFLAGS) -c $^
-
-%.o : %.f
-	$(F77) -c $^
-
-%.o : %.f90
-	$(FC) $(FFLAGS) -c $^
-
-relax: $(OBJ)
-	$(FC) $(FFLAGS) $(CDF) $(GMT) -o $@ $^
-
-include clean.mk
diff -r 28045e62d08b -r 1c8259246842 makefile_imkl
--- a/makefile_imkl	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-# Makefile including the Intel Math Kernel Library (MKL) FFT and OpenMP parallelization.
-# Successful loading of libraries at runtime upon initialization of environment variable
-# 
-# export DYLD_LIBRARY_PATH="/opt/intel/Compiler/11.1/084/lib:$DYLD_LIBRARY_PATH"
-#
-# in bash_profile or equivalent. Check out the Intel link advisor online
-#
-# http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
-#
-# to fit with your environment.
-
-LIBPATH=-L/sw/lib -L/opt/intel/Compiler/11.1/084/Frameworks/mkl/lib/em64t/ -L/opt/intel/Compiler/11.1/084/lib/
-INCPATH=-I/sw/include -I/opt/intel/Compiler/11.1/084/Frameworks/mkl/include -Ibuild
-
-LIBS=-lproj -lgmt -lnetcdf -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread 
-
-CC=cc -em64
-F77=ifort
-FC=ifort -openmp
-
-FFLAGS=-cpp $(INCPATH) -zero -warn all
-F77FLAGS=-zero 
-CFLAGS=-I/sw/include -Ibuild
-
-OBJ = types.o mkl_dfti.o fourier.o green.o elastic3d.o friction3d.o viscoelastic3d.o writegrd4.2.o writevtk.o proj.o export.o getdata.o getopt_m.o input.o relax.o
-
-%.o : %.c
-	$(CC) $(CFLAGS) -c $^
-
-%.o : %.f
-	$(F77) $(F77FLAGS) -c $^
-
-%.o : %.f90 include.f90 
-	$(FC) $(FFLAGS) -c $(filter-out include.f90,$^)
-
-relax: $(OBJ) 
-	$(FC) $(FFLAGS) -o $@ $(filter-out include.f90,$^) $(LIBPATH) $(LIBS)
-
-include clean.mk
diff -r 28045e62d08b -r 1c8259246842 makefile_pangu
--- a/makefile_pangu	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-# Makefile including the Intel Math Kernel Library (MKL) FFT and OpenMP parallelization.
-# Successful loading of libraries at runtime upon initialization of environment variable
-# 
-# export DYLD_LIBRARY_PATH="/opt/intel/Compiler/11.1/084/lib:$DYLD_LIBRARY_PATH"
-#
-# in bash_profile or equivalent. Check out the Intel link advisor online
-#
-# http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
-#
-# to fit with your environment.
-
-GMTDIR=/panfs/panasas-1/opt/GMT4.5.5
-NETLIBDIR=/usr/lib64
-NETINCDIR=/usr/include/netcdf-4/
-MKLROOT=/opt/intel/Compiler/11.1/064
-
-INCPATH=-I/usr/include -I$(GMTDIR)/include -I$(NETINCDIR) 
-LIBPATH=-L$(NETLIBDIR) -L$(MKLROOT)/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread
-LIBS=-lgmt -lnetcdf -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread 
-
-CC=cc -em64
-F77=ifort
-FC=ifort -openmp
-
-FFLAGS=-cpp $(INCPATH) -zero -warn all
-F77FLAGS=-zero 
-CFLAGS=$(INCPATH)
-
-OBJ = types.o mkl_dfti.o fourier.o green.o elastic3d.o friction3d.o viscoelastic3d.o writegrd4.2.o export.o getdata.o getopt.o input.o relax.o
-
-%.o : %.c
-	$(CC) $(CFLAGS) -c $^
-
-%.o : %.f
-	$(F77) $(F77FLAGS) -c $^
-
-%.o : %.f90 include.f90 
-	$(FC) $(FFLAGS) -c $(filter-out include.f90,$^)
-
-relax: $(OBJ) 
-	$(FC) $(FFLAGS) -o $@ $(filter-out include.f90,$^) $(LIBPATH) $(LIBS)
-
-include clean.mk
diff -r 28045e62d08b -r 1c8259246842 makefile_sgfft
--- a/makefile_sgfft	Thu Dec 29 13:03:55 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-
-GMTLIB=-L/usr/local/gmt/lib -lgmt
-CDFLIB=-L/usr/local/lib -lnetcdf
-GCCLIB=-L/sio_raid2/gcc/gcc-4.1.0/gcc -lgcc
-SCSLIB=-L/usr/lib -lscs_mp
-
-FFLAGS=-i-static -O3 -zero -warn all
-CFLAGS=-I/sw/include
-OPENMP=-openmp 
-LINK=-Wl,--allow-multiple-definition
-
-FC=ifort 
-F77=ifort 
-CC=cc 
-
-OBJ = fourier.o green.o elastic3d.o friction3d.o viscoelastic3d.o writegrd4.2.o export.o getdata.o relax.o
-
-%.o : %.c
-	$(CC) $(CFLAGS) -c $^
-
-%.o : %.f
-	$(F77) $(OPENMP) $(FFLAGS) $(SCSLIB) -c $^
-
-%.o : %.f90 
-	$(FC) $(SCSLIB) $(OPENMP) $(FFLAGS) -fpp -c $^
-
-relax: $(OBJ)
-	$(FC) $(LINK) $(FFLAGS) $(OPENMP) $^ $(GMTLIB) $(CDFLIB) $(GCCLIB) $(SCSLIB) -o $@
-
-include clean.mk
-



More information about the CIG-COMMITS mailing list