Good morning,
foss should provide LAPACK support:
$ module whatis foss
foss/2024a : Description: GNU Compiler Collection (GCC) based compiler toolchain, including
OpenMPI for MPI support, OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK.
foss/2024a : Homepage: https://easybuild.readthedocs.io/en/master/Common-toolchains.html#foss-toolchain
foss/2024a : URL: https://easybuild.readthedocs.io/en/master/Common-toolchains.html#foss-toolchain
However I get:
$ module load foss
$ gfortran test.f90 -llapack
/opt/ebsofts/binutils/2.42-GCCcore-13.3.0/bin/ld: cannot find -llapack: No such file or directory
collect2: error: ld returned 1 exit status