I have finally got ParaView built on Titan with the pgi compiler. However, when 
I link our simulation code (also built with the pgi compiler and run 
successfully on Titan) with those ParaView coprocessing libraries, I got the 
following linking error:
----------------------------------------------------------------
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in 
`/opt/cray/xe-sysroot/4.1.40/usr/lib64/libc.a(strcmp.o)' can not be used when 
making an executable; recompile with -fPIE and relink with -pie
----------------------------------------------------------------
Before this linking error, there are a couple of warnings such as the following:
--------------------------------------------------
/ccs/proj/nfi010/ParaView/ParaView-3.98.1-source/VTK/Common/System/vtkSocket.cxx:425:
 warning: Using 'gethostbyaddr' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
--------------------------------------------------

I am not sure why glibc.a is still needed even when linking to ParaView 
libraries built with pgi compiler. I just checked ccmake options and find only 
the following two glibc-related options:
CMake_LINKER: /usr/bin/ld
CMAKE_MAKE_PROGRAM: /usr/bin/gmake

I have built ParaView with BUILD_SHARED_LIBS off, but do have to link to a few 
shared libraries such as libpthread.so,  libalpslli.so, etc. since the 
corresponding static library versions don't work or don't exist.

Any idea on what could be the caveat? I am hopeful this would be the last issue 
to be resolved before we can link our simulation code to ParaView CoProcessing 
libraries to run in-situ visualization on Titan. Thanks for any 
ideas/suggestions!

Hong

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to