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