Closed 1uc closed 11 months ago
Weird that it has:
^fmt@9.1.0%gcc@12.2.0~ipo+pic~shared build_system=cmake build_type=RelWithDebInfo cxxstd=11 patches=08fb707 arch=linux-rhel7-skylake
But doesn't find the Findfmt.cmake
.
Any ideas @matz-e, before I look into this?
The libsonata/package.py
has:
depends_on("fmt@4.0:")
Which I thought would imply build, maybe it doesn't? Not sure what MPI
does to this whole thing, there are a bunch of conditionals on MPI
on the package.py
, too...
I tried setting depends_on("fmt@4.0:", type="build",)
and got the same error.
In the build log; I see this for both:
-DCMAKE_PREFIX_PATH:STRING=[....];/gpfs/bbp.cscs.ch/ssd/apps/bsd/2023-02-23/stage_applications/install_gcc-12.2.0-skylake/fmt-9.1.0-t7yyhx;[....]
Which looks right, and the ordering of the pre and post [...]
are the same...very confusing.
Fixed by copying libfabric*
into the same directory as libmpi*
. Now something that's less than a band-aid...
Alternative: Intel® stuff is outdated, we're supposed to use 1api™. libsonata^intel-oneapi-mpi
compiles out-of-the-box for me.
Note to self, @matz-e found this by opening the spack-build-out.txt
; which pointed to CMakeError.log
, which had:
/gpfs/bbp.cscs.ch/ssd/apps/bsd/2023-02-23/stage_compilers/install_gcc-4.8.5-haswell/binutils-2.37-l5h4u2/bin/ld: warning: libfabric.so.1, needed by /gpfs/bbp.cscs.ch/project/proj30/tickets/NSETM-2061-minis-validatio
n-dask-jobqueue/install/install_gcc-12.2.0-skylake/intel-mpi-2019.10.317-cau5lw/compilers_and_libraries_2020.4.317/linux/mpi/intel64/lib/release/libmpi.so, not found (try using -rpath or -rpath-link)
/gpfs/bbp.cscs.ch/ssd/apps/bsd/2023-02-23/stage_compilers/install_gcc-4.8.5-haswell/binutils-2.37-l5h4u2/bin/ld: /gpfs/bbp.cscs.ch/project/proj30/tickets/NSETM-2061-minis-validation-dask-jobqueue/install/install_gcc
-12.2.0-skylake/intel-mpi-2019.10.317-cau5lw/compilers_and_libraries_2020.4.317/linux/mpi/intel64/lib/release/libmpi.so: undefined reference to `fi_freeinfo@FABRIC_1.1'
[....]
I think this can be closed; seems to be on the spack side.
The following steps fail to build on BB5:
The resulting config file is:
The error is:
Finally the
spack spec
: