SeisSol / easi

A library for the Easy Initialization of model parameters.
https://easyinit.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

No valid version for 'easi' satisfies '@1.2' #44

Closed Jing-Lee-tj closed 10 months ago

Jing-Lee-tj commented 10 months ago

I am trying using spack to compiling the seissol with the command spack install seissol-env ~mpi and I get the error information like this: No valid version for 'easi' satisfies '@1.2'

Then I try to edit the command line in seissol-spack-aid/spack/packages/seissol-env/package.py: depends_on('easi@1.2 +asagi', when="+asagi") to whetherdepends_on('easi@1.2.0 +asagi', when="+asagi") or depends_on('easi +asagi', when="+asagi"),it still do not work.

Jing-Lee-tj commented 10 months ago

The problem seems to be solved, the following options are valid: depends_on('easi@1.1.2 +asagi', when="+asagi")

Thomas-Ulrich commented 10 months ago

Hi, Update your spack.

Le 5 novembre 2023 07:28:11 GMT+01:00, Jing Li @.***> a écrit :

The problem seems to be solved, the following options are valid: @.*** +asagi', when="+asagi")`

-- Reply to this email directly or view it on GitHub: https://github.com/SeisSol/easi/issues/44#issuecomment-1793651265 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

Jing-Lee-tj commented 10 months ago

Hi, after I update my spack to v0.21.0, I could installed the seissol-env correctly. But I could't find py-pspamm package when I try to compile the SeisSol:

root@DESKTOP-TTRCTK2:/opt/SeisSol/build-release# CC=mpicc CXX=mpiCC FC=mpif90 cmake -DCOMMTHREAD=OFF -DNUMA_AWARE_PINNING=ON -DASAGI=ON -DCMAKE_BUILD_TYPE=Release -DHOST_ARCH=hsw -DPRECISION=double -DORDER=4 -DGEMM_TOOLS_LIST=LIBXSMM,PSpaMM ..
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/openmpi-4.1.6-2ebhisniptlomiw6ixgloaf74amvvsvu/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/openmpi-4.1.6-2ebhisniptlomiw6ixgloaf74amvvsvu/bin/mpiCC - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiling SeisSol for CPU
-- GEMM_TOOLS are: LIBXSMM,PSpaMM
-- Memory alignment has been set to 32 B.
-- Vector size has been set to 32 B.
-- Version: v1.1.1-27-g47477bbd
-- Last commit: 47477bbdfba88349af025308269c496950515976 at 2023-11-02T07:32:51+00:00
-- Found Python3: /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/python-3.10.12-igglow7unf4gs533pemifmxzloogmjbg/bin/python3.10 (found version "3.10.12") found components: Interpreter
-- Found Libxsmm_executable: /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/libxsmm-1.17-zb5agxvacnhvremyy2nd3iljwgugrqnv/bin/libxsmm_gemm_generator
CMake Error at /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/cmake-3.27.7-d77nyvnybsph6xkgdkt6qxdfwqjz6zoi/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find PSpaMM (missing: PSpaMM_PROGRAM)
Call Stack (most recent call first):
  /opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/cmake-3.27.7-d77nyvnybsph6xkgdkt6qxdfwqjz6zoi/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindPSpaMM.cmake:24 (find_package_handle_standard_args)
  cmake/FindGemmTools.cmake:49 (find_package)
  CMakeLists.txt:159 (find_package)

I compiled seissol-env with spack@0.21.0 with the comman"spack install seissol-env +python" and I have installed the following packages:

root@DESKTOP-TTRCTK2:/opt/seissol-spack-aid/spack/packages/seissol-env# spack find
-- linux-ubuntu22.04-skylake / gcc@11.4.0 -----------------------
asagi@1.0.1                         libffi@3.4.4       parmetis@4.0.3               py-python-dateutil@2.8.2
autoconf@2.69                       libgit2@1.7.0      pcre@8.45                    py-pythran@0.12.2
automake@1.16.5                     libiconv@1.17      pcre2@10.42                  py-scipy@1.11.3
berkeley-db@18.1.40                 libidn2@2.3.4      perl@5.38.0                  py-semantic-version@2.10.0
binutils@2.41                       libjpeg@9e         pigz@2.7                     py-setuptools@68.0.0
bison@3.8.2                         libmd@1.0.4        pkgconf@1.9.5                py-setuptools-scm@7.1.0
bzip2@1.0.8                         libpciaccess@0.17  pmix@5.0.1                   py-six@1.16.0
ca-certificates-mozilla@2023-05-30  libpng@1.6.39      py-beniget@0.4.1             py-tomli@2.0.1
cmake@3.27.7                        libsigsegv@2.14    py-certifi@2023.7.22         py-typing-extensions@4.8.0
curl@8.4.0                          libssh2@1.11.0     py-cffi@1.15.1               py-wheel@0.41.2
cxxtest@develop                     libtool@2.4.7      py-contourpy@1.0.7           python@3.10.12
diffutils@3.9                       libunistring@1.1   py-cppy@1.2.1                qhull@2020.2
easi@1.2.0                          libxcrypt@4.4.35   py-cycler@0.11.0             re2c@2.2
eigen@3.4.0                         libxml2@2.10.3     py-cython@0.29.36            readline@8.2
environment-modules@5.3.1           libxsmm@1.17       py-flit-core@3.9.0           rust@1.70.0
expat@2.5.0                         m4@1.4.19          py-fonttools@4.39.4          rust-bootstrap@1.70.0
findutils@4.9.0                     memkind@1.13.0     py-gast@0.5.3                seissol-env@develop
freetype@2.11.1                     meson@1.2.2        py-kiwisolver@1.4.5          sqlite@3.43.2
gdbm@1.23                           metis@5.1.0        py-meson-python@0.13.1       tar@1.34
gettext@0.22.3                      nasm@2.15.05       py-numpy@1.26.1              tcl@8.6.12
git@2.42.0                          ncurses@6.4        py-packaging@23.1            util-linux-uuid@2.38.1
gmake@4.4.1                         netcdf-c@4.7.4     py-pillow@10.0.0             util-macros@1.19.3
hdf5@1.12.2                         nghttp2@1.57.0     py-pip@23.1.2                xz@5.4.1
hwloc@2.9.1                         ninja@1.11.1       py-ply@3.11                  yaml-cpp@0.6.2
impalajit@main                      numactl@2.0.14     py-pspamm@develop            zlib-ng@2.1.4
krb5@1.20.1                         openblas@0.3.24    py-pybind11@2.11.0           zstd@1.5.5
libbsd@0.11.7                       openmpi@4.1.6      py-pycparser@2.21
libedit@3.1-20210216                openssh@9.5p1      py-pyparsing@3.0.9
libevent@2.1.12                     openssl@3.1.3      py-pyproject-metadata@0.7.1

I seem to have numpy,scipy and pspamm installed, but it can't find the package of pspamm, I can't find what the reason is. By the way, there is a similar issues which have been mentioned at issues #841.

Thomas-Ulrich commented 10 months ago

which branch of seissol-spack-aid are you using?

Jing-Lee-tj commented 10 months ago

My branch:

root@DESKTOP-TTRCTK2:/opt/seissol-spack-aid# git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   spack/packages/seissol-env/package.py

no changes added to commit (use "git add" and/or "git commit -a")

I commented the lines containing matplotlib and pyopenssl, and unspecified python versions because the error messages did not satisfy version 3.6.0

    depends_on('py-numpy', when='+python')
    depends_on('py-scipy', when='+python')
    #depends_on('py-matplotlib', when='+python')
    depends_on('py-pip', when='+python')
    #depends_on('py-pyopenssl', when='+python')
    depends_on('python', when='+python')
Thomas-Ulrich commented 10 months ago

how do you load seissol-env? with spack load seissol-env?

Jing-Lee-tj commented 10 months ago

Yes, I use the spack load seissol-env.

Thomas-Ulrich commented 10 months ago

It might be that spack load does not add pspamm.py to the path, but only the tcl module. So I suggest creating seissol-env modules with: spack -d module tcl refresh $(spack find -d --format "{name}{/hash:5}" seissol-env) and then module load seissol-env

Thomas-Ulrich commented 10 months ago

There might be a problem with the structure of the pspamm package, I m looking into it.

Thomas-Ulrich commented 10 months ago

should be fixed by https://github.com/SeisSol/PSpaMM/pull/10, which has been merged.

Jing-Lee-tj commented 10 months ago

It might be that spack load does not add pspamm.py to the path, but only the tcl module. So I suggest creating seissol-env modules with: spack -d module tcl refresh $(spack find -d --format "{name}{/hash:5}" seissol-env) and then module load seissol-env

Sorry to bother, is there any steps left to complete between these two? I refresh tcl module and get:

root@DESKTOP-TTRCTK2:/opt/SeisSol/build-release# spack -d module tcl refresh $(spack find -d --format "{name}{/hash:5}" seissol-env)
==> [2023-11-07-12:23:59.716030] Imported module from built-in commands
==> [2023-11-07-12:23:59.719456] Imported module from built-in commands
==> [2023-11-07-12:23:59.731146] Reading config from file /opt/spack/etc/spack/defaults/config.yaml
==> [2023-11-07-12:23:59.749055] DATABASE LOCK TIMEOUT: 60s
==> [2023-11-07-12:23:59.749143] PACKAGE LOCK TIMEOUT: No timeout
==> [2023-11-07-12:23:59.768816] Reading config from file /opt/spack/etc/spack/defaults/repos.yaml
==> [2023-11-07-12:23:59.770639] Reading config from file /root/.spack/repos.yaml
==> [2023-11-07-12:23:59.922643] Reading config from file /opt/spack/etc/spack/defaults/modules.yaml
==> [2023-11-07-12:23:59.933473] Reading config from file /opt/spack/etc/spack/defaults/linux/modules.yaml
==> [2023-11-07-12:23:59.940984] You are about to regenerate tcl module files for:

-- linux-ubuntu22.04-skylake / gcc@11.4.0 -----------------------
x5hs5xg asagi@1.0.1                         sb4jbds krb5@1.20.1           divxfkf openssl@3.1.3
jl7rkut autoconf@2.69                       affqvy6 libbsd@0.11.7         ggtvobi parmetis@4.0.3
srtymar automake@1.16.5                     4tqm5br libedit@3.1-20210216  zdaecdg perl@5.38.0
36xk3mj berkeley-db@18.1.40                 rw4huzm libevent@2.1.12       l6v6kwu pigz@2.7
fwzkig2 binutils@2.41                       aitnwg6 libffi@3.4.4          b5nrv26 pkgconf@1.9.5
pmzpiqv bison@3.8.2                         22e5d7y libiconv@1.17         lzamjby pmix@5.0.1
iep4vcn bzip2@1.0.8                         wiinbgg libmd@1.0.4           k6tq4ji py-pip@23.1.2
t7k6d5j ca-certificates-mozilla@2023-05-30  wn4ncvr libpciaccess@0.17     luswnkl py-pspamm@develop
d77nyvn cmake@3.27.7                        bqqhkt4 libsigsegv@2.14       dzc7owh py-wheel@0.41.2
jca3256 curl@8.4.0                          dsd27yt libtool@2.4.7         igglow7 python@3.10.12
p44wvsi cxxtest@develop                     hkastus libxcrypt@4.4.35      wnzrhwp readline@8.2
jklk2oe diffutils@3.9                       sxv2bnq libxml2@2.10.3        o4ecmye seissol-env@develop
fo26sro easi@1.2.0                          zb5agxv libxsmm@1.17          mrnybh7 sqlite@3.43.2
q26t3k3 eigen@3.4.0                         d4v7u4s m4@1.4.19             ijd5lrl tar@1.34
bdmenbm expat@2.5.0                         quphvly memkind@1.13.0        hlu6y5l util-linux-uuid@2.38.1
wtlsdfd findutils@4.9.0                     3zbghvd metis@5.1.0           adqcchk util-macros@1.19.3
gbcz3ou gdbm@1.23                           3j3dohb ncurses@6.4           vh3hbjl xz@5.4.1
nmoshfj gettext@0.22.3                      u5c5gb6 netcdf-c@4.7.4        cvekpym yaml-cpp@0.6.2
gplawhy gmake@4.4.1                         m4gk74b nghttp2@1.57.0        f3en4d3 zlib-ng@2.1.4
i25ya72 hdf5@1.12.2                         6yvuh4a numactl@2.0.14        el6onlm zstd@1.5.5
5kgsdop hwloc@2.9.1                         2ebhisn openmpi@4.1.6
7jfmz2r impalajit@main                      uzv2ux5 openssh@9.5p1

==> [2023-11-07-12:23:59.945394] Do you want to proceed? [y/n] y
==> [2023-11-07-12:24:31.298804] Regenerating tcl module files
==> [2023-11-07-12:24:31.469517]        WRITE: asagi@1.0.1%gcc@11.4.0~examples+fortran~ipo+mpi+mpi3+numa~tests+threadsafe~threadsafe_counter+threadsafe_mpi build_system=cmake build_type=Release generator=make link_type=shared max_dimensions=4 arch=linux-ubuntu22.04-skylake/x5hs5xg [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/asagi/1.0.1-gcc-11.4.0-x5hs5xg]
==> [2023-11-07-12:24:31.510423] Reading config from file /opt/spack/etc/spack/defaults/packages.yaml
==> [2023-11-07-12:24:31.536473] Reading config from file /root/.spack/packages.yaml
==> [2023-11-07-12:24:31.586135] Reading config from file /root/.spack/linux/compilers.yaml
==> [2023-11-07-12:24:31.707097]        WRITE: autoconf@2.69%gcc@11.4.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-ubuntu22.04-skylake/jl7rkut [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/autoconf/2.69-gcc-11.4.0-jl7rkut]
==> [2023-11-07-12:24:31.731187]        WRITE: automake@1.16.5%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/srtymar [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/automake/1.16.5-gcc-11.4.0-srtymar]
==> [2023-11-07-12:24:31.742335]        WRITE: berkeley-db@18.1.40%gcc@11.4.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-skylake/36xk3mj [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/berkeley-db/18.1.40-gcc-11.4.0-36xk3mj]
==> [2023-11-07-12:24:31.747227]        WRITE: binutils@2.41%gcc@11.4.0+gas~gold~gprofng~headers~interwork+ld~libiberty~lto~nls~pgo+plugins build_system=autotools compress_debug_sections=zlib libs=shared,static arch=linux-ubuntu22.04-skylake/fwzkig2 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/binutils/2.41-gcc-11.4.0-fwzkig2]
==> [2023-11-07-12:24:31.758487]        WRITE: bison@3.8.2%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/pmzpiqv [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/bison/3.8.2-gcc-11.4.0-pmzpiqv]
==> [2023-11-07-12:24:31.774408]        WRITE: bzip2@1.0.8%gcc@11.4.0~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-skylake/iep4vcn [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/bzip2/1.0.8-gcc-11.4.0-iep4vcn]
==> [2023-11-07-12:24:31.780586]        WRITE: ca-certificates-mozilla@2023-05-30%gcc@11.4.0 build_system=generic arch=linux-ubuntu22.04-skylake/t7k6d5j [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/ca-certificates-mozilla/2023-05-30-gcc-11.4.0-t7k6d5j]
==> [2023-11-07-12:24:31.785538]        WRITE: cmake@3.27.7%gcc@11.4.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-ubuntu22.04-skylake/d77nyvn [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/cmake/3.27.7-gcc-11.4.0-d77nyvn]
==> [2023-11-07-12:24:31.808641]        WRITE: curl@8.4.0%gcc@11.4.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-ubuntu22.04-skylake/jca3256 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/curl/8.4.0-gcc-11.4.0-jca3256]
==> [2023-11-07-12:24:31.818018]        WRITE: cxxtest@develop%gcc@11.4.0 build_system=generic arch=linux-ubuntu22.04-skylake/p44wvsi [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/cxxtest/develop-gcc-11.4.0-p44wvsi]
==> [2023-11-07-12:24:31.823450]        WRITE: diffutils@3.9%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/jklk2oe [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/diffutils/3.9-gcc-11.4.0-jklk2oe]
==> [2023-11-07-12:24:31.830711]        WRITE: easi@1.2.0%gcc@11.4.0+asagi~ipo build_system=cmake build_type=Release generator=make jit=impalajit arch=linux-ubuntu22.04-skylake/fo26sro [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/easi/1.2.0-gcc-11.4.0-fo26sro]
==> [2023-11-07-12:24:31.864629]        WRITE: eigen@3.4.0%gcc@11.4.0~ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-ubuntu22.04-skylake/q26t3k3 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/eigen/3.4.0-gcc-11.4.0-q26t3k3]
==> [2023-11-07-12:24:31.873268]        WRITE: expat@2.5.0%gcc@11.4.0+libbsd build_system=autotools arch=linux-ubuntu22.04-skylake/bdmenbm [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/expat/2.5.0-gcc-11.4.0-bdmenbm]
==> [2023-11-07-12:24:31.883083]        WRITE: findutils@4.9.0%gcc@11.4.0 build_system=autotools patches=440b954 arch=linux-ubuntu22.04-skylake/wtlsdfd [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/findutils/4.9.0-gcc-11.4.0-wtlsdfd]
==> [2023-11-07-12:24:31.889346]        WRITE: gdbm@1.23%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/gbcz3ou [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/gdbm/1.23-gcc-11.4.0-gbcz3ou]
==> [2023-11-07-12:24:31.897382]        WRITE: gettext@0.22.3%gcc@11.4.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-ubuntu22.04-skylake/nmoshfj [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/gettext/0.22.3-gcc-11.4.0-nmoshfj]
==> [2023-11-07-12:24:31.911173]        WRITE: gmake@4.4.1%gcc@11.4.0~guile build_system=generic arch=linux-ubuntu22.04-skylake/gplawhy [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/gmake/4.4.1-gcc-11.4.0-gplawhy]
==> [2023-11-07-12:24:31.917369]        WRITE: hdf5@1.12.2%gcc@11.4.0~cxx~fortran+hl~ipo~java+mpi+shared~szip+threadsafe+tools api=default build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-skylake/i25ya72 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/hdf5/1.12.2-gcc-11.4.0-i25ya72]
==> [2023-11-07-12:24:31.936853]        WRITE: hwloc@2.9.1%gcc@11.4.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-skylake/5kgsdop [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/hwloc/2.9.1-gcc-11.4.0-5kgsdop]
==> [2023-11-07-12:24:31.947425]        WRITE: impalajit@main%gcc@11.4.0~ipo+shared build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-skylake/7jfmz2r [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/impalajit/main-gcc-11.4.0-7jfmz2r]
==> [2023-11-07-12:24:31.953178]        WRITE: krb5@1.20.1%gcc@11.4.0+shared build_system=autotools arch=linux-ubuntu22.04-skylake/sb4jbds [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/krb5/1.20.1-gcc-11.4.0-sb4jbds]
==> [2023-11-07-12:24:31.966194]        WRITE: libbsd@0.11.7%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/affqvy6 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libbsd/0.11.7-gcc-11.4.0-affqvy6]
==> [2023-11-07-12:24:31.971872]        WRITE: libedit@3.1-20210216%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/4tqm5br [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libedit/3.1-20210216-gcc-11.4.0-4tqm5br]
==> [2023-11-07-12:24:31.978161]        WRITE: libevent@2.1.12%gcc@11.4.0+openssl build_system=autotools arch=linux-ubuntu22.04-skylake/rw4huzm [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libevent/2.1.12-gcc-11.4.0-rw4huzm]
==> [2023-11-07-12:24:31.984959]        WRITE: libffi@3.4.4%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/aitnwg6 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libffi/3.4.4-gcc-11.4.0-aitnwg6]
==> [2023-11-07-12:24:31.991846]        WRITE: libiconv@1.17%gcc@11.4.0 build_system=autotools libs=shared,static arch=linux-ubuntu22.04-skylake/22e5d7y [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libiconv/1.17-gcc-11.4.0-22e5d7y]
==> [2023-11-07-12:24:31.996738]        WRITE: libmd@1.0.4%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/wiinbgg [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libmd/1.0.4-gcc-11.4.0-wiinbgg]
==> [2023-11-07-12:24:32.001743]        WRITE: libpciaccess@0.17%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/wn4ncvr [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libpciaccess/0.17-gcc-11.4.0-wn4ncvr]
==> [2023-11-07-12:24:32.006690]        WRITE: libsigsegv@2.14%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/bqqhkt4 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libsigsegv/2.14-gcc-11.4.0-bqqhkt4]
==> [2023-11-07-12:24:32.011279]        WRITE: libtool@2.4.7%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/dsd27yt [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libtool/2.4.7-gcc-11.4.0-dsd27yt]
==> [2023-11-07-12:24:32.020553]        WRITE: libxcrypt@4.4.35%gcc@11.4.0~obsolete_api build_system=autotools patches=4885da3 arch=linux-ubuntu22.04-skylake/hkastus [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libxcrypt/4.4.35-gcc-11.4.0-hkastus]
==> [2023-11-07-12:24:32.026569]        WRITE: libxml2@2.10.3%gcc@11.4.0+pic~python+shared build_system=autotools arch=linux-ubuntu22.04-skylake/sxv2bnq [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libxml2/2.10.3-gcc-11.4.0-sxv2bnq]
==> [2023-11-07-12:24:32.061575]        WRITE: libxsmm@1.17%gcc@11.4.0~debug+generator~header-only~large_jit_buffer~shared blas=default build_system=makefile arch=linux-ubuntu22.04-skylake/zb5agxv [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/libxsmm/1.17-gcc-11.4.0-zb5agxv]
==> [2023-11-07-12:24:32.070501]        WRITE: m4@1.4.19%gcc@11.4.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-skylake/d4v7u4s [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/m4/1.4.19-gcc-11.4.0-d4v7u4s]
==> [2023-11-07-12:24:32.077423]        WRITE: memkind@1.13.0%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/quphvly [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/memkind/1.13.0-gcc-11.4.0-quphvly]
==> [2023-11-07-12:24:32.086475]        WRITE: metis@5.1.0%gcc@11.4.0~gdb+int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-ubuntu22.04-skylake/3zbghvd [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/metis/5.1.0-gcc-11.4.0-3zbghvd]
==> [2023-11-07-12:24:32.094735]        WRITE: ncurses@6.4%gcc@11.4.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-skylake/3j3dohb [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/ncurses/6.4-gcc-11.4.0-3j3dohb]
==> [2023-11-07-12:24:32.099571]        WRITE: netcdf-c@4.7.4%gcc@11.4.0~blosc~byterange~dap~fsync~hdf4~jna+mpi~nczarr_zip+optimize~parallel-netcdf+pic+shared~szip~zstd build_system=autotools arch=linux-ubuntu22.04-skylake/u5c5gb6 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/netcdf-c/4.7.4-gcc-11.4.0-u5c5gb6]
==> [2023-11-07-12:24:32.119084]        WRITE: nghttp2@1.57.0%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/m4gk74b [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/nghttp2/1.57.0-gcc-11.4.0-m4gk74b]
==> [2023-11-07-12:24:32.125628]        WRITE: numactl@2.0.14%gcc@11.4.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu22.04-skylake/6yvuh4a [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/numactl/2.0.14-gcc-11.4.0-6yvuh4a]
==> [2023-11-07-12:24:32.132164]        WRITE: openmpi@4.1.6%gcc@11.4.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~internal-pmix~java~legacylaunchers~lustre~memchecker~openshmem~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu22.04-skylake/2ebhisn [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/openmpi/4.1.6-gcc-11.4.0-2ebhisn]
==> [2023-11-07-12:24:32.153193]        WRITE: openssh@9.5p1%gcc@11.4.0+gssapi build_system=autotools arch=linux-ubuntu22.04-skylake/uzv2ux5 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/openssh/9.5p1-gcc-11.4.0-uzv2ux5]
==> [2023-11-07-12:24:32.169616]        WRITE: openssl@3.1.3%gcc@11.4.0~docs+shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-skylake/divxfkf [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/openssl/3.1.3-gcc-11.4.0-divxfkf]
==> [2023-11-07-12:24:32.176382]        WRITE: parmetis@4.0.3%gcc@11.4.0~gdb+int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-ubuntu22.04-skylake/ggtvobi [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/parmetis/4.0.3-gcc-11.4.0-ggtvobi]
==> [2023-11-07-12:24:32.195973]        WRITE: perl@5.38.0%gcc@11.4.0+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-ubuntu22.04-skylake/zdaecdg [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/perl/5.38.0-gcc-11.4.0-zdaecdg]
==> [2023-11-07-12:24:32.206390]        WRITE: pigz@2.7%gcc@11.4.0 build_system=makefile arch=linux-ubuntu22.04-skylake/l6v6kwu [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/pigz/2.7-gcc-11.4.0-l6v6kwu]
==> [2023-11-07-12:24:32.212170]        WRITE: pkgconf@1.9.5%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/b5nrv26 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/pkgconf/1.9.5-gcc-11.4.0-b5nrv26]
==> [2023-11-07-12:24:32.218575]        WRITE: pmix@5.0.1%gcc@11.4.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu22.04-skylake/lzamjby [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/pmix/5.0.1-gcc-11.4.0-lzamjby]
==> [2023-11-07-12:24:32.230850]        WRITE: py-pip@23.1.2%gcc@11.4.0 build_system=generic arch=linux-ubuntu22.04-skylake/k6tq4ji [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/py-pip/23.1.2-gcc-11.4.0-k6tq4ji]
==> [2023-11-07-12:24:32.255484] '/opt/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-11.4.0/python-3.10.12-igglow7unf4gs533pemifmxzloogmjbg/bin/python3.10' '-c' '
import json
from sysconfig import (
    get_config_vars,
    get_config_h_filename,
    get_makefile_filename,
    get_paths,
)

config = get_config_vars()
config['"'"'config_h_filename'"'"'] = get_config_h_filename()
config['"'"'makefile_filename'"'"'] = get_makefile_filename()
config.update(get_paths())

print(json.dumps(config))
'
==> [2023-11-07-12:24:32.278942]        WRITE: py-pspamm@develop%gcc@11.4.0~numpy~scipy build_system=python_pip arch=linux-ubuntu22.04-skylake/luswnkl [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/py-pspamm/develop-gcc-11.4.0-luswnkl]
==> [2023-11-07-12:24:32.297654]        WRITE: py-wheel@0.41.2%gcc@11.4.0 build_system=generic arch=linux-ubuntu22.04-skylake/dzc7owh [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/py-wheel/0.41.2-gcc-11.4.0-dzc7owh]
==> [2023-11-07-12:24:32.315912]        WRITE: python@3.10.12%gcc@11.4.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,ebdca64,f2fd060 arch=linux-ubuntu22.04-skylake/igglow7 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/python/3.10.12-gcc-11.4.0-igglow7]
==> [2023-11-07-12:24:32.341540]        WRITE: readline@8.2%gcc@11.4.0 build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-skylake/wnzrhwp [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/readline/8.2-gcc-11.4.0-wnzrhwp]
==> [2023-11-07-12:24:32.348044]        WRITE: seissol-env@develop%gcc@11.4.0+asagi~building_tools~cuda+libxsmm+memkind+mpi~python build_system=bundle extra_blas=none arch=linux-ubuntu22.04-skylake/o4ecmye [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/seissol-env/develop-gcc-11.4.0-o4ecmye]
==> [2023-11-07-12:24:32.408072]        WRITE: sqlite@3.43.2%gcc@11.4.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu22.04-skylake/mrnybh7 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/sqlite/3.43.2-gcc-11.4.0-mrnybh7]
==> [2023-11-07-12:24:32.415996]        WRITE: tar@1.34%gcc@11.4.0 build_system=autotools zip=pigz arch=linux-ubuntu22.04-skylake/ijd5lrl [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/tar/1.34-gcc-11.4.0-ijd5lrl]
==> [2023-11-07-12:24:32.427146]        WRITE: util-linux-uuid@2.38.1%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/hlu6y5l [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/util-linux-uuid/2.38.1-gcc-11.4.0-hlu6y5l]
==> [2023-11-07-12:24:32.432311]        WRITE: util-macros@1.19.3%gcc@11.4.0 build_system=autotools arch=linux-ubuntu22.04-skylake/adqcchk [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/util-macros/1.19.3-gcc-11.4.0-adqcchk]
==> [2023-11-07-12:24:32.438130]        WRITE: xz@5.4.1%gcc@11.4.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-skylake/vh3hbjl [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/xz/5.4.1-gcc-11.4.0-vh3hbjl]
==> [2023-11-07-12:24:32.443521]        WRITE: yaml-cpp@0.6.2%gcc@11.4.0~ipo+pic+shared~tests build_system=cmake build_type=Release generator=make arch=linux-ubuntu22.04-skylake/cvekpym [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/yaml-cpp/0.6.2-gcc-11.4.0-cvekpym]
==> [2023-11-07-12:24:32.448750]        WRITE: zlib-ng@2.1.4%gcc@11.4.0+compat+opt build_system=autotools arch=linux-ubuntu22.04-skylake/f3en4d3 [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/zlib-ng/2.1.4-gcc-11.4.0-f3en4d3]
==> [2023-11-07-12:24:32.453782]        WRITE: zstd@1.5.5%gcc@11.4.0+programs build_system=makefile compression=none libs=shared,static arch=linux-ubuntu22.04-skylake/el6onlm [/opt/spack/share/spack/modules/linux-ubuntu22.04-skylake/zstd/1.5.5-gcc-11.4.0-el6onlm]

But I get the error information:

root@DESKTOP-TTRCTK2:/opt/SeisSol/build-release# module load seissol-env
ERROR: Unable to locate a modulefile for 'seissol-env'

my loaded spack packages:

root@DESKTOP-TTRCTK2:/opt/SeisSol/build-release# spack find --loaded
-- linux-ubuntu22.04-skylake / gcc@11.4.0 -----------------------
environment-modules@5.3.1
==> 1 loaded package
Thomas-Ulrich commented 10 months ago

Hi, the module won't be named seissol-env exactly, but will have a name given by spack,e.g. seissol-env/develop-intel21-impi-x2b (you can find it with module avail).