-
Notifications
You must be signed in to change notification settings - Fork 111
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 Compile error: PyVTKReference.cxx:1061:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization #19582
Comments
@tharman-git can you try building with VTK-9 support?
|
@tharman-git, you might also want to try --qt6 as Qt 6 is the preferred version. |
Thanks. `checking whether Fortran 77 compiler accepts option -O2... yes
I've attached the log file. Note, this cluster has mpich modules if that helps: |
I was able to get passed the fortran compiler issue by setting the flag: See URL below for details: I then ran: '/configure --enable-shared --enable-fortran=all --prefix= |
To configure Uintah I added 21388: CFLAGS="-std=c++11 $CFLAGS $C_OPT_FLAGS -headerpad_max_install_names" CXXFLAGS="-std=c++11 $CXXFLAGS $CXX_OPT_FLAGS" 21409: CFLAGS="-std=c++11 $CFLAGS $C_OPT_FLAGS" CXXFLAGS="-std=c++11 $CXXFLAGS $CXX_OPT_FLAGS" \ |
Yes, we discovered this and have fixed it for our next release. |
@tharman-git we updated build_visit to add the |
@tharman-git we think we have smoothed out the bumps, if you have any more issues please open a new ticket and we will work with you on them |
@cyrush I send an email regarding an updated version of Uintah that is c++17 compliant. Did you receive it? |
@tharman-git Sorry - I don't believe I did, can you resend? |
Greetings,
I'm hitting a compilation error:
3.4.1-build/VTK-8.1.0/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx:230:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization 3.4.1-build/VTK-8.1.0/Wrapping/PythonCore/PyVTKReference.cxx:1061:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization 3.4.1-build/VTK-8.1.0/Wrapping/PythonCore/PyVTKReference.cxx:1118:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization 3.4.1-build/VTK-8.1.0/Wrapping/PythonCore/PyVTKReference.cxx:1175:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization 3.4.1-build/VTK-8.1.0/Wrapping/PythonCore/PyVTKReference.cxx:1232:1: error: cannot convert 'std::nullptr_t' to 'Py_ssize_t' {aka 'long int'} in initialization
with the the command:
build_visit3_4_1 --parallel --fortran --uintah --no-icet --mesagl --llvm --no-sphinx --skip-opengl-context-check --mpich --server-components-only --makeflags -j10
Attached is the log file.
build_visit3_4_1_log.gz
I'm compiling this on a cluster that is running:
Rocky Linux 8.8
with the modules:
Thanks for any insight you may have.
Todd Harman
University of Utah
The text was updated successfully, but these errors were encountered: