Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kzinovjev committed Feb 1, 2024
1 parent 9b5ca00 commit 5304485
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
> :warning: The current code is incompatible with AmberTools21, so make sure you use
> it with the version 22.
> :warning: A string interpolation bug was introduced in May 2022, but the fix wasn't
> released to the main branch. If you get nonsensical values in the last node in
> `0_final.string`/`0_final_CV.string`, please, reinstall ASM using the current
> version of the code.
> :warning: The current code is incompatible with AmberTools22 or earlier,
> so make sure you use it with the version 23.
# string-amber
Adaptive string method implementation in sander (AmberTools 22.3)
Adaptive string method implementation in sander (AmberTools 23.05) and pmemd
(Amber 22.05)

If you use this software in your work, please cite:
https://doi.org/10.1021/acs.jpca.7b10842

### Installation
Copy all the files from sander/ and lapack/ to the corresponding directories in
`amber20_src/AmberTools/src`. Then set `-DMPI=TRUE` in `amber20_src/build/run_cmake` and
continue with regular AmberTools installation.
`amber22_src/AmberTools/src`. Then set `-DMPI=TRUE` in
`amber22_src/build/run_cmake` and continue with regular AmberTools installation.

To install ASM for pmemd, copy all the files from pmemd/ directory to
`amber22_src/src/pmemd/src` and from there run
```
patch -p1 < ASM_amber_22.05.patch
```

The current files correspond to the version 22.3
of AmberTools. The code *may* work with another subversion, but if you experience
The current files correspond to the version 23.05
of AmberTools and 22.05 of Amber. The code *may* work with another subversion, but if you experience
any problems, check the current version by running
```
./update_amber --version
```
Then, if the version is lower than 22.3, run
Then, if the version is lower than 23.05, run
```
./update_amber --update-to=AmberTools.3
./update_amber --update-to=AmberTools.23.05
```
and if it's newer, downgrade by running
```
./update_amber --revert-to=AmberTools.3
./update_amber --revert-to=AmberTools.23.05
```

A Dockerfile for AmberTools22+ASM installation in a Docker container can be
found [here](docker/Dockerfile). AmberTools22.tar.bz2 file (as obtained from
A Dockerfile for AmberTools23+ASM installation in a Docker container can be
found [here](docker/Dockerfile). AmberTools23.tar.bz2 file (as obtained from
https://ambermd.org/GetAmber.php) must be available in the build context to
build the image.

0 comments on commit 5304485

Please sign in to comment.