Installation issue: WSL

98 views
Skip to first unread message

Ananya Bijaya

unread,
Dec 21, 2023, 10:46:26 AM12/21/23
to MoFEM Q&A
Hi everyone,

I am trying to install developer version of MoFEM on WSL (Ubuntu 20.04). The
core modules are getting installed using the installation script given on the website. However, user modules are not being build. I have copied the error message at the end of this email.

Could someone help me with this?

Thanks,
Ananya

Error Message:

----------------------------

USER MODULE - Debug version ...

----------------------------

==> Error:
        mofem-users-modules@develop build_type=Debug dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas/mofem/users_modules ^ado...@2.7.2%g...@10.5.0~advanced_branching+atrig_erf~boost+doc~examples~openmp~sparse+stdczero+traceless_refcounting build_system=autotools patches=715b878 arch=linux-ubuntu20.04-skylake ^arpa...@3.8.0%g...@10.5.0~ipo+mpi+shared build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu20.04-skylake ^bo...@1.77.0%g...@10.5.0+atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem+graph~graph_parallel~icu+iostreams~json+locale+log+math~mpi+multithreaded~nowide~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout+wave build_system=generic cxxstd=17 patches=4849671,a440f96 visibility=hidden arch=linux-ubuntu20.04-skylake ^bz...@1.0.8%g...@10.5.0~debug~pic+shared build_system=generic arch=linux-ubuntu20.04-skylake ^hd...@1.10.7%g...@10.5.0~cxx~fortran~hl~ipo~java+mpi+shared~szip~threadsafe+tools api=default build_system=cmake build_type=RelWithDebInfo patches=2a1e311 arch=linux-ubuntu20.04-skylake ^hw...@2.8.0%g...@10.5.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^hy...@2.26.0%g...@10.5.0~complex~cuda~debug+fortran~gptune~int64~internal-superlu~mixedint+mpi~openmp~rocm+shared~superlu-dist~umpire~unified-memory build_system=autotools arch=linux-ubuntu20.04-skylake ^input...@2.3.2%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^kbp...@1.0.7%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^lib...@0.11.5%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^libe...@2.1.12%g...@10.5.0+openssl build_system=autotools arch=linux-ubuntu20.04-skylake ^libi...@1.16%g...@10.5.0 build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^li...@1.0.4%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^libpci...@0.16%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^libpthread-stubs@0.4%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^lib...@1.7.0%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^lib...@1.0.8%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^lib...@1.14%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^libx...@1.1.2%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^lib...@2.10.1%g...@10.5.0~python build_system=autotools arch=linux-ubuntu20.04-skylake ^m...@4.1.0%g...@10.5.0+api23~fortran~ipo+mpi+shared build_system=cmake build_type=RelWithDebInfo patches=ba35197 arch=linux-ubuntu20.04-skylake ^me...@5.1.0%g...@10.5.0~gdb~int64~ipo~real64+shared build_system=cmake build_type=RelWithDebInfo patches=4991da9,93a7903,b1225da arch=linux-ubuntu20.04-skylake ^mo...@5.3.0%g...@10.5.0~cgm+coupler~dagmc~debug~fbigeom+fortran+hdf5~irel+metis+mpi~netcdf+parmetis~pnetcdf+shared~zoltan build_system=autotools arch=linux-ubuntu20.04-skylake ^mofem-cephas@develop%g...@10.5.0+adol-c~copy_user_modules~docker~ipo+med~shared+slepc+tetgen build_system=cmake build_type=Debug dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas install_id=0 arch=linux-ubuntu20.04-skylake ^mu...@5.5.1%g...@10.5.0~blr_mt+complex+double+float~incfort~int64+metis+mpi~openmp+parmetis~ptscotch~scotch+shared build_system=generic patches=373d736 arch=linux-ubuntu20.04-skylake ^ncurses@6.3%g...@10.5.0~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu20.04-skylake ^netlib-s...@2.2.0%g...@10.5.0~ipo~pic+shared build_system=cmake build_type=Release patches=072b006,1c9ce5f,85cd2a8 arch=linux-ubuntu20.04-skylake ^num...@2.0.14%g...@10.5.0 build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu20.04-skylake ^open...@0.3.21%g...@10.5.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile patches=d3d9b15 symbol_suffix=none threads=none arch=linux-ubuntu20.04-skylake ^ope...@4.1.4%g...@10.5.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~java~legacylaunchers~lustre~memchecker+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-ubuntu20.04-skylake ^ope...@8.2p1%g...@10.5.0+gssapi build_system=autotools arch=linux-ubuntu20.04-skylake ^ope...@1.1.1s%g...@10.5.0~docs~shared build_system=generic certs=mozilla arch=linux-ubuntu20.04-skylake ^parm...@4.0.3%g...@10.5.0~gdb~int64~ipo+shared build_system=cmake build_type=RelWithDebInfo patches=4f89253,50ed208,704b84f arch=linux-ubuntu20.04-skylake ^pe...@3.16.6%g...@10.5.0+X~batch~cgns~complex~cuda~debug+double~exodusii~fftw+fortran~giflib+hdf5~hpddm~hwloc+hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind+metis~mkl-pardiso~mmg~moab~mpfr+mpi+mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse+superlu-dist~tetgen~trilinos~valgrind build_system=generic clanguage=C arch=linux-ubuntu20.04-skylake ^pkg...@1.6.3%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^pm...@4.1.2%g...@10.5.0~docs+pmi_backwards_compatibility~restful build_system=autotools arch=linux-ubuntu20.04-skylake ^sl...@3.16.3%g...@10.5.0+arpack~blopex~cuda~rocm build_system=generic arch=linux-ubuntu20.04-skylake ^superl...@8.1.1%g...@10.5.0~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=RelWithDebInfo arch=linux-ubuntu20.04-skylake ^tet...@1.5.1%g...@10.5.0~debug+pic build_system=generic arch=linux-ubuntu20.04-skylake ^xcb-...@1.14.1%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^xext...@7.3.0%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^xpr...@7.0.31%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^xtr...@1.3.5%g...@10.5.0 build_system=autotools arch=linux-ubuntu20.04-skylake ^x...@5.2.7%g...@10.5.0~pic build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^zl...@1.2.13%g...@10.5.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu20.04-skylake is unsatisfiable, errors are:

mofem-users-modules id for debug:

Finished installing and testing the User Module - Debug version.

End time: 00:13:00

Lukasz Kaczmraczyk

unread,
Dec 21, 2023, 10:50:39 AM12/21/23
to MoFEM Q&A
HI, 

I'm sorry for not getting back to you sooner.

Can you write more details about what command you have used? 

On a related note, we have recently updated the install instructions. That could be helpful to fix the problem.

Installation of JupterHub with full mofem environment:

Developer installation with Spack:

Kind regards,
Lukasz



 

Ananya Bijaya

unread,
Dec 22, 2023, 4:45:37 AM12/22/23
to MoFEM Q&A
Hi Prof. Lukasz,

Earlier I had downloaded the script " install_mofem_developer.sh"  from http://mofem.eng.gla.ac.uk/mofem/html/installation.html and ran it in the Ubuntu terminal.

Also, today I tried installing MoFEM using the instructions given
in http://mofem.eng.gla.ac.uk/mofem/html/install_spack.html. I encountered a similar error as before.
I ran the following commands:

sudo apt-get update && apt-get install -y --no-install-recommends build-essential \
ca-certificates coreutils environment-modules python python3-distutils gfortran curl \
git cmake doxygen vim

mkdir -p $HOME/mofem_install
cd $HOME/mofem_install

git clone -b master https://bitbucket.org/mofem/mofem-spack.git spack

. spack/share/spack/setup-env.sh

echo ". $HOME/spack/share/spack/setup-env.sh" >> ~/.bash_profile

Edited the compilers.yaml to add the "fflags: -fallow-argument-mismatch"

mkdir $HOME/mofem_install
cd $HOME/mofem_install
git clone \
-b develop \
mofem-cephas

spack install --only dependencies mofem-cephas ^petsc+X

spack dev-build \
--source-path $HOME/mofem_install/mofem-cephas \
--keep-prefix \
--test root \
mofem-cephas@develop~copy_user_modules ^petsc+X

spack find -lv mofem-cephas
-- linux-ubuntu20.04-skylake / g...@10.5.0 -----------------------
k5kal4e mofem-cephas@develop+adol-c~copy_user_modules~docker~ipo+med~shared+slepc+tetgen build_system=cmake build_type=Release dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas generator=make install_id=0
==> 1 installed package

spack dev-build \
  --test root  \
  --source-path $HOME/mofem_install/mofem-cephas/mofem/users_modules \
  mofem-users-modules@develop build_type=Release \
  ^/k5kal4e


After the last command, I got an error message (copied at the end).

Thanks,
Ananya


ananyabijaya7@LAPTOP-N0P8N49V:~/mofem_install/mofem-cephas/mofem/users_modules$ spack dev-build \
>   --test root  \
>   --source-path $HOME/mofem_install/mofem-cephas/mofem/users_modules \
>   mofem-users-modules@develop build_type=Release\
>   ^/k5kal4e

==> Error: Spack concretizer internal error. Please submit a bug report and include the command, environment if applicable and the following error message.
    mofem-users-modules@develop build_type=Release dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas/mofem/users_modules ^[deptypes=build,link] adol-c@=2.7.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~advanced_branching+atrig_erf~boost+doc~examples~openmp~sparse+stdczero+traceless_refcounting build_system=autotools patches=715b878 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] arpack-ng@=3.9.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~icb~ipo+mpi+shared build_system=cmake build_type=Release generator=make arch=linux-ubuntu20.04-skylake ^[deptypes=build] autoconf@=2.69%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools patches=7793209 arch=linux-ubuntu20.04-skylake ^[deptypes=build] automake@=1.16.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] berkeley-db@=18.1.40%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] boost@=1.77.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem+graph~graph_parallel~icu+iostreams~json+locale+log+math~mpi+multithreaded~nowide~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout+wave build_system=generic cxxstd=17 patches=4849671,a440f96 visibility=hidden arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] bzip2@=1.0.8%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~debug~pic+shared build_system=generic arch=linux-ubuntu20.04-skylake ^[deptypes=build] ca-certificates-mozilla@=2023-05-30%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=generic arch=linux-ubuntu20.04-skylake ^[deptypes=build] cmake@=3.28.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-ubuntu20.04-skylake ^[deptypes=build] diffutils@=3.7%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] eigen@=3.4.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] expat@=2.5.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +libbsd build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] gdbm@=1.23%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] gettext@=0.22.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] gmake@=4.2.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~guile build_system=generic patches=ca60bd9,fe5b60d arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] hdf5@=1.10.7%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~cxx~fortran~hl~ipo~java+mpi+shared~szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make patches=2a1e311 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] hwloc@=2.9.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] hypre@=2.28.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~caliper~complex~cuda~debug+fortran~gptune~int64~internal-superlu~magma~mixedint+mpi~openmp~rocm+shared~superlu-dist~sycl~umpire~unified-memory build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] inputproto@=2.3.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] kbproto@=1.0.7%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libbsd@=0.11.7%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libevent@=2.1.12%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +openssl build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libffi@=3.4.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=iconv] libiconv@=1.17%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libmd@=1.0.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libpciaccess@=0.17%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libpthread-stubs@=0.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build] libtool@=2.4.6%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libx11@=1.8.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libxau@=1.0.8%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libxcb@=1.14%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libxcrypt@=4.4.35%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~obsolete_api build_system=autotools patches=4885da3 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libxdmcp@=1.1.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] libxml2@=2.10.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +pic~python+shared build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build] m4@=1.4.18%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +sigsegv build_system=autotools patches=3877ab5,fc9b616 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] med@=4.1.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +api23~fortran~ipo+mpi+shared build_system=cmake build_type=Release generator=make patches=ba35197 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] metis@=5.1.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~gdb~int64~ipo~real64+shared build_system=cmake build_type=Release generator=make patches=4991da9,93a7903,b1225da arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] moab@=5.5.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~cgm+coupler~dagmc~debug+eigen~fbigeom~fortran+hdf5~irel~metis+mpi~netcdf~parmetis~pnetcdf+shared+zoltan build_system=autotools arch=linux-ubuntu20.04-skylake ^mofem-cephas@=develop%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +adol-c~copy_user_modules~docker~ipo+med~shared+slepc+tetgen build_system=cmake build_type=Release dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas generator=make install_id=0 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] mumps@=5.5.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~blr_mt+complex+double+float~incfort~int64+metis+mpi~openmp+parmetis~ptscotch~scotch+shared build_system=generic patches=373d736 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] ncurses@=6.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=scalapack] netlib-scalapack@=2.2.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] numactl@=2.0.14%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools patches=4e1d78c,62fc8a8,ff37630 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=blas,lapack] openblas@=0.3.24%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=mpi] openmpi@=4.1.6%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~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-ubuntu20.04-skylake ^[deptypes=run] openssh@=8.2p1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +gssapi build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] openssl@=3.1.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~docs+shared build_system=generic certs=mozilla arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] parmetis@=4.0.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~gdb~int64~ipo+shared build_system=cmake build_type=Release generator=make patches=4f89253,50ed208,704b84f arch=linux-ubuntu20.04-skylake ^[deptypes=build] perl@=5.38.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] petsc@=3.16.6%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +X~batch~cgns~complex~cuda~debug+double~exodusii~fftw+fortran~giflib+hdf5~hpddm~hwloc+hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind+metis~mkl-pardiso~mmg~moab~mpfr+mpi+mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse+superlu-dist~sycl~tetgen~trilinos~valgrind build_system=generic clanguage=C memalign=none arch=linux-ubuntu20.04-skylake ^[deptypes=build,run virtuals=pkgconfig] pkgconf@=1.6.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] pmix@=5.0.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,run] python@=3.11.6%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=13fa8bf,b0615b2,ebdca64,f2fd060 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] readline@=8.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools patches=bbf97f1 arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] slepc@=3.16.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +arpack~blopex~cuda~hpddm~rocm build_system=generic arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] sqlite@=3.43.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] superlu-dist@=8.1.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~cuda~int64~ipo~openmp~rocm+shared build_system=cmake build_type=Release generator=make arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] tar@=1.30%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools zip=pigz arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] tetgen@=1.5.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~debug+pic build_system=generic arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=uuid] util-linux-uuid@=2.38.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build] util-macros@=1.19.3%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] xcb-proto@=1.15.2%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] xextproto@=7.3.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] xproto@=7.0.31%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] xtrans@=1.4.0%gcc@=10.5.0 fflags="-fallow-argument-mismatch"  build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link,run] xz@=5.4.1%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~pic build_system=autotools libs=shared,static arch=linux-ubuntu20.04-skylake ^[deptypes=build,link virtuals=zlib-api] zlib-ng@=2.1.4%gcc@=10.5.0 fflags="-fallow-argument-mismatch" +compat+opt build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] zoltan@=3.901%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~debug~fortran~int64+mpi~parmetis+shared build_system=autotools arch=linux-ubuntu20.04-skylake ^[deptypes=build,link] zstd@=1.5.5%gcc@=10.5.0 fflags="-fallow-argument-mismatch" ~programs build_system=makefile libs=shared,static arch=linux-ubuntu20.04-skylake is unsatisfiable

Lukasz Kaczmraczyk

unread,
Dec 22, 2023, 7:32:06 AM12/22/23
to MoFEM Q&A
Hi, 

I see the problem now. We bumped the spack version, and the policy has changed how you put specification packages when installed with "dev_build". Before we fix the script, take a look here:
You can fix the problem as follows:

# This load spack environment (this you can add to your.bashrc)
. $HOME/spack/share/spack/setup-env.sh
# I put these two lines just in case to be sure that you are in correct branch
cd $HOME/mofem_install/mofem-cephas/mofem/users_modules 
git checkout develop


spack dev-build \
--test root  \
--source-path $HOME/mofem_install/mofem-cephas/mofem/users_modules \
mofem-users-modules@develop build_type=Release \
^mofem-cephas@develop+adol-c~copy_user_modules~docker~ipo+med~shared+slepc+tetgen build_system=cmake build_type=Release dev_path=/home/ananyabijaya7/mofem_install/mofem-cephas generator=make install_id=0 ^petsc+X
 
Note that instead of package "k5kal4e", I put explicit specifications. In the new Spack, only explicit specification works for packages installed with "dev-build" mode.

I hope that this will fix the problem, let me know..

Regards,
Lukasz

 
 

Ananya Bijaya

unread,
Dec 22, 2023, 12:56:26 PM12/22/23
to MoFEM Q&A
This works. Thank you for the help.

Best regards,
Ananya
Reply all
Reply to author
Forward
0 new messages