Skip to content

Commit

Permalink
Add an icl platform file, move saturn platform to legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
abouteiller committed Oct 29, 2024
1 parent 42f4773 commit 6d7dedf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions contrib/platforms/icl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# vim: set filetype=sh :
### Defaults for ICL machines
# Main goal is to have `salloc -wxyz ctest` work as intended
# Typical use cases:
# `SLURM_TIMELIMIT=1 salloc -N1 --ntasks-per-node=8 -wleconte ctest`
# `SLURM_TIMELIMIT=1 salloc -N4 --ntasks-per-node=8 -Cgpu_radeonvii ctest -Rdplasma_s`
# `ctest #will srun in individual allocations on random nodes, which is slower`

# Do not set the compiler flags (CC, CXX, FC) and the MPI flags (MPI_DIR)
# CUDA (detected via nvcc), PAPI (detected via papi_avail), HWLOC (detected
# via hwloc-ls) nor the PYTHON_EXECUTABLE

CMAKE_DEFINES+="-DCTEST_MPI_LAUNCHER=\"srun -n\" -DCTEST_SHM_LAUNCHER=\"srun -n1\" -DCTEST_CUDA_LAUNCHER_OPTIONS=-Cgpu_nvidia -DCTEST_HIP_LAUNCHER_OPTIONS=-Cgpu_amd"

File renamed without changes.
2 changes: 1 addition & 1 deletion contrib/platforms/macosx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
# vim: set filetype=sh :

cat <<'EOF'
Note about BLAS on Mac OS X:
Expand Down

0 comments on commit 6d7dedf

Please sign in to comment.