Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra authored Sep 2, 2020
1 parent 9f9364d commit 7b229f2
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions nwchem-701.mpipr.nersc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,27 @@ Builds a NWChem 7.0.1 to use sith NERSC shifter binary using all modules and AR
### Build Instructions

The file Dockerfile can be used by tying the command

```
docker build -t nwchem-701.mpipr.nersc .

```

### Examples

The following command will run NWChem on 2 processors (since one processors is set aside for communication)

```
docker run --entrypoint='mpirun' -v /home/edo/nwchem/tests:/data nwchem-701.mpipr.nersc -np 2 nwchem /data/bar_lcwpbe

```


The following command will get shell on the Docker container

```
docker run --entrypoint='/bin/bash' -v /home/edo/nwchem/tests:/data -it nwchem-701.mpipr.nersc
```

### How to use on NERSC computers

```
salloc -N2 -A XXYYZZ -t 29:30 -C knl
srun -v -N2 -n 128 shifter -v --image=docker:nwchemorg/nwchem-701.mpipr.nersc nwchem aabbccddeeff.nw
```

0 comments on commit 7b229f2

Please sign in to comment.