Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise RuntimeError("Failed to retrieve any thermo_style-output") #360

Open
YukeLi-chem opened this issue Jul 2, 2023 · 3 comments
Open

Comments

@YukeLi-chem
Copy link

YukeLi-chem commented Jul 2, 2023

No description provided.

@YuuuXie
Copy link
Collaborator

YuuuXie commented Jul 7, 2023

Hi @YukeLi-chem , this might be a result from ase parser's failure to read the lammps log file from the latest lammps version. What you can do is to revise ase's parser code. We have been using the bash commands as below:

ase_file="$(dirname $(python3 -c 'import ase; print(ase.__file__)'))/calculators/lammpsrun.py"
sed -i 's/line.startswith(_custom_thermo_mark)/line.strip\(\).startswith\("Step"\)/g' $ase_file

@Teng-Martin-Ma
Copy link

Hi @YukeLi-chem , this might be a result from ase parser's failure to read the lammps log file from the latest lammps version. What you can do is to revise ase's parser code. We have been using the bash commands as below:

ase_file="$(dirname $(python3 -c 'import ase; print(ase.__file__)'))/calculators/lammpsrun.py"
sed -i 's/line.startswith(_custom_thermo_mark)/line.strip\(\).startswith\("Step"\)/g' $ase_file

This solution exactly works and no retrivement issue anymore. However, the check_mgp_match will assert error due to the large forces discrepancy between gp and lammps.

@YuuuXie
Copy link
Collaborator

YuuuXie commented Jul 11, 2023

Hi @Teng-Martin-Ma, here are a few suggestions you could try:

  1. do not use restart or warm start, try a fresh start with all previous output files deleted.
  2. set export OMP_NUM_THREADS=<number_of_cpus_on_a_single_node> (from @YukeLi-chem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants