-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added SYCL and Aurora support (#1398)
Co-authored-by: Victor Mateevitsi <[email protected]>
- Loading branch information
Showing
3 changed files
with
82 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -l | ||
|
||
export IGC_FunctionCloningThreshold=1 | ||
export IGC_ControlInlineTinySize=100 | ||
export IGC_OCLInlineThreshold=200 | ||
export IGC_PartitionUnit=1 | ||
export IGC_ForceOCLSIMDWidth=16 | ||
export ZE_AFFINITY_MASK=0.0 | ||
|
||
# Proxies | ||
export HTTP_PROXY=http://proxy.alcf.anl.gov:3128 | ||
export HTTPS_PROXY=http://proxy.alcf.anl.gov:3128 | ||
export http_proxy=http://proxy.alcf.anl.gov:3128 | ||
export https_proxy=http://proxy.alcf.anl.gov:3128 | ||
|
||
module reset | ||
module use /soft/modulefiles | ||
module load spack-pe-gcc cmake | ||
module load oneapi/eng-compiler/2023.12.15.002 | ||
|
||
env enable_sycl=ON enable_mpi=ON enable_fortran=ON raja_enable_vectorization=OFF enable_tests=ON enable_verbose=ON ./build_ascent_sycl.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
############################################################################## | ||
# Demonstrates how to manually build Ascent and its dependencies, including: | ||
# | ||
# hdf5, conduit, vtk-m, mfem, raja, and umpire | ||
# | ||
# usage example: | ||
# env enable_mpi=ON enable_openmp=ON ./build_ascent.sh | ||
# | ||
# | ||
# Assumes: | ||
# - cmake is in your path | ||
# - selected compilers are in your path or set via env vars | ||
# - [when enabled] MPI and Python (+numpy and mpi4py), are in your path | ||
# | ||
############################################################################## | ||
set -eu -o pipefail | ||
|
||
# 2024-02-08 SYCL support is handled by our unified script | ||
env enable_sycl=ON ./build_ascent.sh |