|
|
1. For first-time setup you'll need to generate a personal access token (PAT) for git. See https://gitlab.osti.gov/mtip/notes to configure git to use PATs:
|
|
|
|
|
|
```bash
|
|
|
git config --global credential.helper 'store --file ~/.my-credentials'
|
|
|
```
|
|
|
|
|
|
**Note:** the default version of Git on Summit is pretty old, we recommend that you run `module load git`. Failure to do so might result in unusual behavior around submodules (cf not in pt 2 below) and Git LFS
|
|
|
|
|
|
2. Build (approx. 40 mins):
|
|
|
|
|
|
```bash
|
|
|
git clone --recursive http://gitlab.osti.gov/mtip/spinifel.git
|
|
|
cd spinifel
|
|
|
./setup/build_from_scratch.sh
|
|
|
```
|
|
|
|
|
|
**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/update_submodules.sh`
|
|
|
|
|
|
3. Run interactively:
|
|
|
|
|
|
```bash
|
|
|
source ./setup/env.sh
|
|
|
bsub -W 1:00 -nnodes 1 -alloc_flags gpumps -P CHM137 -Is /bin/bash
|
|
|
jsrun -n1 -a1 -g1 python -m spinifel --default-settings=summit_quickstart.toml --mode=mpi
|
|
|
```
|
|
|
|
|
|
4. Visualize results saved to out_dir:
|
|
|
`/gpfs/alpine/proj-shared/chm137/\<username\>/spinifel_output`
|
|
|
Download using:
|
|
|
`scp $USER@dtn.ccs.ornl.gov:/path/yourfile /local/path/of/your/file` |