runnning with dummy Pstream library does not have pthread dependency
For now add it to dummy/Pstream dependency (since libOSspecific is not a shared library)
Site will likely be offline for maintenance 23/24 April - more details soon
For now add it to dummy/Pstream dependency (since libOSspecific is not a shared library)
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
mentioned in commit 5decf21c9e31c90ad6a08b4fbb44daad6ff3c640
closed
mentioned in commit a587c9d11a86e4081d146ddc897837f8d8971794
reopened
The dependency is now through libOpenFOAM.so (threaded file writing uses pthread). Delete the mpi libPstream.so (but keep the dummy one) and applications will complain:
simpleFoam: symbol lookup error: openfoam/platforms/linux64GccSPDPInt32Opt/lib/libOpenFOAM.so: undefined symbol: pthread_create
assigned to @mark
Should we be compiling with -pthread
instead somewhere?
We're using std::thread in OpenFOAM/lnInclude/OFstreamCollator.C. So guess already inside OpenFOAM/Make/options there should be a -lpthread
mentioned in commit 739bc3c4
Added in -pthread.
closed
mentioned in commit 8075804b