[Paraview] Building Parallel ParaView on 64 bit Linux System
Peter Schmitt
pschmittml at gmail.com
Wed May 13 18:51:13 EDT 2009
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
More information about the ParaView
mailing list