Skip to content

update build recipes to conduit 0.9.7 - #1752

Merged
cyrush merged 10 commits into
developfrom
task/2026_07_update_conduit
Aug 13, 2026
Merged

update build recipes to conduit 0.9.7#1752
cyrush merged 10 commits into
developfrom
task/2026_07_update_conduit

Conversation

@cyrush

@cyrush cyrush commented Jul 26, 2026

Copy link
Copy Markdown
Member

No description provided.

@cyrush cyrush added this to the 0.9.6 milestone Jul 30, 2026
@cyrush

cyrush commented Aug 11, 2026

Copy link
Copy Markdown
Member Author
[ 25%] Building CUDA object libs/ascent/CMakeFiles/ascent.dir/runtimes/ascent_main_runtime.cpp.o
cd /build/libs/ascent && /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++ -DASCENT_EXPORTS_FLAG -DCAMP_HAVE_CUDA -DFMT_HEADER_ONLY=1 -DH5_BUILT_AS_DYNAMIC_LIB -DVISKORESDIY_MPI_AS_LIB -DVISKORESDIY_MPI_STATIC_BUILD -DVISKORESDIY_NO_THREADS -DVISKORES_DEVICE_LINKED -DVISKORES_IS_VISKORES_TARGET -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -DVISKORES_IS_DEVICE_SOURCE --options-file CMakeFiles/ascent.dir/includes_CUDA.rsp -Xnvlink=--suppress-stack-size-warning --expt-extended-lambda --expt-relaxed-constexpr  -Xptxas --disable-optimizer-constants -O3 -DNDEBUG -std=c++17 "--generate-code=arch=compute_80,code=[compute_80,sm_80]" -Xcompiler=-fPIC -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/hypre-2.32.0-j6zkvfbmfztjzsgstqjrbnwmsvrf6lsd/include -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/metis-5.1.0-jyhboniua4xu6hrema2c7cdc7ius4sps/include -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/hdf5-1.8.23-haksnqqzfuue375bmf2tzpeom3aacfju/include -I/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/zlib-ng-2.2.1-3pwszuelnpgaqr674uylnvm7uzlojcmb/include -Xcompiler=-ffunction-sections -flto=auto -ffat-lto-objects --expt-relaxed-constexpr -MD -MT libs/ascent/CMakeFiles/ascent.dir/runtimes/ascent_main_runtime.cpp.o -MF CMakeFiles/ascent.dir/runtimes/ascent_main_runtime.cpp.o.d -x cu -rdc=true -c /ascent/src/libs/ascent/runtimes/ascent_main_runtime.cpp -o CMakeFiles/ascent.dir/runtimes/ascent_main_runtime.cpp.o
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h: In function 'std::system_error conduit_fmt::v12::vsystem_error(int, conduit_fmt::v12::string_view, conduit_fmt::v12::format_args)':
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h:168:8: error: expected primary-expression before 'class'
  168 |   return std::system_error(ec, vformat(fmt, args));
      |        ^~~~~
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h:168:7: error: expected ';' before 'class'
  168 |   return std::system_error(ec, vformat(fmt, args));
      |       ^~~~~~
      |       ;
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h:168:8: error: expected primary-expression before 'class'
  168 |   return std::system_error(ec, vformat(fmt, args));
      |        ^~~~~
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h: In function 'void conduit_fmt::v12::format_system_error(conduit_fmt::v12::detail::buffer<char>&, int, const char*)':
/uberenv_libs/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.4.0/conduit-0.9.7-6rdg22pqcqobufhd5vddrh4oml2cotcn/include/conduit/conduit_fmt/format-inl.h:1429:48: error: expected primary-expression before 'class'
 1429 |     detail::write(appender(out), std::system_error(ec, message).what());
      |                                                ^~~~~
make[2]: *** [libs/ascent/CMakeFiles/ascent.dir/build.make:147: libs/ascent/CMakeFiles/ascent.dir/runtimes/ascent_main_runtime.cpp.o] Error 1
make[2]: Leaving directory '/build'
make[1]: *** [CMakeFiles/Makefile2:2902: libs/ascent/CMakeFiles/ascent.dir/all] Error 2
make[1]: Leaving directory '/build'
make: *** [Makefile:146: all] Error 2

@cyrush

cyrush commented Aug 11, 2026

Copy link
Copy Markdown
Member Author

Found the issue.

fmt 12 uses new exception logic -- this logic doesn't survive nvcc (fmt 7 worked fine)

We have source files marked as device (triggering cuda, hip, etc compilation) that are using fmt.

Luckily these source files don't actually need to be compiled with a device compiler.
Fix is to remove them from the device sources.

@cyrush

cyrush commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

Green!

@cyrush
cyrush merged commit 60a9769 into develop Aug 13, 2026
20 checks passed
@cyrush
cyrush deleted the task/2026_07_update_conduit branch August 13, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant