-
Notifications
You must be signed in to change notification settings - Fork 9
Building and running with Trilinos
Nicole Slattengren edited this page Aug 12, 2020
·
13 revisions
- To grab the current selection of modules/Trilinos (with RDC required):
source /projects/empire/installs/vortex/CUDA-10.1.243_GNU-7.3.1_SPMPI-ROLLING-RELEASE-CUDA-STATIC/trilinos/latest/load_matching_env.sh
- This is the build script I use for basic builds
#!/usr/bin/env bash
set +ex
empire=$1
if test $# -eq 0
then
echo "usage: $0 <empire-dir> [ <trace-enabled=0> ] [ <build-type=Release> ] "
exit 1
fi
if test $# -gt 1
then
trace=$2
else
trace=0
fi
if test $# -gt 2
then
build_type=$3
else
build_type=Release
fi
cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=true -DEMPIRE_ENABLE_WERROR=OFF -DEMPIRE_ENABLE_PIC=ON -Dvt_trace_enabled=${trace} -DCMAKE_BUILD_TYPE=${build_type} ${empire}
ninja EMPIRE_PIC.exe
To run an interactive job on Vortex with a proper shell run:
bsub -nnodes 16 -Is bash