Commit bcc8e0ed authored by Christopher Subich's avatar Christopher Subich
Browse files

Add error checking for environment variables on hood.math

parent 6ddb7092
......@@ -28,9 +28,9 @@ EXTRA_OPTIM_LDFLAGS=$EXTRA_OPTIM_CFLAGS
# alias
MPICXX=icpc
MPI_CFLAGS=
MPI_LIBDIR="-L${MPI_LIB}"
MPI_LIBDIR="-L${MPI_LIB?MPI_LIB unset}"
MPI_LIB="-lmpi"
MPI_INCDIR="-I${MPI_INCLUDE}"
MPI_INCDIR="-I${MPI_INCLUDE?MPI_INCLUDE unset}"
# Library names/locations for LAPACK
LAPACK_LIB="-lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread"
......
Supports Markdown
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