-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: use poetry for python dependencies #72
Conversation
Just curious, is it not possible to handle this through spack alone? Also is this just for pyvista https://packages.spack.io/package.html?name=py-pyvistaqt ? |
Yes, Spack can be used to install python packages. Looks like they have it https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/py-pyvista/package.py but I think there always be a lag between what Spack has and the releases in pypi https://pypi.org/project/pyvista/ |
We can request a version update or I can add myself as a maintainer for that spack package. It usually requires a small update like spack/spack#41246 to have the version update if we require the most latest version. |
We can certainly consider Spack as a package manager for python... But I think for now a more pressing issue is that pyvista does not work on our GPU machine. Here I created an issue: #76 |
@plexoos so installing "poetry" and its paraphernalia is just another attempt to display pyvista on your Mac? |
No |
It's for non-Mac user like you |
314c755
to
9d09f5f
Compare
I think the major python packages are available through spack. I am tempted to branch of beta and see how well that works instead of adding poetry as a separate dependency management tool. https://packages.spack.io/package.html?name=py-ipython |
I don't have enough experience with Spack managing python packages, and I don't know how it deals with virtual environments... Poetry has no problem detecting an existing venv by conda or pip, or create a new one, and all of this pretty much automatically. Anyway, here is how I suggest to test the current PR to see if the results can be visualized:
|
Do I need to grab the .toml file separately or set another environment variable?
|
Anyways. I figured it out. It just doesn't know where the .toml file is automatically. I have to launch it from the right folder or have it in path. |
Is this the error you get now? I guess we will just need to modify the plotting script so that it doesn't try to launch the headless window with xfvb which is not in our system. |
@rahmans1 If the host npps0 is not running the X server, we need to make it do so. Can you do it? |
Sakib, please use the updated esi-shell from this pr
…On Fri, May 24, 2024, 2:15 PM Maxim Potekhin ***@***.***> wrote:
@rahmans1 <https://github.com/rahmans1> If the host npps0 is not running
the X server, we need to make it do so. Can you do it?
—
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGF6F7ZUE2VGQR77476UJDZD57TVAVCNFSM6AAAAABHY37CJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGEYTMNZWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
[rahmans@npps0 ~]$ startx /usr/libexec/Xorg.wrap: Only console users are allowed to run the X server xinit: giving up |
I started with './esi-shell -v PR-72'. Is there something else that I am missing? |
Please download the updated
|
I get the same error after getting the updated esi-shell script |
You reported two errors. The updated The second one about "This system does not appear to be running an xserver ... " is because you are running remotely and X windows cannot be opened locally. If you have a direct access to a GPU machine (NVidia of course) with X11, this error should not appear. Unfortunately, I don't have such machine to test but that is what I expect. Maxim @buddhasystem it seems like you have a local NVidia GPU. Could you try the test I suggested above to see if we get any visuals from it? |
bb2d1d1
to
e379ba6
Compare
No description provided.