Giter VIP home page Giter VIP logo

Comments (5)

baumeier avatar baumeier commented on June 24, 2024

@NicoRenaud

from votca.

NicoRenaud avatar NicoRenaud commented on June 24, 2024

Hey Bjoern, I can’t reproduce the issue on my laptop. Can you paste the command you used ? It might also be because of a different Python version or the version of the dependencies. Can you specify which Python version you use and the version of lxml and xml2dict ? Thanks !

from votca.

baumeier avatar baumeier commented on June 24, 2024
# Set up a water molecule
from ase.build import molecule
co = molecule('CO')
co.rattle()

# Set up a XTP calculator
from pyxtp import xtp

# change options for the calculations
calc = xtp()
calc.options.dftpackage.functional = 'XC_HYB_GGA_XC_PBEH'
calc.options.dftpackage.basisset = 'def2-svp'
calc.options.dftpackage.auxbasisset = 'aux-def2-svp'
calc.options.logging_file = 'crap.log'

# specify the wich forces we want to use
calc.select_force(energy='singlets', level=0, dynamic=False)

# attach the calculator
co.calc = calc

# compute the energy terms
from ase.optimize import QuasiNewton
from ase.io import write
dyn = QuasiNewton(co, trajectory='test.traj')
dyn.run(fmax=0.01)
write('final.xyz', atoms)

and then just

python3 opt.py
  • python version 3.11.3
  • lxml version 4.9.2
  • xmltodict version 0.13.0

from votca.

NicoRenaud avatar NicoRenaud commented on June 24, 2024

Thanks ! I get the same output now. I'll look into it asap and make a PR

from votca.

baumeier avatar baumeier commented on June 24, 2024

fixed in #1074

from votca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.