forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux-eleanor-gcc-4.1.2-mpi-cmake
executable file
·23 lines (22 loc) · 1.16 KB
/
linux-eleanor-gcc-4.1.2-mpi-cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# cmake script for building ML with MPI on Linux 64 bit workstations with the Intel blas/lapack (aka mkl)
#
# Note: you must put the following line in your .cshrc file:
# source /usr/local/intel/Compiler/11.1/064/mkl/tools/environment/mklvarsem64t.csh
# Otherwise, you may see link failures and/or run-time errors like
# "error while loading shared libraries: libmkl_intel_lp64.so".
#
export TRILINOS_HOME=/home/jhu/Trilinos/development-clean/Trilinos
EXTRA_ARGS=$@
cmake \
-D Trilinos_ENABLE_ML:BOOL=ON \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D BLAS_LIBRARY_DIRS:STRING="/usr/local/intel/Compiler/11.1/064/mkl/lib/em64t;/usr/local/intel/Compiler/11.1/064/lib/intel64;/usr/lib64" \
-D BLAS_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core; iomp5; pthread" \
-D LAPACK_LIBRARY_DIRS:STRING="/usr/local/intel/Compiler/11.1/064/mkl/lib/em64t;/usr/local/intel/Compiler/11.1/064/lib/intel64;/usr/lib64" \
-D LAPACK_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core; iomp5; pthread" \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D DART_TESTING_TIMEOUT:STRING=600 \
-D TPL_ENABLE_MPI:BOOL=ON \
$EXTRA_ARGS \
${TRILINOS_HOME}