User Tools

Site Tools


tools:ase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tools:ase [2015/09/17 07:08] oschuetttools:ase [2017/03/03 16:33] oschuett
Line 7: Line 7:
  
 =====Appetizing Example===== =====Appetizing Example=====
-The ASE provides a very convenient, high level interface to CP2K. It bring about the renown [[w>Python_(programming_language)|Pythonic]] productivity.Running a CP2K calculation can be as easy as this:+The ASE provides a very convenient, high level interface to CP2K. It bring about the renown [[w>Python_(programming_language)|Pythonic]] productivity. Running a CP2K calculation can be as easy as this:
 <code bash> <code bash>
 $ export ASE_CP2K_COMMAND="mpirun -n 2 cp2k_shell.popt" $ export ASE_CP2K_COMMAND="mpirun -n 2 cp2k_shell.popt"
 $ python $ python
 >>> from ase.calculators.cp2k import CP2K >>> from ase.calculators.cp2k import CP2K
->>> from ase.structure import molecule+>>> from ase.build import molecule
 >>> calc = CP2K() >>> calc = CP2K()
 >>> atoms = molecule('H2O', calculator=calc) >>> atoms = molecule('H2O', calculator=calc)
tools/ase.txt · Last modified: 2021/01/19 11:49 by oschuett