forked from EinsteinToolkit/CarpetX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EinsteinToolkit#291 from EinsteinToolkit/eschnett/…
…ubuntu-oneapi CI: Update scripts and settings
- Loading branch information
Showing
16 changed files
with
271 additions
and
25 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
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
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
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
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
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,102 @@ | ||
# Option list for the Einstein Toolkit | ||
|
||
# The "weird" options here should probably be made the default in the | ||
# ET instead of being set here. | ||
|
||
# Whenever this version string changes, the application is configured | ||
# and rebuilt from scratch | ||
VERSION = actions-oneapi-real64-2023-04-11 | ||
|
||
CPP = cpp | ||
CC = /opt/intel/oneapi/compiler/2024.1/bin/icx | ||
CXX = /opt/intel/oneapi/compiler/2024.1/bin/icpx | ||
FPP = cpp | ||
FC = gfortran | ||
F90 = gfortran | ||
LD = /opt/intel/oneapi/compiler/2024.1/bin/icpx | ||
|
||
CPPFLAGS = -DSIMD_CPU | ||
CFLAGS = -fp-model=precise -g -march=x86-64-v3 -pipe -std=gnu11 | ||
CXXFLAGS = -fp-model=precise -fsycl -g -march=x86-64-v3 -pipe -std=c++17 | ||
FPPFLAGS = -traditional | ||
F90FLAGS = -fcray-pointer -ffixed-line-length-none -g -march=x86-64-v3 -pipe | ||
|
||
SYS_INC_DIRS = /opt/intel/oneapi/2024.1/include | ||
LIBDIRS = /usr/local/lib | ||
LIBS = gfortran | ||
|
||
C_LINE_DIRECTIVES = yes | ||
F_LINE_DIRECTIVES = yes | ||
|
||
INTEGER_PRECISION = 4 | ||
REAL_PRECISION = 8 | ||
|
||
# oneAPI does not support these | ||
# DISABLE_INT16 = yes | ||
DISABLE_REAL16 = yes | ||
|
||
DEBUG = no | ||
CPP_DEBUG_FLAGS = -DCARPET_DEBUG | ||
C_DEBUG_FLAGS = -fsanitize=undefined -fstack-protector-all -ftrapv | ||
CXX_DEBUG_FLAGS = -fsanitize=undefined -fstack-protector-all -ftrapv | ||
FPP_DEBUG_FLAGS = -DCARPET_DEBUG | ||
F90_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan -ftrapv | ||
|
||
OPTIMISE = yes | ||
C_OPTIMISE_FLAGS = -O3 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math | ||
CXX_OPTIMISE_FLAGS = -O3 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math | ||
F90_OPTIMISE_FLAGS = -O3 -fcx-limited-range -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math -fno-signaling-nans | ||
|
||
# Clang segfaults with OpenMP enabled | ||
OPENMP = no | ||
CPP_OPENMP_FLAGS = -fopenmp | ||
FPP_OPENMP_FLAGS = -D_OPENMP | ||
F90_OPENMP_FLAGS = -fopenmp | ||
|
||
WARN = yes | ||
CPP_WARN_FLAGS = -Wall | ||
C_WARN_FLAGS = | ||
CXX_WARN_FLAGS = | ||
FPP_WARN_FLAGS = -Wall | ||
F90_WARN_FLAGS = -Wall -Wshadow -Wsurprising | ||
|
||
VECTORISE = no | ||
|
||
ADIOS2_DIR = /usr/local | ||
ADIOS2_LIBS = adios2_cxx11_mpi adios2_cxx11 | ||
AMREX_DIR = /usr/local | ||
# ASDF_CXX_DIR = /usr/local | ||
BLAS_DIR = /usr | ||
BOOST_DIR = /usr | ||
FFTW3_DIR = /usr | ||
GSL_DIR = /usr | ||
HDF5_DIR = /usr/lib/x86_64-linux-gnu/hdf5/serial | ||
HDF5_ENABLE_CXX = yes | ||
HDF5_ENABLE_FORTRAN = yes | ||
HDF5_INC_DIRS = /usr/lib/x86_64-linux-gnu/hdf5/serial/include | ||
HDF5_LIB_DIRS = /usr/lib/x86_64-linux-gnu/hdf5/serial/lib | ||
HDF5_LIBS = hdf5_hl_cpp hdf5_cpp hdf5hl_fortran hdf5_fortran hdf5_hl hdf5 | ||
HWLOC_DIR = /usr | ||
# JEMALLOC_DIR = /usr/local | ||
LAPACK_DIR = /usr | ||
# LIBJPEG_DIR = /usr | ||
# LORENE_DIR = /usr/local | ||
MPI_DIR = /usr | ||
NSIMD_DIR = /usr/local | ||
NSIMD_SIMD = AVX2 | ||
OPENBLAS_DIR = /usr | ||
OPENPMD_API_DIR = /usr/local | ||
# OPENSSL_DIR = /usr | ||
# PAPI_DIR = /usr/local | ||
PETSC_DIR = /usr/lib/petsc | ||
PETSC_LIBS = petsc_real | ||
PETSC_ARCH_LIBS = m | ||
PTHREADS_DIR = NO_BUILD | ||
# REPRIMAND_DIR = /usr/local | ||
# REPRIMAND_LIBS = RePrimAnd | ||
# RNPLETAL_DIR = /usr/local | ||
SILO_DIR = /usr/local | ||
SIMULATIONIO_DIR = /usr/local | ||
SSHT_DIR = /usr/local | ||
YAML_CPP_DIR = /usr/local | ||
ZLIB_DIR = /usr |
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,72 @@ | ||
[actions-oneapi-real64] | ||
|
||
# Machine description | ||
nickname = actions-oneapi-real64 | ||
name = Actions | ||
location = Github | ||
description = Github action for CarpetX CI | ||
webpage = https://github.com/eschnett/CarpetX | ||
status = production | ||
|
||
# Access to this machine | ||
hostname = actions | ||
aliaspattern = ^actions$ | ||
# envsetup = <<EOT | ||
# EOT | ||
|
||
# Source tree management | ||
sourcebasedir = /__w/CarpetX/workspace | ||
optionlist = actions-oneapi-real64.cfg | ||
submitscript = actions-oneapi-real64.sub | ||
runscript = actions-oneapi-real64.run | ||
make = make -j @MAKEJOBS@ | ||
makejobs = 2 | ||
disabled-thorns = <<EOT | ||
# Not needed with oneAPI | ||
ExternalLibraries/NSIMD | ||
# long double exists but does not quite work | ||
CactusTest/TestMath | ||
|
||
ExternalLibraries/BLAS | ||
ExternalLibraries/LAPACK | ||
ExternalLibraries/LORENE | ||
ExternalLibraries/PAPI | ||
EOT | ||
enabled-thorns = <<EOT | ||
ExternalLibraries/OpenBLAS | ||
ExternalLibraries/PETSc | ||
EOT | ||
|
||
# Simulation management | ||
basedir = /__w/CarpetX/workspace/simulations | ||
quota = 10 # don't use all disk space | ||
cpu = Intel Core i9 | ||
cpufreq = 2.4 | ||
flop/cycle = 16 | ||
ppn = 8 | ||
spn = 1 | ||
mpn = 1 | ||
max-num-threads = 16 | ||
num-threads = 8 | ||
max-num-smt = 2 | ||
num-smt = 1 | ||
memory = 32768 | ||
nodes = 1 | ||
min-ppn = 1 # don't want this entry | ||
queue = NOQUEUE # don't want this entry | ||
allocation = NOALLOCATION # don't want this entry | ||
maxwalltime = 8640:00:00 # don't want this entry | ||
# submit = exec @SCRIPTFILE@ </dev/null >/dev/null 2>/dev/null & echo $! | ||
submit = @SCRIPTFILE@ </dev/null >/dev/null 2>/dev/null; true & echo $! | ||
getstatus = ps @JOB_ID@ | ||
stop = kill @JOB_ID@ | ||
submitpattern = (.*) | ||
statuspattern = "^ *@JOB_ID@ " | ||
queuedpattern = $^ | ||
runningpattern = ^ | ||
holdingpattern = $^ | ||
exechost = echo localhost | ||
exechostpattern = (.*) | ||
stdout = cat @[email protected] | ||
stderr = cat @[email protected] | ||
stdout-follow = tail -n 100 -f @[email protected] @[email protected] |
Oops, something went wrong.