Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VisIt does not build with spack on arm64-sequoia, Apple clang version 16.0.0 #20169

Open
jrobcary opened this issue Jan 1, 2025 · 2 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@jrobcary
Copy link
Contributor

jrobcary commented Jan 1, 2025

Describe the bug

Build launches on arm64-sequoia with

spack install -j16 visit -mfem -adios2 -netcdf -silo -conduit ^python+shared

vtk-9.2.6 failed to build with

make[2]: Entering directory '/private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw'
Undefined symbols for architecture arm64:
  "_ncmpi_inq_libvers", referenced from:
      _vtkexodusII_ex_config in ex_utils.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Desktop

  • Mac OS Sequoia 15.2
  • VisIt Version: 3.4.2
  • Server info (if applicable): NA

Additional context

Is there a variant for disabling exodus, which we do not need?

@jrobcary jrobcary added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Jan 1, 2025
@jrobcary
Copy link
Contributor Author

jrobcary commented Jan 2, 2025

It looks like this symbol is satisfied by netcdf, http://cucis.ece.northwestern.edu/projects/PnetCDF/doc/pnetcdf-c/ncmpi_005finq_005flibvers.html, but that was explicitly disabled in the spack call with '-netcdf'??

@jrobcary
Copy link
Contributor Author

jrobcary commented Jan 2, 2025

Tried building with netcdf, but then vtk fails to build:

cd /private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw/Rendering/Label && ../../bin/vtkWrapHierarchy-9.2 @/private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw/Rendering/Label/CMakeFiles/vtkRenderingLabel-hierarchy.Release.args -o /private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw/lib/vtk-9.2/hierarchy/VTK/vtkRenderingLabel-hierarchy.txt /private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw/Rendering/Label/CMakeFiles/vtkRenderingLabel-hierarchy.data @/private/var/folders/sb/q_z45xd974s7hnc9r9zjgy_r0000gr/T/cary/spack-stage/spack-stage-vtk-9.2.6-oj2iqhw5lp4p3qiu3bjbbgloefrnubfb/spack-build-oj2iqhw/Rendering/Label/CMakeFiles/vtkRenderingLabel-hierarchy.depends.args
Undefined symbols for architecture arm64:
  "_ncmpi_inq_libvers", referenced from:
      _vtkexodusII_ex_config in ex_utils.c.o
ld: symbol(s) not found for architecture arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

1 participant