Skip to content

Commit 1b65ab9

Browse files
committed
new tests
1 parent 26fe9f7 commit 1b65ab9

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

imdclient/tests/hpc_testing/lammps/lammps.md

+18
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,22 @@ pytest -s ../../test_manual.py \
4444
--topol_arg topology_after_min.data \
4545
--traj_arg lammps_trj.h5md \
4646
--first_frame_arg 1
47+
```
48+
49+
```bash
50+
./lmp < /Users/ljwoods2/workspace/imdclient/imdclient/tests/hpc_testing/lammps/lammps_v3.in
51+
52+
```
53+
54+
55+
```bash
56+
module load mamba
57+
# Environment containing IMDClient
58+
source activate imdclient-test
59+
60+
pytest -s imdclient/tests/test_manual.py \
61+
--topol_path_arg imdclient/tests/hpc_testing/topology_after_min.data \
62+
--traj_path_arg imdclient/tests/hpc_testing/ \
63+
--first_frame_arg <first traj frame to compare to IMD>
64+
4765
```

imdclient/tests/hpc_testing/lammps/lammps_v3_imd.in imdclient/tests/hpc_testing/lammps/lammps_v3.in

+6
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,19 @@ velocity all create 300 102939 dist gaussian mom yes rot yes
4242
# this is equlibration process.
4343
fix 1 all nve
4444

45+
## H5MD settings
46+
dump h5md1 all h5md 1 lammps_trj.h5md position velocity force box yes
47+
dump_modify h5md1 unwrap no
48+
4549
## IMD settings
4650
# https://docs.lammps.org/fix_imd.html
4751
fix 2 all imd 8888 version 3 unwrap off nowait off
4852

4953
## Run MD sim
5054
run 100
5155

56+
undump h5md1
57+
5258
# Unfix the NVE. Additional lines if any will assume that this fix is off.
5359
unfix 1
5460

0 commit comments

Comments
 (0)