Hello. I'm switching to CodeSaturne 6.x branch on Kubuntu 16 (up-to-date) and have problems with Saturne compilation.
Versions 6.0.6 (current main version) and 6.3.0 (current feature version) build successfully in basic configuration but won't compile in Catalyst mode. I use ParaView 5.8.1 (current version). I configured it with options below:
Code: Select all
CMAKE_INSTALL_PREFIX /Programs/ParaView-5.8.1/install-catalyst
PARAVIEW_BUILD_EDITION CATALYST
PARAVIEW_INSTALL_DEVELOPMENT_F ON
PARAVIEW_USE_PYTHON ON
PARAVIEW_USE_MPI ON
MPIEXEC_EXECUTABLE /Programs/openmpi-1.8.4/build/bin/mpiexec
MPIEXEC_MAX_NUMPROCS 16 (Number of cores)
MPIEXEC_NUMPROC_FLAG -np
It configured and built OK, but when I compile Saturne with standard options I used for version 5.x
Code: Select all
./configure --prefix=/Programs/Code_Saturne-6.0.6-mpi-1.8.4-PV-5.2.0/build-catalyst/ \
--with-libxml2=/Programs/libxml2-2.9.0/build/ \
--with-med=/Programs/med-3.2.0/build/ \
--with-hdf5=/Programs/hdf5-1.8.10/build/ \
--with-mpi=/Programs/openmpi-1.8.4/build/ \
--with-cgns=/Programs/cgnslib-3.2.1/build \
--with-scotch=/Programs/scotch-5.1.12/build \
--with-catalyst=/Programs/ParaView-5.8.1/install-catalyst \
--enable-openmp
I get the following on Saturne configure:
Code: Select all
...
checking ParaView/Catalyst version above 5.6... CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find MPI (missing: MPI_C_FOUND C)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/patches/3.16/FindMPI.cmake:1705 (find_package_handle_standard_args)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/VTK-vtk-module-find-packages.cmake:203 (find_package)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/vtk-config.cmake:129 (include)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/paraview-config.cmake:53 (find_package)
CMakeLists.txt:6 (find_package)
no
checking ParaView/Catalyst version 5.6 or older... CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find MPI (missing: MPI_C_FOUND C)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/patches/3.16/FindMPI.cmake:1705 (find_package_handle_standard_args)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/VTK-vtk-module-find-packages.cmake:203 (find_package)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/vtk-config.cmake:129 (include)
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/paraview-config.cmake:53 (find_package)
CMakeLists.txt:5 (FIND_PACKAGE)
CMake Warning (dev) in /Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/vtk-config.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/vtk/vtk-config.cmake
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
/Programs/ParaView-5.8.1/install-catalyst/lib/cmake/paraview-5.8/paraview-config.cmake:53 (find_package)
CMakeLists.txt:5 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
no
configure: error: in `/Programs/Code_Saturne-6.0.6-mpi-1.8.4-PV-5.2.0/source':
configure: error: Catalyst co-processing support requested, but test for Catalyst failed!
See `config.log' for more details
What can be the problem? You can find software versions used in configure arguments above. System MPI version is 2.1.1. Both Saturne and ParaView-5.8.1 compiled with OpenMPI-1.8.4 because later versions caused very nasty random crashes. I tried ParaView-5.2.0 but it looks like modern Saturne doesn't support it (there are some VTK functions problems). Standard Saturne configuration witn MPI-1.8.4 is OK (configure/build/run GUI). Need your help...