# compute # Whenever this version string changes, the application is configured # and rebuilt from scratch VERSION = 2011-07-04 # gfortran 4.5.2 has a bug: according to selected_real_kind, it # supports real*16, but one cannot declare variables of this type. # This break HDF5 1.8.6's autoconf. CPP = cpp-4.6.1 FPP = cpp-4.6.1 CC = gcc-4.6.1 CXX = g++-4.6.1 F77 = gfortran-4.6.1 F90 = gfortran-4.6.1 CPPFLAGS = -DOMPI_SKIP_MPICXX 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 CUCC = g++-4.6.1 CUCCFLAGS = -x c++ -DOMPI_SKIP_MPICXX -DTAU_VERSION_NUMBER=21803 -g3 -m128bit-long-double -march=native -std=gnu++0x -fopenmp CUCC_DEBUG_FLAGS = -DCARPET_DEBUG -fbounds-check -fstack-protector-all -ftrapv CUCC_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -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 CUCC_WARN_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual CU_DEPEND = g++-mp-4.6.1 -M -MP -x c++ -DOMPI_SKIP_MPICXX -DTAU_VERSION_NUMBER=21803 -fopenmp LDFLAGS = -L/usr/local/gcc-4.6.1/lib64 -lgfortran C_LINE_DIRECTIVES = yes F_LINE_DIRECTIVES = yes REAL16_KIND = 10 VECTORISE = yes VECTORISE_ALIGNED_ARRAYS = yes VECTORISE_INLINE = no 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 # Changing ANSI C semantics: # -funsafe-loop-optimizations -ffast-math-errno # Try: # -floop-interchange -floop-strip-mine -floop-block # Try also: # -flto OPTIMISE = yes CPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG FPP_OPTIMISE_FLAGS = # -DCARPET_OPTIMISE -DNDEBUG C_OPTIMISE_FLAGS = -O3 -funsafe-loop-optimizations -fsee -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-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-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-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 #MPI = OpenMPI OPENMPI_DIR = /usr OPENMPI_INC_DIRS = /usr/include/openmpi /usr/include/openmpi/openmpi OPENMPI_LIB_DIRS = /lib64 OPENMPI_LIBS = mpi mpi_cxx PETSC_ARCH = linux-gnu-c-opt PETSC_ARCH_LIBS = mpi PTHREADS = yes