| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
EXTRA_ARGS=$@ |
| 4 |
|
| 5 |
# 2010/05/12: jmwille: Script I used to get Trilinos to build with CMake for |
| 6 |
# MPI on redsky. |
| 7 |
# Use this command first: module load libraries/intel-mkl-11.1.064 |
| 8 |
|
| 9 |
~/install/bin/cmake \ |
| 10 |
-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON \ |
| 11 |
-DTPL_LAPACK_LIBRARIES:STRING="-L/projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/mkl/lib/em64t -lmkl_lapack" \ |
| 12 |
-DTPL_BLAS_LIBRARIES:STRING="-L/projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/mkl/lib/em64t -L/projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5" \ |
| 13 |
-D TPL_ENABLE_MPI:BOOL=ON \ |
| 14 |
-D DART_TESTING_TIMEOUT:STRING=600 \ |
| 15 |
-D Trilinos_ENABLE_TESTS:BOOL=ON \ |
| 16 |
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \ |
| 17 |
-DCMAKE_BUILD_TYPE:STRING=RELEASE \ |
| 18 |
-DTrilinos_ENABLE_DEBUG:BOOL=OFF \ |
| 19 |
$EXTRA_ARGS \ |
| 20 |
../Trilinos |
| 21 |
|