mirror of
https://github.com/smyalygames/FiniteVolumeGPU_HIP.git
synced 2025-05-18 06:24:11 +02:00
1.4 KiB
1.4 KiB
FiniteVolumeGPU
This is a HIP version of the FiniteVolume code. It is a Python software package that implements several finite volume discretizations on Cartesian grids for the shallow water equations and the Euler equations.
Setup on LUMI-G
Here is a step-by-step guide on installing packages on LUMI-G
Step 1: run conda-container
Installation via conda can be done as:
ml LUMI/24.03 partition/G
ml lumi-container-wrapper
conda-containerize new --prefix MyCondaEnv conda_environment_lumi.yml
where the file conda_environment_lumi.yml
contains packages to be installed.
Step 1 alternative: Convert to a singularity container with cotainr
cotainr build my_container.sif --system=lumi-g --conda-env=conda_environment_lumi.yml
Step 2: Modify Slurm Job file
Update the contents of Jobs/job_lumi.slurm
(link) to match your project allocation,
and the directories of where the simulator and Conda container is stored.
Step 3: Run the Slurm Job
sbatch Jobs/job_lumi.slurm
Troubleshooting
Error when running MPI.
`MPI startup(): PMI server not found. Please set I_MPI_PMI_LIBRARY variable if it is not a singleton case.
This can be resolved by exporting this:
export I_MPI_PMI_LIBRARY=/opt/cray/pe/mpich/8.1.29/ofi/cray/17.0/lib/libmpi.so