Hi Bart,
On 31/01/14 03:10, Bart Verleye wrote:
Hey All,
When I install paraview 4.1 with the gmpolf toolchain, all goes well.
However, when I try the goolf 1.6.10, I get the error as attached.
Which is kind of strange, because when I configure and build myself in
the build directory, with the goolf toolchain loaded, all goes through.
Any ideas?
So, the following problem is occuring:
Linking CXX shared library ../../../lib/libvtkCommonCore-pv4.1.so
CMakeFiles/vtkCommonCore.dir/vtkMultiThreader.cxx.o: In function
`vtkMultiThreader::SingleMethodExecute()':
/gpfs1m/apps/easybuild/RHEL6.3/westmere/build/Paraview/4.1.0/goolf-1.6.10/ParaView-v4.1.0/VTK/Common/Core/vtkMultiThreader.cxx:382:
undefined reference to `pthread_create'
/gpfs1m/apps/easybuild/RHEL6.3/westmere/build/Paraview/4.1.0/goolf-1.6.10/ParaView-v4.1.0/VTK/Common/Core/vtkMultiThreader.cxx:400:
undefined reference to `pthread_join'
...
I've seen things like this before, and it's often related to $LIBS being
redefined by EasyBuild, in combination with using a newer GCC version
(like in goolf 1.6.10). This also explains why you're not seeing it when
trying manually.
Can you try adding the following, in your easyconfig file:
makeopts = 'LIBS="$LIBS -lpthread" VERBOSE=1'
The last part is only to make sure you're seeing what's going on...
Do let us know whether that helps at all.
regards,
Kenneth