Commit 63750d11 authored by Christopher Subich's avatar Christopher Subich
Browse files

Add support for hood.math

This commit adds support for hood.math at the University of Waterloo
using the ICC compiler.  Before compiling and running, the user's
environment should be set up with:

. /opt/intel/bin/iccvars.sh intel64

and

. /opt/intel/composer_xe_2013_sp1.1.106/mkl/bin/mklvars.sh intel64
parent 9e8fc9c6
#!/bin/bash
# System-specific settings for hungabee.westgrid.ca
CC=icc
CXX=icpc
LD=mpicc
# 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 -fp-model fast=2"
OPTIM_LDFLAGS=$OPTIM_CFLAGS
# Compiler flags for extra optimization, such as -ip -ipo on icc
EXTRA_OPTIM_CFLAGS="-ip -ipo"
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
MPICXX=mpicc
MPI_CFLAGS=
MPI_LIB=
MPI_LIBDIR=
MPI_INCDIR=
# Library names/locations for LAPACK
LAPACK_LIB="-lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread"
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
# The sharcnet clusters are strange, and their compiler
# script includes the blas libraries with -llapack
BLAS_LIB=$LAPACK_LIB
BLAS_LIBDIR=$LAPACK_LIBDIR
BLAS_INCDIR=
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment