*) Loading modules
module load intel/2013
module load cmake
module load boost
module load mvapich2/1.8.1-intel-wocuda
module load cuda/4.0

*) Setting environment variables
export BLAS_LIB_DIR="/apps/castor/intel/mkl/lib/intel64/" #we want to flexible here, hence we do not specify /usr/lib
export LAPACK_LIB_DIR="/apps/castor/intel/mkl/lib/intel64/" #we want to flexible here, hence we do not specify /usr/lib
export NLOPT_LIB_DIR="/users/schabaue/lib/nlopt/lib"
export NLOPT_INCLUDE_DIR="/users/schabaue/lib/nlopt/include"
export MATH_LIB_NAMES="mkl_intel_lp64;mkl_sequential;mkl_core;mkl_intel_lp64;mkl_sequential;mkl_core;gfortranbegin;gfortran"
export LINK_DIR_BLAS="/apps/castor/intel/mkl/lib/intel64/"
export LINK_DIR_LAPACK="/apps/castor/intel/mkl/lib/intel64/"
export INCLUDE_DIR_MKL="/apps/castor/intel/mkl/include/"
#export MPI_INCLUDE_PATH="/usr/include" #might not be necessary if CXX set correctly
#export MPI_LIBRARY="/usr/lib" #might not be necessary if CXX set correctly
export CXX="/apps/castor/mvapich2/1.8/mvapich2-gnu/bin/mpicxx"

