| 1 |
#!/bin/sh |
| 2 |
# cmake script for building ML with MPI on Linux 64 bit workstations with the Intel blas/lapack (aka mkl) |
| 3 |
# |
| 4 |
# Note: you must put the following line in your .cshrc file: |
| 5 |
# source /usr/local/intel/Compiler/11.1/064/mkl/tools/environment/mklvarsem64t.csh |
| 6 |
# Otherwise, you may see link failures and/or run-time errors like |
| 7 |
# "error while loading shared libraries: libmkl_intel_lp64.so". |
| 8 |
# |
| 9 |
export TRILINOS_HOME=/home/jhu/Trilinos/development-clean/Trilinos |
| 10 |
EXTRA_ARGS=$@ |
| 11 |
|
| 12 |
cmake \ |
| 13 |
-D Trilinos_ENABLE_ML:BOOL=ON \ |
| 14 |
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \ |
| 15 |
-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" \ |
| 16 |
-D BLAS_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core; iomp5; pthread" \ |
| 17 |
-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" \ |
| 18 |
-D LAPACK_LIBRARY_NAMES:STRING="mkl_intel_lp64; mkl_intel_thread; mkl_core; iomp5; pthread" \ |
| 19 |
-D Trilinos_ENABLE_TESTS:BOOL=ON \ |
| 20 |
-D DART_TESTING_TIMEOUT:STRING=600 \ |
| 21 |
-D TPL_ENABLE_MPI:BOOL=ON \ |
| 22 |
$EXTRA_ARGS \ |
| 23 |
${TRILINOS_HOME} |