Open markcmiller86 opened 8 months ago
Which gcc compiler are we trying there?
If it's too new maybe that could be tripping up cmake.
Maybe we can try an older one?
Which gcc compiler are we trying there?
11.2.0, same as was on trinity
The problem isn't the compiler. its the filesystem there. That is causing timestamps on various files to not quite line up. So, some files are seen as having been modified in the future. Normally, parallel make is the cause of this and -j 1
fixes. But, I tried that to no avail. The filesystem winds up causing operations in CMake's bootstrap to emit warnings. Those warnings get interpreted by CMake's bootstrapping logic as you can see here... https://github.com/Kitware/CMake/blob/1d52195b96140dab76678cfa541c540bda654b9c/Source/Checks/cm_cxx_features.cmake#L60-L63
I wonder if a newer cmake would work better on this system?
The issue with Qt6 on crossroads is that libxkbcommon-x11
is not present. I reverted to building qt510 there. There are system builds for qt 5.15.5 and 6.5.1 there but I don't think either has OpenGL enabled and libxkbcommon-x11 is not present in the later.
-fpermissive
to CFLAGS
and CXXFLAGS
may work (though it is drastic measure) but there is already patching logic there and it should be applied always.patch
detects and says is "harmless") can cause a build to fail if it winds up early returning from patches that follow. I don't know how prevalent this is in build_visit
in general but I discovered it hacking on bv_qt.sh
.Make sure run-build-visit
is update with crossroads (remove trinity)
Describe the bug
make unique
,std::unique_ptr
,std::filesystem
).-j 1
for make jobs. However, that still doesn't fix this issue on crossroads.Sources/Checks/cm_cxx_features.cmake
, and it seems more needs to be added all the time as new cases are encountered.-DCMake_HAVE_CXX_MAKE_UNIQUE:BOOL=ON
-DCMake_HAVE_CXX_UNIQUE_PTR:BOOL=ON
-DCMake_HAVE_CXX_FILESYSTEM:BOOL=ON
to work around this issue..zip
files with either sources or pre-compiled binaries for embree, rkcommon, tbb, ispc, glm, openvkl. Some of these have relevant top-level CMake variables we should set as follows...DOWNLOAD_ISPC:BOOL=OFF
DOWNLOAD_TBB:BOOL=OFF
BUILD_EMBREE_FROM_SOURCE:BOOL=ON
BUILD_ISPCRT_FROM_SOURCE:BOOL=ON
BUILD_TBB_FROM_SOURCE:BOOL=ON
In addition, we need to investigate use ofRKCOMMON_TASKING_SYSTEM:STRING=
which can be set toTBB
,OpenMP
andInternal
. Also we need to find the right place to stuff the requisite.zip
files that we cannot avoid downloading so that ospray will not attempt to download them.tcsh
shell. Themodule
command there is analias
. Therun-build-visit
script is a bash script which launches in a sub-shell. Themodule
commands there wind up silently failing. One has to have performed all the module work in the invoking shell first.run-build-visit
script may need tonewgrp visit
before attempting to install to a public place.visit-dav
,third-party
andvisit-website
(the latter with hope of possibly standing up a VisIt website on SCF). Getting this right is tricky and in future it might make sense to usegit bundle
. That said, here is the process...git clone
the repogit lfs pull
(git lfs fetch --all
might be better but it will download all versions to begining of time and not necessary)git submodule init; git submodule update
viewer
could not find some VTK libs.ldd
reported them asnot found
. I had to manually setLD_LIBRARY_PATH
to include the VTK installation.third_party/lib
or release assets for3.4.0
forthird_party
. We're successfully always downloading it frombit.ly
when we've been building.