Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed of psi4 1.9.1 due to qcengine #450

Open
topazus opened this issue Sep 3, 2024 · 0 comments
Open

Build failed of psi4 1.9.1 due to qcengine #450

topazus opened this issue Sep 3, 2024 · 0 comments

Comments

@topazus
Copy link

topazus commented Sep 3, 2024

Describe the bug

Quoted from https://bugzilla.redhat.com/show_bug.cgi?id=2309462

I am trying to update psi4 to version 1.9.1. The problem is that the tests fail due to qcengine:

File "/builddir/build/BUILD/psi4-1.9.1-build/psi4-1.9.1/redhat-linux-build/stage/bin/psi4", line 387, in
exec(content)
~~~~^^^^^^^^^
File "", line 46, in
File "/builddir/build/BUILD/psi4-1.9.1-build/psi4-1.9.1/redhat-linux-build/stage/lib64/python3.13/site-packages/psi4/driver/driver.py", line 463, > in energy
plan.compute()
~~~~~~~~~~~~^^
File "/builddir/build/BUILD/psi4-1.9.1-build/psi4-1.9.1/redhat-linux-build/stage/lib64/python3.13/site-packages/psi4/driver/driver_nbody.py", line > 1020, in compute
t.compute(client=client)
~~~~~~~~~^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/psi4-1.9.1-build/psi4-1.9.1/redhat-linux-build/stage/lib64/python3.13/site-packages/psi4/driver/task_base.py", line > 179, in compute
self.result = qcng.compute(
~~~~~~~~~~~~^
self.plan(),
^^^^^^^^^^^^
...<8 lines>...
},
^^
)
^
File "/usr/lib/python3.13/site-packages/qcengine/compute.py", line 79, in compute
executor = get_program(program)
File "/usr/lib/python3.13/site-packages/qcengine/programs/base.py", line 81, in get_program
ret.found(raise_error=True)
~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/qcengine/programs/psi4.py", line 76, in found
with popen(["python", "-c", "import psi4; print(psi4.executable)"]) as exc:
exc["proc"].wait(timeout=30)
File "/usr/lib64/python3.13/contextlib.py", line 141, in enter
return next(self.gen)
File "/usr/lib/python3.13/site-packages/qcengine/util.py", line 307, in popen
ret = {"proc": subprocess.Popen(args, **popen_kwargs)}
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 1036, in init
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 1966, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python'

qcengine should not try to call python; the call should be to python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant