[Paraview] Building Parallel ParaView on 64 bit Linux System

Andy Bauer andy.bauer at kitware.com
Wed May 13 19:36:17 EDT 2009


You can use "make VERBOSE=1" to see the full compile commands for a single
time.  There is also a an option in cmake to have it do it every time but I
don't know that off the top of my head.

Another possibility is that it may be another library that needs to be
compiled with -fPIC.

Andy

On Wed, May 13, 2009 at 6:51 PM, Peter Schmitt <pschmittml at gmail.com> wrote:

> Hello,
> I am attempting to build Parallel ParaView on a 64 bit Linux (CentOS 5.2)
> machine.
>
> C/C++ compilers:
> x86_64-redhat-linux-gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> MPI compilers:
> mpicc for 1.2.7 (release) of : 2005/06/22 16:33:49
> pgcc 7.2-4 64-bit target on x86-64 Linux -tp penryn-64
> Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
> Copyright 2000-2008, STMicroelectronics, Inc.  All Rights Reserved.
>
> The build gets about 35% of the way through before reporting an error:
>
> ### start snip ###
> ...
> [ 35%] Built target vtkParallel
> Linking CXX shared library ../../bin/libvtkHybrid.so
> /usr/bin/ld: /opt/local/pgi-7.2/linux86-64/7.2/lib/libpgc.a(va_arg.o):
> relocation R_X86_64_32 against `a local symbol' can not be used when making
> a shared object; recompile with -fPIC
> /opt/local/pgi-7.2/linux86-64/7.2/lib/libpgc.a: could not read symbols: Bad
> value
> collect2: ld returned 1 exit status
> gmake[2]: *** [bin/libvtkHybrid.so.pv3.4] Error 1
> gmake[1]: *** [VTK/Hybrid/CMakeFiles/vtkHybrid.dir/all] Error 2
> gmake: *** [all] Error 2
> ### end snip ###
>
> I have added "-fPIC" to both  CMAKE_CXX_FLAGS  and  MPI_COMPILE_FLAGS with
> no luck....  In order to troubleshoot this more, I'd like to see the actual
> link command that's killing the build.  How do I see the full link command
> using cmake + gmake?
>
> Cheers,
> Pete
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090513/d683c1a6/attachment.htm>


More information about the ParaView mailing list