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-3.4.1 fails to build with the build_visit script on various systems #20020

Open
jrobcary opened this issue Nov 7, 2024 · 3 comments
Open
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 Nov 7, 2024

Describe the bug

VisIt-3.4.1 fails to build with the build_visit script on various systems

Case 1: perlmutter @ nersc
Log: build_visit_log.perlmutter.gz

/pscratch/sd/c/cary/visitall/bvm/visit-3.4.1/visit3.4.1/src/tools/dev/scripts/build_visit --qt6 --llvm --mesagl --hdf5 --makeflags -j12 --thirdparty-path /global/cfs/cdirs/txsupp/cary/perlmutter/software-gcc1230/visit-3.4.1 --prefix /global/cfs/cdirs/txsupp/cary/perlmutter/software-gcc1230/visit-3.4.1-bvm
Fails to configure llvm
checking for glproto >= 1.4.14... no
configure: error: Package requirements (glproto >= 1.4.14) were not met:

No package 'glproto' found

Ignore below for now. Trying to duplicate.
Case 2: Sonoma-14.5,xcode-15.4
Log: build_visit_log-son14.5,xc15.4.gz
Fails to build HDF5 (1.8.14)
Log is build_visit_log-son14.5,xc15.4.gz

../../test/tmisc.c:2713:63: error: incompatible pointer to integer conversion initializing 'const char' with an expression of type 'void *' [-Wint-conversion]
                        {"1234567", "1234567\0", "12345678", {NULL}};
                                                              ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/stddef.h:89:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^~~~~~~~~~
../../test/tmisc.c:2792:63: error: incompatible pointer to integer conversion initializing 'const char' with an expression of type 'void *' [-Wint-conversion]
                        {"1234567", "1234567\0", "12345678", {NULL}};

LOGS
build_visit_log-son14.5,xc15.4.gz
build_visit_log.perlmutter.gz

@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 Nov 7, 2024
@jrobcary
Copy link
Contributor Author

Changing name, as now working on on Mac OS X.

I see at https://visit-dav.github.io/visit-website/index.html: Supported on many LCFs, which lists NERSC, and I see https://docs.nersc.gov/applications/visit/. However, I still need to know how to build it, as we make some modifications to VisIt to use it within our software package.

@cyrush
Copy link
Member

cyrush commented Nov 11, 2024

Thanks @jrobcary. Perlmutter lacks some of the system X11 headers and libs need to build Visit.

We have used spack to build a larger stack (including x11) on systems like this.

It's not for the faint of heart, if you have active support at NERSC, perhaps we could ask them to install these system headers?

@brugger1
Copy link
Collaborator

@jrobcary, Gunther had some success building on Perlmutter. His experience is documented in #19651.

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

3 participants