|
|
1. Build (approx. 40 mins):
|
|
|
1. Getting an allocation on Cori GPU (e.g. 1 node for 4 hours).
|
|
|
|
|
|
```shell
|
|
|
module load cgpu
|
|
|
export SPINIFEL_TARGET=cgpu
|
|
|
salloc -N 1 -t 4:00:00 -C gpu --gpus=1 -A m1759 -q special --tasks-per-node=10
|
|
|
```
|
|
|
|
|
|
2. Build (approx. 40 mins):
|
|
|
|
|
|
- If you're cloning a new Spinifel repo:
|
|
|
```bash
|
... | ... | @@ -15,7 +23,7 @@ |
|
|
|
|
|
**Note:** the repository uses submodules. Either clone with `--recursive` (as above) or run `git submodule update --init` after cloning. To force a reset of the submodule versions, please run `scripts/reset_submodules.sh`
|
|
|
|
|
|
2. Run interactively:
|
|
|
3. Run interactively:
|
|
|
|
|
|
```shell
|
|
|
module purge
|
... | ... | @@ -24,7 +32,7 @@ |
|
|
srun -n 1 -G 1 python -m spinifel --default-settings=cgpu_quickstart.toml --mode=mpi
|
|
|
```
|
|
|
|
|
|
3. Visualize results saved to out_dir:
|
|
|
4. Visualize results saved to out_dir:
|
|
|
`$SCRATCH/spinifel_output`
|
|
|
Download using:
|
|
|
`scp $USER@cori.nersc.gov:/path/yourfile /local/path/of/your/file`
|
... | ... | |