We're setting up spack on our machine, to be used by multiple people (some/most of which will not be in sudo), but all of us are new to spack. Spack is installed at root level so users cannot modify the installed software at will.
Part of the appeal…
I am very new to this. I am trying to install PISM on my computer using spack.
I get the following error:
(base) MacBook-Pro-143:~ samchester$ spack install pism ^petsc~metis~hdf5~hypre~superlu-dist
==> Bootstrapping clingo from pre-built…
I am trying to install gcc version 12.2.0 (as super user $ sudo su) using SPACK $ spack install gcc@12.2.0. Nothing happend but the following error message: ==> Error: Package 'apple-gl' not found
How can I update or obtain this "apple-gl"…
I am trying to install Spack on an HPC by following the tutorial:
Installing Spack
I can clone it from GitHub, but when I try to load the environment by inputting:
. share/spack/setup-env.sh
I get the error below (sorry for the poor formatting). I…
I would like to load a module from within a python script. I am using a custom manager called spack which has a spack load functionality that is similar to the regular module load command on linux. I have tried using both os and…
I'm trying to install packages with Spack following the instruction on how to install OpenMPI.
When I install packages like xpmem, I get a first error saying ERROR: Kernel configuration is invalid. Later in the output I get compilation errors like…
I want to use spack to install various packages and compile on a supercomputer that for all intents and purposes, doesn't have direct access to the internet. I can send files to this machine, like the spack repository or package archive but from the…
Suppose I am in my_env:
spack activate my_env
Also suppose that I have external packages, e.g. a system-installed openmpi.
And then I generate filesystem views:
spack env view regenerate
Then I get this warning:
Skipping external package:…
I am trying to install hpctoolkit using spack. In order to do that, I executed :
git clone https://github.com/spack/spack.git
cd spack/share/spack
source setup-env.sh
spack fetch -D hpctoolkit
spack install hpctoolkit
I can't execute the last…
AttributeError: 'str' object has no attribute 'build_system_class'
I am getting this error when attempting to run this code. Does anyone know what is wrong?
import spack.cmd.info
import sys
pkg = sys.argv[1]
spack.cmd.info.print_text_info(pkg)
With spack, I am trying to install a package using a previous install of openmpi@3.1.5.
And I get the following error during concretization:
Error: trying to set variant "wrapper-rpath" in package "openmpi", but the package has no such variant…
The macOS Terminal has a nice "mark" feature that allows you to jump between prompts using Cmd+Up/Down. I'm trying to insert my own "marks" from inside of a Python script so that I can jump to specific parts of the output (example).
Thanks to Armin…