Hi Jan,
Jan André Reuter <j.reuter-97/[email protected]>
writes:
> Toolchains using FlexiBLAS as their LinAlg backend will define a
> number of banned shared libraries, which should not appear in the
> built applications.
> This includes OpenBLAS, i.e. libopenblas.so. In your case, the
> application linked against OpenBLAS directly. Instead, it should've
> linked against FlexiBLAS.
>
> The application is therefore either directly checking for OpenBLAS,
> which might require a patch, or we can pass FlexiBLAS in via some
> config option for example.
I was able to add
configopts = '--with-blas=flexiblas --with-lapack=flexiblas'
which then allowed the sanity check to pass.
Thanks to you and to Alan,
Cheers,
Loris
> Generally, FlexiBLAS allows users to freely choose the actual BLAS
> implementation at runtime, with the default being OpenBLAS. This
> should always be the preferred option over just hard-linking to some
> BLAS implementation.
>
> Best regards,
> Jan
>
> On 27.08.25 15:45, Loris Bennett wrote:
>> Hi,
>>
>> What does the following error mean
>>
>> ERROR: Installation of CFOUR-2.1-foss-2024a.eb failed: 'Sanity check
>> failed: Check for banned/required shared libraries failed for
>> /trinity/shared/easybuild/software/CFOUR/2.1-foss-2024a/bin/xlcc, ...
>>
>> ?
>>
>> I have just
>>
>> sanity_check_paths = {
>> 'files': ["bin/qcfour"],
>> 'dirs': ["bin", "lib"]
>> }
>>
>> and the required libraries seem to be available:
>>
>> [build@dadmin easyconfigs]$ ldd
>> /trinity/shared/easybuild/build/CFOUR/2.1/foss-2024a/cfour-public-v2.1/bin/xlcc
>> linux-vdso.so.1 (0x00007ffcbc1d5000)
>> librt.so.1 => /lib64/librt.so.1 (0x00007f7fc68fe000)
>> libopenblas.so.0 =>
>> /trinity/shared/easybuild/software/OpenBLAS/0.3.27-GCC-13.3.0/lib/../lib64/libopenblas.so.0
>> (0x00007f7fc5af9000)
>> libgfortran.so.5 =>
>> /trinity/shared/easybuild/software/GCCcore/13.3.0/lib64/libgfortran.so.5
>> (0x00007f7fc5822000)
>> libm.so.6 => /lib64/libm.so.6 (0x00007f7fc54a0000)
>> libgcc_s.so.1 =>
>> /trinity/shared/easybuild/software/GCCcore/13.3.0/lib64/libgcc_s.so.1
>> (0x00007f7fc6cf8000)
>> libc.so.6 => /lib64/libc.so.6 (0x00007f7fc50c9000)
>> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7fc4ea9000)
>> libgomp.so.1 =>
>> /trinity/shared/easybuild/software/GCCcore/13.3.0/lib64/libgomp.so.1
>> (0x00007f7fc6ca1000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007f7fc6b06000)
>> libdl.so.2 => /lib64/libdl.so.2 (0x00007f7fc4ca5000)
>>
>> Or is something missing in my sanity check?
>>
>> Cheers,
>>
>> Loris
>>
--
Dr. Loris Bennett (Herr/Mr)
FUB-IT, Freie Universität Berlin