Closed farhi closed 6 years ago
Octopus seems also a good choice. Get binaries at http://octopus-code.org/wiki/Manual:Installation#Binaries
Support for Octopus is fully functional:
Ubuntu package: http://octopus-code.org/wiki/Octopus_5.0.1 (current, linked with MPI and OpenMP)
Test in ASE:
Octopus only supports pure orthorombic structures: fcc structure are not handled as well, (a,b,c) matrix is not diagonal.
**************************** FATAL ERROR *****************************
*** Fatal Error (description follows)
*--------------------------------------------------------------------
* Non-orthogonal cells support not implemented.
Siesta can also be considered:
Octopus 5 not supported by ASE. Octopus 6.0 compilation:
Will consider not do:
Siesta easy to install:
build serial.
To build with MPI, use:
Then get pseudo potentials (LDA/GGA-TM and LDA/GGA-FHI available).
Siesta pseudo potentials Obtained using NNIN/C Pseudopotential Virtual Vault
Command used to retrieve:
wget -r -l1 --no-parent -A "*.psf" http://nninc.cnf.cornell.edu/psp_files/
These are TM potentials. No (semi core, relativistic, nonlinear)
Could also get psf files from: Abinit FHI conversion
Could try out turbomole which has an ASE calculator:
has a demo license for testing.
CP2K example with ASE
which is:
$ export ASE_CP2K_COMMAND="mpirun -n 2 cp2k_shell.popt"
$ python
>>> from ase.calculators.cp2k import CP2K
>>> from ase.build import molecule
>>> calc = CP2K()
>>> atoms = molecule('H2O', calculator=calc)
>>> atoms.center(vacuum=2.0)
>>> print(atoms.get_potential_energy())
-467.191035845
But fails with:
>>> calc = CP2K()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/ase/calculators/cp2k.py", line 170, in __init__
self._shell = Cp2kShell(self.command, self._debug)
File "/usr/local/lib/python2.7/dist-packages/ase/calculators/cp2k.py", line 436, in __init__
assert self.recv() == '* READY'
AssertionError
Requires fixing as MR.
Can also look at:
https://trac.fysik.dtu.dk/projects/ase/browser/trunk/ase/test/cp2k
The CP2K works mostly, but the pseudo basis sems to be updated:
the example ends with CP2K error:
*********************************************************************
*** ERROR in read_gth_potential (MODULE external_potential_types) ***
*********************************************************************
*** The requested atomic potential <GTH-LDA> for element <H> was not ***
*** found in the potential file <POTENTIAL> ***
CP2K is now version 4.1. Ubuntu 16.04 provides 2.6 (from 2015). ASE requires version 3 or newer.
CP2K 4 easy to install. Has a dependency solver (install in tools/toolchain). If works, could make a Debian package ??
Transferred into one issue per Calculator
ASE/CP2K requires 'cp2k_shell' to be found in the CP2K.command see https://wiki.fysik.dtu.dk/ase/ase/calculators/cp2k.html
The cp2k_shall is not part of the Debian packages. Must compile CP2K and create Debian package if this is a route to follow.