Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • a2grace/SPINS_main
  • k2abduls/SPINS_main
  • klrowe/SPINS_main
  • dallum/SPINS_main
  • ncastrof/SPINS_main
  • spaceforce/SPINS_main
  • c2xu/SPINS_main
  • ddeepwel/SPINS_main
  • bastorer/SPINS_main
  • SPINS/SPINS_main
10 results
Show changes
Commits on Source (4)
......@@ -75,11 +75,10 @@ else
fi
(tar -xzvf blitz_1.0.2.tar.gz > /dev/null) || (echo "Untar of Blitz FAILED"; exit 1);
pushd blitz-1.0.2
(autoreconf -vif && ./configure --prefix="$CWD" --disable-fortran "${BLITZ_OPTIONS}" > /dev/null) && \
(make lib > /dev/null) && \
pushd blitz && (make install > /dev/null) && popd && \
pushd lib && (make install > /dev/null) && popd && \
pushd random && (make install > /dev/null) && popd && \
mkdir build && pushd build && \
(cmake .. -DCMAKE_INSTALL_PREFIX="$CWD" > /dev/null) && \
(make -j4 > /dev/null) && \
(make install > /dev/null) && popd
popd
if [ $? -ne 0 ]; then
echo "Could not compile/install Blitz"; exit 1
......
#!/bin/bash
### This is a system-specific configuration file designed for
### the system sutton.math. It uses the newly-established naming
### convention of:
### <system>.<cc>.<mpi_lib>.<blas/lapack_lib>.sh
### designed to help support the use of multiple compiler
### configurations on a single system.
# System-specific settings for bow.math.private
CC=gcc
CXX=g++
LD=mpicxx
# System-specific compiler flags
SYSTEM_CFLAGS=
SYSTEM_LDFLAGS=
# Compiler flags for debugging
DEBUG_CFLAGS="-g -DBZ_DEBUG"
DEBUG_LDFLAGS=
# Compiler flags for optimization
OPTIM_CFLAGS="-O3 -ffast-math"
OPTIM_LDFLAGS=$OPTIM_CFLAGS
# Compiler flags for extra optimization, such as -ip -ipo on icc
EXTRA_OPTIM_CFLAGS="-march=znver2"
EXTRA_OPTIM_LDFLAGS=$EXTRA_OPTIM_CFLAGS
# Library names/locations/flags for MPI-compilation. This will
# probably not be necessary on systems with a working mpicc alias
# When using SGI/HPE MPT, after loading the module, mpicxx is in search rules
# and it sets the rest of the references it needs.
MPICXX=mpicxx
#MPI_CFLAGS=
#MPI_LIBDIR="-L${MPI_LIB}"
MPI_LIB="-lmpi_cxx -lmpi"
#MPI_INCDIR="-I${MPI_INCLUDE}"
# Library names/locations for LAPACK
LAPACK_LIB="-llapack -lblas"
LAPACK_LIBDIR=
LAPACK_INCDIR=
# Library locations for blitz; leave blank to use system-installed
# or compiled-with-this-package version
BLITZ_LIBDIR=
BLITZ_INCDIR=
# Library locations for fftw
FFTW_LIBDIR=
FFTW_INCDIR=
# Library locations for UMFPACK
UMF_INCDIR=
UMF_LIBDIR=
# Location/library for BLAS
BLAS_LIB="-lblas"
BLAS_LIBDIR=
BLAS_INCDIR=
sutton.gcc.openmpi.blas.sh
\ No newline at end of file