Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit c139d1ea authored by sadr_m's avatar sadr_m
Browse files

Update README.md, add job scripts

parent 53017d0d
No related branches found
No related tags found
No related merge requests found
......@@ -80,4 +80,46 @@ and release (optimized) mode:
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DIPPL_PLATFORMS=CUDA -DKokkos_ARCH_PASCAL61=ON -DCMAKE_CXX_STANDARD=20 -DENABLE_FFT=ON -DENABLE_SOLVERS=ON
```
### Submitting jobs on Gwendolen and Merlin GPUs
To execute opal-x on merlin's gpus (compile for PASCAL61), the job script should looks like
```
#!/bin/bash
#SBATCH --error=merlin.error
#SBATCH --output=merlin.out
#SBATCH --time=00:10:00
#SBATCH --nodes=1
#SBATCH --ntasks=2
#SBATCH --cluster=gmerlin6
#SBATCH --partition=gpu-short
#SBATCH --account=merlin
##SBATCH --exclusive
#SBATCH --gpus=2
#SBATCH --nodelist=merlin-g-001
##unlink core
ulimit -c unlimited
srun ./opalx DriftTest-1.in --info 10 --kokkos-map-device-id-by=mpi_rank
```
and for Gwendolen (compile for AMPERE80)
```
#!/bin/bash
#SBATCH --error=gwendolen.error
#SBATCH --output=gwendolen.out
#SBATCH --time=00:02:00
#SBATCH --nodes=1
#SBATCH --ntasks=2
#SBATCH --clusters=gmerlin6
#SBATCH --partition=gwendolen # Mandatory, as gwendolen is not the default partition
#SBATCH --account=gwendolen # Mandatory, as gwendolen is not the default account
##SBATCH --exclusive
#SBATCH --gpus=2
##unlink core
ulimit -c unlimited
srun ./opalx DriftTest-1.in --info 10 --kokkos-map-device-id-by=mpi_rank
```
The documentation has been moved to the [Wiki](https://gitlab.psi.ch/OPAL/src/wikis/home).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment