Greg,
The location /soft is destined for system wide install which is limited to admins.
If you would like to install Spack packages yourself, you can do so by setting up a Spack tree configured for your home folder.
To use JLSE supported packages or otherwise, you can do so via modules.
Example: https://wiki.jlse.anl.gov/display/inteldga/A21+SDK+Software
--
Servesh
From:
Ecp-aurora-sdk-discuss <ecp-aurora-sdk-discuss-bounces@lists.jlse.anl.gov>
Date: Wednesday, November 18, 2020 at 1:32 PM
To: ecp-aurora-sdk-discuss@jlse.anl.gov <ecp-aurora-sdk-discuss@jlse.anl.gov>
Subject: [Ecp-aurora-sdk-discuss] Spack Configuration/Usage Question
Hi Everyone.
I ran into problem trying to run spack yesterday. I added /soft/packaging/spack/bin to my Path, and I was seemingly able to run it. At least “spack list” and “spack list mpi” worked.
But when I ran “spack install openmpi”, I got the following error:
[a603033443@jlselogin2 build]$ spack install openmpi
==> Error: Can't take write lock on read-only file: /soft/packaging/spack/builds/.spack-db/prefix_lock
I contacted Todd Gamblin (who is the author of spack), and he said this error had to do with the way spack was configured in ANL.
Can someone please let me know how I should properly be using spack not to run into this issue on jlselogin2?
Thank you,
Greg
P.S. I heard that there is a Slack channel with good information on Aurora Early Adoption systems. Can someone please point me to it.