mirror of
https://github.com/smyalygames/FiniteVolumeGPU_HIP.git
synced 2025-05-18 14:34:12 +02:00
Update README.md: install rocm with easybuild
This commit is contained in:
parent
4df5e5853f
commit
31bf80c6f0
20
README.md
20
README.md
@ -1,25 +1,31 @@
|
|||||||
# FiniteVolumeGPU
|
# FiniteVolumeGPU
|
||||||
|
|
||||||
This is a HIP version of the [FiniteVolume code](https://github.com/babrodtk/FiniteVolumeGPU) (work in progress). It is a Python software package that implements several finite volume discretizations on Cartesian grids for the shallow water equations and the Euler equations.
|
This is a HIP version of the [FiniteVolume code](https://github.com/babrodtk/FiniteVolumeGPU). 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
|
## Setup on LUMI-G
|
||||||
Here is a step-by-step guide on installing packages on LUMI-G
|
Here is a step-by-step guide on installing packages on LUMI-G
|
||||||
|
|
||||||
### Step 0: load modules
|
### Step 1: Install rocm-5.2.5 with Easybuild
|
||||||
```
|
```
|
||||||
ml LUMI/23.03 partition/G
|
export EBU_USER_PREFIX=/project/project_xxxxxx/EasyBuild
|
||||||
ml lumi-container-wrapper
|
ml LUMI/24.03 partition/G
|
||||||
ml cray-python/3.9.13.1
|
ml EasyBuild-user
|
||||||
|
export PYTHONIOENCODING=utf-8
|
||||||
|
eb rocm-5.2.5.eb -r
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 1: run conda-container
|
### Step 2: run conda-container
|
||||||
Installation via conda can be done as:
|
Installation via conda can be done as:
|
||||||
```
|
```
|
||||||
|
ml LUMI/24.03 partition/G
|
||||||
|
ml lumi-container-wrapper/0.3.3-cray-python-3.11.7
|
||||||
|
```
|
||||||
|
```
|
||||||
conda-containerize new --prefix MyCondaEnv conda_environment_lumi.yml
|
conda-containerize new --prefix MyCondaEnv conda_environment_lumi.yml
|
||||||
```
|
```
|
||||||
where the file `conda_environment_lumi.yml` contains packages to be installed.
|
where the file `conda_environment_lumi.yml` contains packages to be installed.
|
||||||
|
|
||||||
### Step 2: Set the env. variable to search for binaries
|
### Step 3: Set the env. variable to search for binaries
|
||||||
```
|
```
|
||||||
export the bin path: export PATH="$PWD/MyCondaEnv/bin:$PATH"
|
export the bin path: export PATH="$PWD/MyCondaEnv/bin:$PATH"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user