Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cineca-leonardo/compile-cpu.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#TBD
#!/bin/bash

module load hdf5/1.14.3--intel-oneapi-mpi--2021.10.0--oneapi--2023.2.0 intel-oneapi-compilers
make clean
make ascot5_main -j 8 MPI=1 FLAGS="-lhdf5_hl -vecabi=cmdtarget -qno-openmp-offload -diag-disable 3180,10441,10006"
3 changes: 3 additions & 0 deletions csc-mahti/compile-cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Make the following change in the Makefile first
# - CFLAGS += -shlib
# + CFLAGS += -shared
#
# With the above change the code compiles but will segfault when running.
# Instead, comment out the above line.
module purge
module load aocc mpich hdf5/1.10.7-mpi
make clean
Expand Down
1 change: 1 addition & 0 deletions csc-mahti/submit-cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module load aocc mpich hdf5/1.10.7-mpi

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export FOR_PRINT=$SLURM_JOB_ID.stdout
export HDF5_USE_FILE_LOCKING=FALSE

echo Job name $SLURM_JOB_NAME
echo Job id $SLURM_JOB_ID
Expand Down
1 change: 1 addition & 0 deletions csc-mahti/submit-gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
module load .unsupported nvhpc/22.3

export FOR_PRINT=$SLURM_JOB_ID.stdout
export HDF5_USE_FILE_LOCKING=FALSE #Untested for gpu but this was needed for cpu

echo Job name $SLURM_JOB_NAME
echo Job id $SLURM_JOB_ID
Expand Down