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

Can I use podman-hpc on other HPC platform? #75

Open
Zihe33Huang opened this issue Jun 21, 2023 · 5 comments
Open

Can I use podman-hpc on other HPC platform? #75

Zihe33Huang opened this issue Jun 21, 2023 · 5 comments

Comments

@Zihe33Huang
Copy link

Hi,

I am trying to install podman-hpc on Archer2, when I run rpmbuild -ba podman-hpc.spec it occured that

RPM build errors:
    File not found: /home/rpmbuild/BUILDROOT/podman-hpc-1.0.2-1.x86_64/usr/lib/python3.6/site-packages/podman_hpc*
@danfulton
Copy link
Member

Thanks for your interest! We have not had the opportunity to test installations at other sites yet, but in principle it should work. Did you run the script rpmsrcprep.sh before running rpmbuild?

If you are running on a SUSE based system, you may also try to install the RPM provided on our release page.

@scanon
Copy link
Member

scanon commented Jun 21, 2023

Is archer2 also a Cray/HPE system?

@Zihe33Huang
Copy link
Author

Yes sir, it is. ref: https://docs.archer2.ac.uk/

@Zihe33Huang
Copy link
Author

Thanks for your interest! We have not had the opportunity to test installations at other sites yet, but in principle it should work. Did you run the script rpmsrcprep.sh before running rpmbuild?

If you are running on a SUSE based system, you may also try to install the RPM provided on our release page.

Yes, I followed the site installation instructions in README.md, could this be related to my system settings, like module load or something? because when this error occurs,

RPM build errors:
    File not found: /home/rpmbuild/BUILDROOT/podman-hpc-1.0.2-1.x86_64/usr/lib/python3.6/site-packages/podman_hpc*

the actual path is like "/usr/lib/python3.10/" rather than "python3.6".

@danfulton
Copy link
Member

the actual path is like "/usr/lib/python3.10/" rather than "python3.6".

I believe that path is determined by the rpmbuild variable %{python3_sitelib} in the rpm spec file. What does that evaluate to on Archer 2? On Perlmutter it looks like:

perlmutter> rpmbuild --eval "%{python3_sitelib}"
/usr/lib/python3.6/site-packages

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

3 participants