#! /bin/bash #this is user-specific... sierra_code=/fgs/$USER/code #depending on the system, you may need sierra-devel or sierra-devel/nvidia module purge module load sierra-devel/nvidia #now the magic currently necessary for CUDA: export mpicxx_path=`type -p mpicxx` export MPI_ROOT=$(dirname ${mpicxx_path}) export LLNL_USE_OMPI_VARS=y export OMPI_CXX=/fgs/$USER/stk-cmake-testing/Trilinos/packages/kokkos/bin/nvcc_wrapper cd ${sierra_code} CUDA=ON CLEAR_CACHE=ON ./stk/stk_integration_tests/cmake_install_test/build_stk_using_cmake