prusso@yoga:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
I installed jammy natively and tried to install with spack so far I got a:
gcc@=11.4.0’ does not have a Fortran 90 compiler configured.
So I tried to apt install gfortran and install openblas again but same error again about no fortran. Any way to get things to go through spack for my release of Ubuntu?
==> Installing openblas-0.3.25-izpaf3czdu2i7ormbm5ovgelrv7prouy [10/10]
==> No binary for openblas-0.3.25-izpaf3czdu2i7ormbm5ovgelrv7prouy found: installing from source
==> Using cached archive: /home/prusso/spack/var/spack/cache/_source-cache/archive/4c/4c25cb30c4bb23eddca05d7d0a85997b8db6144f5464ba7f8c09ce91e2f35543.tar.gz
==> No patches needed for openblas
==> openblas: Executing phase: 'edit'
==> openblas: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j8' '-s' 'CC=/home/prusso/spack/lib/spack/env/gcc/gcc' 'FC=/home/prusso/spack/lib/spack/env/gcc/gfortran' 'MAKE_NB_JOBS=0' 'ARCH=x86_64' 'TARGET=SKYLAKEX' 'NO_AVX512=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'all'
5 errors found in build log:
80 expr: syntax error: unexpected argument 'cc]'
81 ar: `u' modifier ignored since `D' is the default (see `U')
82 expr: syntax error: unexpected argument 'cc]'
83 expr: syntax error: unexpected argument 'cc]'
84 ar: `u' modifier ignored since `D' is the default (see `U')
85 [spack cc] ERROR: Compiler 'gcc@=11.4.0' does not have a Fortran 90 compiler configured.
>> 86 make[2]: *** [Makefile:66: spotrf2.o] Error 1
87 make[2]: *** Waiting for unfinished jobs....
88 [spack cc] ERROR: Compiler 'gcc@=11.4.0' does not have a Fortran 90 compiler configured.
>> 89 make[2]: *** [Makefile:66: sgetrf2.o] Error 1
90 [spack cc] ERROR: Compiler 'gcc@=11.4.0' does not have a Fortran 90 compiler configured.
>> 91 make[2]: *** [Makefile:66: sgbbrd.o] Error 1
>> 92 make[1]: *** [Makefile:27: lapacklib] Error 2
>> 93 make: *** [Makefile:280: netlib] Error 2
See build log for details:
/tmp/prusso/spack-stage/spack-stage-openblas-0.3.25-izpaf3czdu2i7ormbm5ovgelrv7prouy/spack-build-out.txt
==> Error: openblas-0.3.25-izpaf3czdu2i7ormbm5ovgelrv7prouy: Package was not installed
==> Error: Installation request failed. Refer to reported errors for failing package(s).