Skip to content
Matt Larsen edited this page Jul 30, 2019 · 48 revisions

Summit + cuda + xl + static

git clone --recursive https://github.com/Alpine-DAV/ascent.git
cd ascent
python scripts/uberenv/uberenv.py --install --spec=%xl --spack-config-dir scripts/uberenv/spack_configs/olcf/summit-xl-cuda/ 

Requires csc320 group perms to access cmake, which can't be built with default xl on Summit. We are using the system cmake, but symlinked to avoid a bug with spack where spack can't use a spack-built package as an external package in another spack instance.

Summit + cuda + static

git clone --recursive https://github.com/Alpine-DAV/ascent.git
cd ascent
python scripts/uberenv/uberenv.py --install --spack-config-dir=scripts/uberenv/spack_configs/olcf/summit/

Note load modules when building running:

ml cuda/10.1.168 
ml gcc/5.4.0
ml cmake/3.14.2

2019-05

NERSC Cori

We have public install of ascent on cori:

/project/projectdirs/alpine/software/ascent/gnu/7.3.0/ascent-install/

To use the gcc version, you need to run the following:

module switch PrgEnv-intel PrgEnv-gnu
export CRAYPE_LINK_TYPE=dynamic

SNL Sky Bridge

To build required thirdparty libraries and install ascent use:

python scripts/uberenv/uberenv.py --install --spack-config-dir scripts/uberenv/spack_configs/snl/skybridge/

To run examples, you will need to load the proper MPI:

module load openmpi-gnu/2.0

Notes:

Check BLT git log --patch develop -- src/blt/

How to build on LLNL Sierra with xlc:

python scripts/uberenv/uberenv.py --install --pull  --spec="%xl@coral~shared+cuda~python~openmp~fortran ^cmake~openssl~ncurses ^conduit~fortran"

How to build on NERSC Cori with intel:

python scripts/uberenv/uberenv.py --install --pull --spec="%intel~python+mfem ^cmake~openssl~ncurses" --spack-config-dir scripts/uberenv/spack_configs/nersc/cori/

How to build on NERSC Cori with gcc+ python:

python uberenv/uberenv.py --install --spec="%gcc"  --spack-config-dir="uberenv/spack_configs/nersc/cori/"

How to build on Theta with gcc:

module load cce (for some reason the cray modules behave poorly https://github.com/spack/spack/issues/3153)
module load craype/2.5.15
#build your own cmake/3.9.6
export CRAYPE_LINK_TYPE=dynamic

Clone this wiki locally