Amp Version 0.6.1 not running with ASE 3.18
I use the latest stable version of AMP (Amp version: 0.6.1). This version runs for me only with the old ASE 3.17 version. When I updated to ASE 3.18 I got this error:
Traceback (most recent call last):
File "first_train_slurm.py", line 12, in <module>
label='calc', cores=24)
File "/home/my-username/anaconda3/envs/2a_okt_2020/lib/python3.6/site-packages/amp/__init__.py", line 92, in __init__
self.cores = cores # Note this calls 'assign_cores'.
File "/home/ my-username/anaconda3/envs/2a_okt_2020/lib/python3.6/site-packages/amp/__init__.py", line 114, in cores
self._parallel['cores'] = assign_cores(cores, log=self._log)
AttributeError: 'Amp' object has no attribute '_log'
I have not tried the newer versions of ASE.
Comments (2)
-
-
To avoid this error, update your __init__.py file in your directory with this:
https://bitbucket.org/andrewpeterson/amp/src/master/amp/__init__.py
- Log in to comment
I am also having this challenge. Same error message