# kraken-gcc # Whenever this version string changes, the application is configured # and rebuilt from scratch VERSION = 2010-12-08b CPP = cpp FPP = cpp CC = /opt/gcc/4.5.1/bin/gcc CXX = /opt/gcc/4.5.1/bin/g++ F77 = /opt/gcc/4.5.1/bin/gfortran F90 = /opt/gcc/4.5.1/bin/gfortran # maybe -DCRAY_XT? CPPFLAGS = -DMPICH_IGNORE_CXX_SEEK FPPFLAGS = -traditional CFLAGS = -g3 -m128bit-long-double -march=native -std=gnu99 CXXFLAGS = -g3 -m128bit-long-double -march=native -std=gnu++0x F77FLAGS = -g3 -m128bit-long-double -march=native -fcray-pointer -ffixed-line-length-none F90FLAGS = -g3 -m128bit-long-double -march=native -fcray-pointer -ffixed-line-length-none SYS_INC_DIRS = LDFLAGS = -static -Wl,-zmuldefs -L/opt/mpt/3.4.2/xt/mpich2-gnu/lib -L/opt/xt-libsci/10.3.9/gnu/lib -L/opt/mpt/3.4.2/xt/sma/lib -L/opt/mpt/3.4.2/xt/util/lib -L/opt/mpt/3.4.2/xt/pmi/lib -L/opt/xt-pe/2.2.41/lib -L/opt/xt-pe/2.2.41/lib/snos64 -L/usr/lib/alps LIBS = gfortran C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes DEBUG = no CPP_DEBUG_FLAGS = -DCARPET_DEBUG FPP_DEBUG_FLAGS = -DCARPET_DEBUG C_DEBUG_FLAGS = -fbounds-check -fstack-protector-all -ftrapv CXX_DEBUG_FLAGS = -fbounds-check -fstack-protector-all -ftrapv F77_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan -fstack-protector-all -ftrapv -fwhole-file F90_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan -fstack-protector-all -ftrapv -fwhole-file OPTIMISE = yes CPP_OPTIMISE_FLAGS = -DKRANC_VECTORS # -DCARPET_OPTIMISE -DNDEBUG FPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG C_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -ftree-loop-linear -ftree-loop-im -fivopts -fvect-cost-model -funroll-loops -funroll-all-loops -fvariable-expansion-in-unroller -fprefetch-loop-arrays -ffast-math -fassociative-math -freciprocal-math -fno-trapping-math -fexcess-precision=fast CXX_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -ftree-loop-linear -ftree-loop-im -fivopts -fvect-cost-model -funroll-loops -funroll-all-loops -fvariable-expansion-in-unroller -fprefetch-loop-arrays -ffast-math -fassociative-math -freciprocal-math -fno-trapping-math -fexcess-precision=fast F77_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -ftree-loop-linear -ftree-loop-im -fivopts -fvect-cost-model -funroll-loops -funroll-all-loops -fvariable-expansion-in-unroller -fprefetch-loop-arrays -ffast-math -fassociative-math -freciprocal-math -fno-trapping-math -fexcess-precision=fast -fno-protect-parens F90_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -ftree-loop-linear -ftree-loop-im -fivopts -fvect-cost-model -funroll-loops -funroll-all-loops -fvariable-expansion-in-unroller -fprefetch-loop-arrays -ffast-math -fassociative-math -freciprocal-math -fno-trapping-math -fexcess-precision=fast -fno-protect-parens PROFILE = no CPP_PROFILE_FLAGS = FPP_PROFILE_FLAGS = C_PROFILE_FLAGS = -pg CXX_PROFILE_FLAGS = -pg F77_PROFILE_FLAGS = -pg F90_PROFILE_FLAGS = -pg OPENMP = yes CPP_OPENMP_FLAGS = -fopenmp FPP_OPENMP_FLAGS = -fopenmp C_OPENMP_FLAGS = -fopenmp CXX_OPENMP_FLAGS = -fopenmp F77_OPENMP_FLAGS = -fopenmp F90_OPENMP_FLAGS = -fopenmp # -Wuninitialized is not supported without -O WARN = yes CPP_WARN_FLAGS = -Wall FPP_WARN_FLAGS = -Wall C_WARN_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wbad-function-cast -Wsign-compare CXX_WARN_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual F77_WARN_FLAGS = -Wall -Wshadow -Wsurprising F90_WARN_FLAGS = -Wall -Wshadow -Wsurprising # libblas.a seems incompatible; it was probably built with an older # version of gfortran #BLAS_DIR = /sw/xt5/blas/ref/cnl2.1_gnu4.3.2/lib #BLAS_LIBS = blas BLAS_DIR = BUILD FFTW_DIR = /sw/xt/fftw/3.1.2/cnl2.2_gnu4.4.3 # libgsl.a seems incompatible; it was probably built with an older # version of gcc #GSL_DIR = /sw/xt/gsl/1.14/cnl2.2_gnu4.4.3 GSL_DIR = BUILD # hdf5.mod seems incompatible; it has probably been generated with an # older version of gfortran #HDF5_DIR = /opt/cray/hdf5/1.8.5.0/hdf5-gnu #LIBSZ_DIR = /sw/xt5/szip/2.1/sles10.1_gnu4.3.2/lib HDF5_DIR = BUILD # IPM_DIR = /nics/b/home/eschnett/ipm_0.982 # libblas.a seems incompatible; it was probably built with an older # version of gfortran #LAPACK_DIR = /sw/xt5/lapack/3.1.1/cnl2.1_gnu4.3.2/lib #LAPACK_LIBS = lapack LAPACK_DIR = BUILD MPI = NATIVE NATIVE_MPI_INC_DIRS = /opt/mpt/3.4.2/xt/mpich2-gnu/include NATIVE_MPI_LIB_DIRS = /opt/mpt/3.4.2/xt/mpich2-gnu/lib /opt/xt-pe/2.2.41/lib /opt/mpt/3.4.2/xt/mpich2-gnu/lib /opt/mpt/3.4.2/xt/sma/lib /opt/mpt/3.4.2/xt/util/lib /opt/mpt/3.4.2/xt/pmi/lib NATIVE_MPI_LIBS = sma mpichcxx mpich rt -Wl,--start-group pmi alpslli alpsutil portals pthread m -Wl,--end-group # PAPI_DIR = /opt/xt-tools/papi/3.6.2.2 PETSC_DIR = BUILD PETSC_BLAS_EXTRA_LIB_DIRS = /opt/gcc/4.5.1/snos/lib64 PETSC_BLAS_EXTRA_LIBS = gfortran PETSC_LAPACK_EXTRA_LIB_DIRS = /opt/gcc/4.5.1/snos/lib64 PETSC_LAPACK_EXTRA_LIBS = gfortran PETSC_MPI_INC_DIR = /opt/mpt/3.4.2/xt/mpich2-gnu/include PETSC_MPI_LIB_DIRS = /opt/mpt/3.4.2/xt/mpich2-gnu/lib /opt/xt-pe/2.2.41/lib /opt/mpt/3.4.2/xt/mpich2-gnu/lib /opt/mpt/3.4.2/xt/sma/lib /opt/mpt/3.4.2/xt/util/lib /opt/mpt/3.4.2/xt/pmi/lib /opt/gcc/4.5.1/snos/lib64 /usr/lib PETSC_MPI_LIBS = sma mpichcxx mpich rt pmi alpslli alpsutil portals pthread m pmi alpslli alpsutil portals pthread m pmi alpslli alpsutil portals pthread m gfortran stdc++ supc++ PTHREADS = yes SSL_DIR = /nics/b/home/tradke/install/openssl-0.9.8i # TAU_MAKEFILE = /sw/xt5/tau/2.18.1/cnl2.1_gnu7.2.5/tau-2.18.1p2/craycnl/lib/Makefile.tau-multiplecounters-mpi-papi-pdt-gnu