Hello.
I am trying to install fenicsx on my macbook via spack. It is intel based with Macos 11.6.5.
Brew list returns:
[fenicsx-env] iwan@Iwans-MacBook-Pro ~ % brew list
==> Formulae
gettext git pcre2
==> Casks
basictex julia tex-live-utility
bibdesk keka texmacs
discord knime tiles
emacs logitech-options transmission
freecad lyx utm
google-drive mambaforge webex
iina microsoft-teams zoom
inkscape scilab
jdownloader skype
Which python and python3 returns:
/usr/bin/python
/usr/bin/python3
I am following the spack instruction on github. The output of the terminal is as follows:
[fenicsx-env] iwan@Iwans-MacBook-Pro ~ % spack install
==> Installing environment fenicsx-env
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/pkgconf-1.8.0-ctv6gqltjdbdyfancohe2om572e46g3g
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/berkeley-db-18.1.40-nrbiu55ak2exdg66oy3k5hzaqxmv7kx5
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libiconv-1.16-7qzycgfydj3bab6tmewg5oobp4gr6b6l
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/zlib-1.2.12-m6cmxmammoenfmny7xsbqups27tvesm3
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/boost-1.78.0-ev46e3i4d6gfc2p57fusbxskrm2zc6py
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xz-5.2.5-gxxu3jlykec5cbrabuihgciuyj47hh2s
[+] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk (external apple-libuuid-1353.100.2-3j2akqnly7vhsq35wltz7dcdugtlyfzf)
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/expat-2.4.8-a6yjttvrrz6u3bhxnrmqtq66ldabiypt
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libffi-3.4.2-dfibs7cpxhdpbjh5n5fv7jwob7eobyfv
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libsigsegv-2.13-zuqxwrtn447fkng7wp3kne2pkuzz246i
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/findutils-4.8.0-q2enb5vzw44v3fofew4ikxirfzy4edxu
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/ncurses-6.2-gtwuobhpic6wojj3cxeaa7jxnujgjmzm
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/diffutils-3.8-jdqnebv7i4k557gd5eszosygrc6lwv2h
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/tar-1.34-5jaxmpywqtlsypf7a74c3bv433op3z3c
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libxml2-2.9.12-vlvrn35yet4uh377zjwnzd57d25g3mff
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/m4-1.4.19-eabiazc6uwnn5dpj45kbfx2gp6fsujw2
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libedit-3.1-20210216-icyq37r6zgyhaht2gwf32dkhs4rz63cp
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/readline-8.1-lyb2ougiqhohn6w3ul2m75uj6qg6dgjy
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/bzip2-1.0.8-udb3u2uemcsq7kdazpphh4i7sbwxdfqm
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/hwloc-2.7.1-h45gjt2cfxdgddqxadaktymfro6vro4s
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libtool-2.4.7-rdgzd3zee7m3f2chcftwllsoghxzlj4o
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/sqlite-3.37.2-n3oqdjnug5rnlsue2qf76oiljylmjkru
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/gdbm-1.19-4qsziwrm6nhguxensqhspkborwrlcujj
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/gettext-0.21-3k75pywaek4xx2pmlqkxokz7xvrkfg4r
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/perl-5.34.1-4lundo7xrvsstdrajvicjqi7swk6zibl
==> Installing openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6
==> No binary for openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 found: installing from source
==> Using cached archive: /Users/iwan/spack/var/spack/cache/_source-cache/archive/84/8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c.tar.gz
==> No patches needed for openblas
==> openblas: Executing phase: 'edit'
==> Error: InstallError: OpenBLAS requires both C and Fortran compilers!
/Users/iwan/spack/var/spack/repos/builtin/packages/openblas/package.py:159, in check_compilers:
156 # depends on Blas/Lapack need C or/and Fortran symbols. For now
157 # require both.
158 if self.compiler.fc is None:
>> 159 raise InstallError(
160 'OpenBLAS requires both C and Fortran compilers!'
161 )
See build log for details:
/var/folders/z6/772r50hx1p74tw5plqq0rjrc0000gn/T/iwan/spack-stage/spack-stage-openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6/spack-build-out.txt
==> Warning: Skipping build of hypre-2.24.0-mhlo4c373ail4nbnsekhj6bmgdjcwsym since openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 failed
==> Warning: Skipping build of petsc-3.17.0-gmmyvpk4xtsqwwk7swupmyarqebh3u5h since hypre-2.24.0-mhlo4c373ail4nbnsekhj6bmgdjcwsym failed
==> Warning: Skipping build of fenics-dolfinx-0.3.0-yfueypuboklgco45jrdk4l5qsord25q5 since petsc-3.17.0-gmmyvpk4xtsqwwk7swupmyarqebh3u5h failed
==> Warning: Skipping build of py-fenics-dolfinx-0.3.0-btjwkpykl632bohc5dc2bptji2cqpoav since fenics-dolfinx-0.3.0-yfueypuboklgco45jrdk4l5qsord25q5 failed
==> Warning: Skipping build of py-petsc4py-3.17.0-5yaifftm5etkirs3vy3gdjmrxgttksbq since petsc-3.17.0-gmmyvpk4xtsqwwk7swupmyarqebh3u5h failed
==> Warning: Skipping build of fenics-basix-0.3.0-mid475lq2c4ra7zjnqxzkzxoxzqdnxe5 since openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 failed
==> Warning: Skipping build of py-fenics-basix-0.3.0-zcpvlrea5th77xmlcgxltrip32txutni since fenics-basix-0.3.0-mid475lq2c4ra7zjnqxzkzxoxzqdnxe5 failed
==> Warning: Skipping build of py-fenics-ffcx-0.3.0-uhl7mvzan6sos5hp4bg3eyy535kvjrlx since py-fenics-basix-0.3.0-zcpvlrea5th77xmlcgxltrip32txutni failed
==> Warning: Skipping build of netlib-scalapack-2.2.0-pj4bfpie6vg7xqcgvaxztzlveqfrrguc since openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 failed
==> Warning: Skipping build of mumps-5.4.1-ysmaivihplqjxlzx22ev6rdh6ynsbd2a since netlib-scalapack-2.2.0-pj4bfpie6vg7xqcgvaxztzlveqfrrguc failed
==> Warning: Skipping build of superlu-dist-7.2.0-l2nxnc7mfocmcg7p7szr7rft35cvmdpp since openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 failed
==> Warning: Skipping build of py-numpy-1.20.3-cjlqsjuc3boiveicl25pnubozdebtf2k since openblas-0.3.20-z4g3l2ihoveb53lyfkfu7euv2ethu3n6 failed
==> Warning: Skipping build of py-fenics-ufl-2021.1.0-6umes6hgn5ajnx27hhdnsehyhwhq7j2h since py-numpy-1.20.3-cjlqsjuc3boiveicl25pnubozdebtf2k failed
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/openssl-1.1.1n-cdeulcdo6jw4fujxkojhkiro767w3jft
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/bison-3.8.2-me4fra3ppinhakt7h7va7ldskfcmncyf
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/help2man-1.47.16-aqukbvyemcvtjzk7nsjg67wytba5fx2a
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/autoconf-2.69-xchetuduettuvg2uzndrtg2bsyvlrgau
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/cmake-3.23.0-2fgvumk7mp75jdss5222hqqvtctwelyq
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/openssh-8.9p1-4p333t2fvgesm6kog6r6563dashn2rdi
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/libevent-2.1.12-bpsreeex2t7eeawum723i6mr7wzm5jr2
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/python-3.9.12-cmg7m2xke6556fxbifhcrpjxzgac445p
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/automake-1.16.5-rrod2vdupouut4ptc675b7myh6kowvv2
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xtl-0.7.4-2zv44pqowg7546v22xtesaqagscrccde
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xsimd-7.5.0-3ej2iax7q24k6ofg5qnjxxuchpotg3ek
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/metis-5.1.0-rnx63qv63xc5o4bkg2bp2ubshkbv4r4l
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/intel-tbb-2020.3-kstrrvfyfryufpejuwtz7irjl4sqla4c
==> Installing openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr
==> No binary for openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr found: installing from source
==> Using cached archive: /Users/iwan/spack/var/spack/cache/_source-cache/archive/3d/3d81d04c54efb55d3871a465ffb098d8d72c1f48ff1cbaf2580eb058567c0a3b.tar.bz2
==> No patches needed for openmpi
==> openmpi: Executing phase: 'autoreconf'
==> Error: InstallError: OpenMPI requires both C and Fortran compilers!
/Users/iwan/spack/var/spack/repos/builtin/packages/openmpi/package.py:616, in die_without_fortran:
613 # dependencies depends_on('mpi'), require Fortran compiler to
614 # avoid delayed build errors in dependents.
615 if (self.compiler.f77 is None) or (self.compiler.fc is None):
>> 616 raise InstallError(
617 'OpenMPI requires both C and Fortran compilers!'
618 )
See build log for details:
/var/folders/z6/772r50hx1p74tw5plqq0rjrc0000gn/T/iwan/spack-stage/spack-stage-openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr/spack-build-out.txt
==> Warning: Skipping build of parmetis-4.0.3-ulnzkuy4wzfs72avhhgvu4qhqkfse4zv since openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr failed
==> Warning: Skipping build of scotch-7.0.1-dwrjkeeq7adhwfa3mbwlynoyxgyaec6m since openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr failed
==> Warning: Skipping build of hdf5-1.12.1-j2bzmcg5y5e2sf5ooayvglapfvq7mio3 since openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr failed
==> Warning: Skipping build of py-mpi4py-3.1.2-ly7dg4wr22pmzqtzqqc7sg2jiahg7l53 since openmpi-4.1.3-r52iysxa7fskx46xgc3ts66fzxsfw7vr failed
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/ninja-1.10.2-axwgknw5jjcjecytae7cvjxst7ry2pqh
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-pip-21.3.1-qlspzkvv5tsw3r4rsg5ikjxl47znnoff
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/flex-2.6.4-vtw5z4r2aniroylsom6zefjhhldqzetj
==> Installing xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy
==> No binary for xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy found: installing from source
==> Using cached archive: /Users/iwan/spack/var/spack/cache/_source-cache/archive/dd/dd1bf4c4eba5fbcf386abba2627fcb4a947d14a806c33fde82d0cc1194807ee4.tar.gz
==> No patches needed for xtensor
==> xtensor: Executing phase: 'cmake'
==> Error: ProcessError: Command exited with status 1:
'cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_FIND_FRAMEWORK:STRING=LAST' '-DCMAKE_FIND_APPBUNDLE:STRING=LAST' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy/lib;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy/lib64;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/intel-tbb-2020.3-kstrrvfyfryufpejuwtz7irjl4sqla4c/lib;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xsimd-7.5.0-3ej2iax7q24k6ofg5qnjxxuchpotg3ek/lib' '-DCMAKE_PREFIX_PATH:STRING=/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xtl-0.7.4-2zv44pqowg7546v22xtesaqagscrccde;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/xsimd-7.5.0-3ej2iax7q24k6ofg5qnjxxuchpotg3ek;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/intel-tbb-2020.3-kstrrvfyfryufpejuwtz7irjl4sqla4c;/Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/cmake-3.23.0-2fgvumk7mp75jdss5222hqqvtctwelyq' '-DBUILD_TESTS:BOOL=OFF' '-DXTENSOR_USE_XSIMD:BOOL=ON' '-DXTENSOR_USE_TBB:BOOL=ON' '/var/folders/z6/772r50hx1p74tw5plqq0rjrc0000gn/T/iwan/spack-stage/spack-stage-xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy/spack-src'
1 error found in build log:
5 -- Detecting CXX compiler ABI info - done
6 -- Check for working CXX compiler: /Users/iwan/spack/lib/spack/env/c
lang/clang++ - skipped
7 -- Detecting CXX compile features
8 -- Detecting CXX compile features - done
9 -- Building xtensor v0.24.1
10 -- Found xtl: /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/appl
e-clang-13.0.0/xtl-0.7.4-2zv44pqowg7546v22xtesaqagscrccde/include/xt
l
>> 11 CMake Error at CMakeLists.txt:72 (find_package):
12 Could not find a configuration file for package "xsimd" that is co
mpatible
13 with requested version "8.0.2".
14
15 The following configuration files were considered but not accepted
:
16
17 /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13
.0.0/xsimd-7.5.0-3ej2iax7q24k6ofg5qnjxxuchpotg3ek/lib/cmake/xsimd/xs
imdConfig.cmake, version: 7.5.0
See build log for details:
/var/folders/z6/772r50hx1p74tw5plqq0rjrc0000gn/T/iwan/spack-stage/spack-stage-xtensor-0.24.1-tbuce2ontvged2a2ms76uvpupfknj7yy/spack-build-out.txt
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-wheel-0.37.0-anqsmlzr2lcddq2hinl34ki67gpk35ka
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-setuptools-59.4.0-yhlrnzf2opiumfrj4cexi4dbn4cevitt
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-pybind11-2.7.1-zsadqlaf22htowz2tsp4yxwz5m46tzaj
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-pycparser-2.20-d2gzz63jqbq27dad4wvumd6dgtotzswb
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-cython-0.29.24-i7k32letnfjo35raywxp3xti3rmu5wz5
[+] /Users/iwan/spack/opt/spack/darwin-bigsur-haswell/apple-clang-13.0.0/py-cffi-1.15.0-pi74qbwg7b27nfenlyjg2fssj3dxerz6
==> Error: py-fenics-dolfinx-0.3.0-btjwkpykl632bohc5dc2bptji2cqpoav: Package was not installed
==> Error: Installation request failed. Refer to reported errors for failing package(s).
I want to install fenicsx and tfel/mfront on an isolated environment for trying out.
Is there any suggestions?
Kind regards
Iwan