File: linux-eleanor-gcc-4.1.2-mpi-cmake

package info (click to toggle)
trilinos 16.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 993,992 kB
  • sloc: cpp: 3,764,859; ansic: 425,011; fortran: 160,684; python: 101,476; xml: 74,329; sh: 37,044; makefile: 22,641; perl: 7,525; f90: 6,424; csh: 5,285; objc: 2,620; lex: 1,646; lisp: 810; yacc: 603; javascript: 552; awk: 364; ml: 281; php: 145
file content (23 lines) | stat: -rwxr-xr-x 1,189 bytes parent folder | download | duplicates (6)
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}