Skip to content

Commit

Permalink
Update autoneb_run.py
Browse files Browse the repository at this point in the history
add a write barrier
  • Loading branch information
QuantumMisaka committed Nov 26, 2023
1 parent fe5a2f1 commit ce26e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neb/autoneb_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def run(self, optimizer=FIRE, fmax=0.05, climb=True, smooth_curve=False):
for num, image in enumerate(running_chain):
index = f"{num:03d}"
write(f"{self.prefix}{index}.traj", image, format="traj")
world.barrier()
autoneb = AutoNEB(self.attach_calculators, self.prefix, self.n_simul,
self.n_max, fmax=fmax, climb=climb, k = self.k,
method=self.algorism, parallel=self.parallel,
Expand Down

0 comments on commit ce26e4b

Please sign in to comment.