runTimePostProcessing : Failed closing "librunTimePostProcessing.so" when run finishes
Continuation or re-opening of #354 (closed)
- Test Case: tutorials/incompressible/simpleFoam/windAroundBuildings
- Version : v1912
- OS: CentOS 7.4
- VTK: 8.2.0 (compiled from VTK sources with Spack)
- MPI: intel-mpi@2019.6.154
- Compiler: intel@19.0.5.281
- systemGCC: 4.8.5
I successful compiled OpenFOAM v1912 with the off-screen feature implemented in VTK. VTK has been compiled from sources, version 8.2, using the Spack vtk recipe. The vtk package of spack has been patched by adding
-DModule_vtkRenderingParallel=ON
otherwise OpenFOAM fails to compile the runTimePostProcessing module.
To test the software, I run the windAroundBuildings test case. After finishing the run, the following message is thrown for both single processor and for multiprocessor. However the image file is dumped in normal way and is fine.
--> FOAM Warning :
From function void Foam::dlLibraryTable::clear(bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 164
Failed closing "librunTimePostProcessing.so" with handle 0x2c893e0
Finalising parallel run
simpleFoam: symbol lookup error: /galileo/home/userinternal/sbna0000/spack/opt/spack/linux-centos7-broadwell/gcc-8.3.0/vtk-8.2.0-5edsni3orkxikqdmrrlp7ghdqp6lowv4/lib64/libvtkCommonExecutionModel-8.2.so.1: undefined symbol: _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
I run
nm -D /galileo/home/userinternal/sbna0000/spack/opt/spack/linux-centos7-broadwell/gcc-8.3.0/vtk-8.2.0-5edsni3orkxikqdmrrlp7ghdqp6lowv4/lib64/libvtkCommonExecutionModel-8.2.so.1 | grep _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
which returns _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv, so this function is there, in the dynamic symbol table.
Edited by Kutalmış Berçin