NERSC / podman-hpc

Other
35 stars 7 forks source link

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

Open Zihe33Huang opened 1 year ago

Zihe33Huang commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Is archer2 also a Cray/HPE system?

Zihe33Huang commented 1 year ago

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

Zihe33Huang commented 1 year ago

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 commented 1 year ago

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