visit
visit copied to clipboard
Building IceT on kickit fails with cmake first time around.
I was running build_visit
on kickit and it failed executing cmake
when building IceT. On kickit, there is a gcc
installed in a non-standard location, so the LD_LIBRARY_PATH
is set appropriately. When it builds VTK, cmake
runs fine, but by the time it gets to IceT, it fails because it is getting the wrong standard C++ library. If I run build_visit
a second time IceT builds successfully. My thought is that something gets messed up for cmake
to run building one of the packages. On the second time through, it has already built the bad package and so cmake
runs properly when building IceT.
Here are the error messages I get:
/usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake)
/usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake)
/usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake)
/usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake)
/usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/gapps/visit/thirdparty_shared/3.4.0/mesagl/cmake/3.24.3/linux-x86_64_gcc-9.1/bin/cmake)
Here is my build_visit
invocation:
export CC=/usr/gapps/gcc/gcc-9.1/bin/gcc
export CXX=/usr/gapps/gcc/gcc-9.1/bin/g++
export LD_LIBRARY_PATH=/usr/gapps/gcc/gcc-9.1/lib64:/usr/gapps/gcc/gcc-9.1/lib
export PATH=/usr/gapps/gcc/gcc-9.1/bin:$PATH
env CC=/usr/gapps/gcc/gcc-9.1/bin/gcc CXX=/usr/gapps/gcc/gcc-9.1/bin/g++ \
./$build_visit_script --required --optional --parallel --mpich --mesagl --uintah --vtk9 --no-adios2 --no-moab --no-visit --thirdparty-path /usr/gapps/visit/thirdparty_shared/$version/mesagl --makeflags -j4