You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are some issues reported which I try to run the example (VASP version).
Input files: all the example file you supplied except
[solver]
type = 'vasp'
path = '/usr/bin/vasp_std'
base_input_dir = '/home/wangtairan/download/abICS-master/examples/standard/spinel/baseinput'
perturb = 0.1
Output:
Traceback (most recent call last):
File "_mt19937.pyx", line 178, in numpy.random._mt19937.MT19937._legacy_seeding
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/abics", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/abics/scripts/main.py", line 139, in main
main_impl(tomlfile)
File "/usr/local/lib/python3.6/dist-packages/abics/scripts/main.py", line 50, in main_impl
comm = RX_MPI_init(rxparams)
File "/usr/local/lib/python3.6/dist-packages/abics/mc_mpi.py", line 143, in RX_MPI_init
rand.seed(rand_seeds[worldrank])
File "mtrand.pyx", line 244, in numpy.random.mtrand.RandomState.seed
File "_mt19937.pyx", line 166, in numpy.random._mt19937.MT19937._legacy_seeding
File "_mt19937.pyx", line 186, in numpy.random._mt19937.MT19937._legacy_seeding
TypeError: Cannot cast array from dtype('float64') to dtype('int64') according to the rule 'safe'
Thank you guys!
The text was updated successfully, but these errors were encountered:
A workaround on the old version (master branch) is to specify a random number seed. For example:
[replica]
seed=12345
Also, the VASP version won't run correctly without a patch to VASP (we're asking VASP folks if we can distribute it). In the meanwhile, maybe you can try out the QE version?
Hi, guys
Here are some issues reported which I try to run the example (VASP version).
Input files: all the example file you supplied except
[solver]
type = 'vasp'
path = '/usr/bin/vasp_std'
base_input_dir = '/home/wangtairan/download/abICS-master/examples/standard/spinel/baseinput'
perturb = 0.1
Output:
Traceback (most recent call last):
File "_mt19937.pyx", line 178, in numpy.random._mt19937.MT19937._legacy_seeding
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/abics", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/abics/scripts/main.py", line 139, in main
main_impl(tomlfile)
File "/usr/local/lib/python3.6/dist-packages/abics/scripts/main.py", line 50, in main_impl
comm = RX_MPI_init(rxparams)
File "/usr/local/lib/python3.6/dist-packages/abics/mc_mpi.py", line 143, in RX_MPI_init
rand.seed(rand_seeds[worldrank])
File "mtrand.pyx", line 244, in numpy.random.mtrand.RandomState.seed
File "_mt19937.pyx", line 166, in numpy.random._mt19937.MT19937._legacy_seeding
File "_mt19937.pyx", line 186, in numpy.random._mt19937.MT19937._legacy_seeding
TypeError: Cannot cast array from dtype('float64') to dtype('int64') according to the rule 'safe'
Thank you guys!
The text was updated successfully, but these errors were encountered: