Open mdavis36 opened 2 years ago
@mdavis36 conduit 0.8.3 has a fix related to linking with zlib and hdf5. Can you try with conduit 0.8.3?
@mdavis36 also, axom 0.5.0 is pretty old. you should probably update to 0.6.1
@cyrush @rhornung67 We are using 0.8.2 and 0.5.0 as that is what the our customer codes are using. conduit 0.8.3 + axom 0.5.0 produced the same error as above. With conduit 0.8.3 + axom 0.6.1 I got :
18 errors found in build log:
406 make[2]: Leaving directory `/usr/WS2/davis291/SPHERAL/spheral-spack-tpls/builds/spack-stage-axom-0.6.1-tadbh4yfa25a5a3uv
lxbuix75oydmnwl/spack-build-tadbh4y'
407 /usr/tce/packages/cmake/cmake-3.20.2/bin/cmake -E cmake_copy_f90_mod lib/fortran/axom_quest.mod axom/quest/CMakeFiles/qu
est.dir/axom_quest.mod.stamp GNU
408 [ 95%] Built target primal
409 /usr/tce/packages/cmake/cmake-3.20.2/bin/cmake -E touch axom/quest/CMakeFiles/quest.dir/interface/c_fortran/wrapfquest.F
.o.provides.build
410 /usr/tce/packages/cmake/cmake-3.20.2/bin/cmake -E cmake_copy_f90_mod lib/fortran/axom_sidre.mod axom/sidre/CMakeFiles/si
dre.dir/axom_sidre.mod.stamp GNU
411 /usr/tce/packages/cmake/cmake-3.20.2/bin/cmake -E touch axom/sidre/CMakeFiles/sidre.dir/interface/c_fortran/wrapfsidre.F
.o.provides.build
>> 412 /usr/WS2/davis291/SPHERAL/spheral-spack-tpls/builds/spack-stage-axom-0.6.1-tadbh4yfa25a5a3uvlxbuix75oydmnwl/spack-src/sr
c/axom/quest/interface/signed_distance.cpp:37:23: error: ‘OMP_EXEC’ in namespace ‘axom’ does not name a type
413 using ExecOMP = axom::OMP_EXEC;
414 ^~~~~~~~
415 /usr/WS2/davis291/SPHERAL/spheral-spack-tpls/builds/spack-stage-axom-0.6.1-tadbh4yfa25a5a3uvlxbuix75oydmnwl/spack-src/sr
c/axom/quest/interface/signed_distance.cpp:37:17: note: suggested alternative: ‘SEQ_EXEC’
416 using ExecOMP = axom::OMP_EXEC;
417 ^~~~
418 SEQ_EXEC
>> 419 /usr/WS2/davis291/SPHERAL/spheral-spack-tpls/builds/spack-stage-axom-0.6.1-tadbh4yfa25a5a3uvlxbuix75oydmnwl/spack-src/sr
c/axom/quest/interface/signed_distance.cpp:38:47: error: ‘ExecOMP’ was not declared in this scope
420 using SignedDistance3DOMP = SignedDistance<3, ExecOMP>;
421 ^~~~~~~
422 /usr/WS2/davis291/SPHERAL/spheral-spack-tpls/builds/spack-stage-axom-0.6.1-tadbh4yfa25a5a3uvlxbuix75oydmnwl/spack-src/sr
c/axom/quest/interface/signed_distance.cpp:38:47: note: suggested alternative: ‘ExecSeq’
423 using SignedDistance3DOMP = SignedDistance<3, ExecOMP>;
424 ^~~~~~~
425 ExecSeq
This new error seems to come from axom ~raja, building axom +raja fixes this. We plan on bringing raja into our dependencies soon, so we can work around this in the meantime, but it still looks like this is a broken spack configuration to be aware about.
@mdavis36 -- for completeness -- which version of spack are you using?
We are getting failures in our spack builds of Axom when Conduit is static and when
MPI
is disabled. Below is the configuration we are trying to build:The error seems to happen when linking
mesh_tester
.ld
is reporting an undefined reference to in thehdf5
library so I'm not certain what's happening here.If Conduit is built
+shared
we can build Axom, however our customer codes preference is to use the static version of these libraries if at all possible.