Skip to content

Repulsion Fitting in hotbit  #20

@sh-pan

Description

@sh-pan

Hi there,
I am using hotbit for parametrization of Cu-M (where M is another transition metal).
I am able to get the .elm and Slako tables with no repulsion.
However, when I try the fourth step of repulsion fitting, I end up with the following error.

"
Fitting repulsion curve between Cu and Cu

Adding a scalable system ['Cu', 'Cu'] with 1 bonds at R=2.4900.

Appending energy curve data from dimer_curve.traj...
Traceback (most recent call last):
File "CuCu-repfit.py", line 37, in
rep.append_energy_curve(weight=1.0,calc=calc0,traj='dimer_curve.traj',comment='dimer curve')
File "/home/sha/hotbit/hotbit/parametrization/fitting.py", line 554, in append_energy_curve
traj = Trajectory(traj)
File "/home/sha/ase/ase/io/trajectory.py", line 48, in Trajectory
return TrajectoryReader(filename)
File "/home/sha/ase/ase/io/trajectory.py", line 217, in init
self._open(filename)
File "/home/sha/ase/ase/io/trajectory.py", line 222, in _open
self.backend = ulm.open(filename, 'r')
File "/home/sha/ase/ase/io/ulm.py", line 78, in open
return Reader(filename, index or 0)
File "/home/sha/ase/ase/io/ulm.py", line 346, in init
fd = builtins.open(fd, 'rb')
IOError: [Errno 2] No such file or directory: 'dimer_curve.traj'

"
I am not sure what is going wrong. Could someone help me solve this error?

Thanks
Sha

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions