[Paraview] Paraview will not build

Cook, Rich cook47 at llnl.gov
Tue Oct 25 21:01:53 EDT 2011


I have been tweaking for days on my CMakeCache.txt.
I don't know which are relevant to this but, here's a start:
Thanks!
BTW, I searched through our mpi headers and could not find a reference to MPI_IN_PLACE.  I'm wondering if there is a version of MPI which is being assumed.  We are using mvapich 0.9.9 I think.  This might be an option I could change.

//Build IceT with shared libraries.
ICET_BINARY_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/IceT
//Build and run the IceT tests.
ICET_BUILD_TESTING:BOOL=OFF
ICET_MAGIC_K:STRING=8
ICET_MAX_IMAGE_SPLIT:STRING=512
ICET_SOURCE_DIR:STATIC=/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT
ICET_USE_MPE:BOOL=OFF
//Build MPI communication layer for IceT.
ICET_USE_MPI:BOOL=ON
//Build OpenGL support layer for IceT.
ICET_USE_OPENGL:BOOL=ON
IceTCore_LIB_DEPENDS:STATIC=general;m;general;m;
IceTGL_LIB_DEPENDS:STATIC=general;m;general;IceTCore;general;/usr/lib64/libGLU.so;general;/usr/lib64/libGL.so;general;/usr/lib64/libSM.so;general;/usr/lib64/libICE.so;general;/usr/lib64/libX11.so;general;/usr/lib64/libXext.so;
IceTMPI_LIB_DEPENDS:STATIC=general;m;general;IceTCore;general;/usr/local/tools/mvapich-gnu/lib/shared/libmpich.so;
MPI_COMPILER:FILEPATH=/usr/local/bin/mpiCC
MPI_COMPILE_FLAGS:STRING= -DUSE_STDARG  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_STDARG_H=1  -DUSE_STDARG=1  -DMALLOC_RET_VOID=1
MPI_EXTRA_LIBRARY:STRING=MPI_EXTRA_LIBRARY-NOTFOUND
MPI_INCLUDE_PATH:STRING=/usr/local/tools/mvapich-gnu/include
MPI_LIBRARY:FILEPATH=/usr/local/tools/mvapich-gnu/lib/shared/libmpich.so
MPI_LINK_FLAGS:STRING= -Wl,-rpath,/usr/local/tools/mvapich-gnu/lib/shared
MapReduceMPI_LIB_DEPENDS:STATIC=general;/usr/local/tools/mvapich-gnu/lib/shared/libmpich.so;
//Use IceT multi display manager
PARAVIEW_USE_MPI_SSEND:BOOL=OFF
VTK_MPI_MAX_NUMPROCS:STRING=2
VTK_MPI_NUMPROC_FLAG:STRING=-np
VTK_MPI_POSTFLAGS:STRING=
VTK_MPI_PREFLAGS:STRING=
VTK_MPI_PRENUMPROC_FLAGS:STRING=
vtkPVClientServerCore_LIB_DEPENDS:STATIC=general;vtkPVVTKExtensions;general;vtkPVVTKExtensionsCS;general;IceTCore;general;IceTMPI;general;IceTGL;general;/usr/local/lib/python2.6/config/libpython2.6.a;general;vtkPVPythonInterpretor;general;/usr/local/tools/mvapich-gnu/lib/shared/libmpich.so;
vtkPVVTKExtensions_LIB_DEPENDS:STATIC=general;vtkPVCommon;general;vtkPVCommonCS;general;vtkXdmfCS;general;vtkHybridCS;general;vtkParallelCS;general;vtkVolumeRenderingCS;general;vtkWidgetsCS;general;vtkViews;general;vtkViewsCS;general;vtkCharts;general;vtkChartsCS;general;KWCommon;general;vtksys;general;IceTCore;general;IceTMPI;general;IceTGL;debug;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;optimized;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5_hl.a;general;/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a;general;/usr/lib64/libz.so;general;/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a;general;/usr/lib64/libGL.so;general;QVTK;
HAVE_ICET_SIZEOF_CHAR:INTERNAL=TRUE
HAVE_ICET_SIZEOF_DOUBLE:INTERNAL=TRUE
HAVE_ICET_SIZEOF_FLOAT:INTERNAL=TRUE
HAVE_ICET_SIZEOF_INT:INTERNAL=TRUE
HAVE_ICET_SIZEOF_LONG:INTERNAL=TRUE
HAVE_ICET_SIZEOF_LONG_LONG:INTERNAL=TRUE
HAVE_ICET_SIZEOF_SHORT:INTERNAL=TRUE
HAVE_ICET_SIZEOF_VOID_P:INTERNAL=TRUE
HAVE_ICET_SIZEOF___INT64:INTERNAL=FALSE
//ADVANCED property for variable: ICET_BUILD_TESTING
ICET_BUILD_TESTING-ADVANCED:INTERNAL=1
ICET_INSTALL_TARGETS:INTERNAL=IceTCore;IceTMPI;IceTGL
ICET_MPIRUN_EXE:INTERNAL=/usr/local/bin/mpirun
//ADVANCED property for variable: ICET_MPI_MAX_NUMPROCS
ICET_MPI_MAX_NUMPROCS-ADVANCED:INTERNAL=1
//This is set from VTK_MPI_MAX_NUMPROCS.
ICET_MPI_MAX_NUMPROCS:INTERNAL=2
//This is set from VTK_MPI_POSTFLAGS.
ICET_MPI_POSTFLAGS:INTERNAL=
//This is set from a combination of VTK_MPI_PREFLAGS VTK_MPI_NUMPROC_FLAG
// VTK_MPI_MAX_NUMPROCS VTK_MPI_PREFLAGS.
ICET_MPI_PREFLAGS:INTERNAL=;-np;2;
ICET_SIZEOF_CHAR:INTERNAL=1
ICET_SIZEOF_DOUBLE:INTERNAL=8
ICET_SIZEOF_FLOAT:INTERNAL=4
ICET_SIZEOF_INT:INTERNAL=4
ICET_SIZEOF_LONG:INTERNAL=8
ICET_SIZEOF_LONG_LONG:INTERNAL=8
ICET_SIZEOF_SHORT:INTERNAL=2
ICET_SIZEOF_VOID_P:INTERNAL=8
ICET_SIZEOF___INT64:INTERNAL=
//ADVANCED property for variable: ICET_USE_MPE
ICET_USE_MPE-ADVANCED:INTERNAL=1
//MODIFIED property for variable: ICET_USE_MPE
ICET_USE_MPE-MODIFIED:INTERNAL=ON
//MODIFIED property for variable: ICET_USE_MPI
ICET_USE_MPI-MODIFIED:INTERNAL=ON
//ADVANCED property for variable: MPI_COMPILER
MPI_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_COMPILE_FLAGS
MPI_COMPILE_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_EXTRA_LIBRARY
MPI_EXTRA_LIBRARY-ADVANCED:INTERNAL=0
//ADVANCED property for variable: MPI_INCLUDE_PATH
MPI_INCLUDE_PATH-ADVANCED:INTERNAL=0
MPI_LIB:INTERNAL=MPI_LIB-NOTFOUND
//ADVANCED property for variable: MPI_LIBRARY
MPI_LIBRARY-ADVANCED:INTERNAL=0
//ADVANCED property for variable: MPI_LINK_FLAGS
MPI_LINK_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PARAVIEW_USE_MPI_SSEND
PARAVIEW_USE_MPI_SSEND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VTK_MPI_MAX_NUMPROCS
VTK_MPI_MAX_NUMPROCS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VTK_MPI_NUMPROC_FLAG
VTK_MPI_NUMPROC_FLAG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VTK_MPI_POSTFLAGS
VTK_MPI_POSTFLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VTK_MPI_PREFLAGS
VTK_MPI_PREFLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: VTK_MPI_PRENUMPROC_FLAGS
VTK_MPI_PRENUMPROC_FLAGS-ADVANCED:INTERNAL=1


On Oct 25, 2011, at 5:50 PM, David Partyka wrote:

Hey Rich, is this paraview master? What settings have you turned on? Just Build Shared, PARAVIEW_USE_MPI and Python?

On Tue, Oct 25, 2011 at 8:43 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
Help?

[ 44%] Building C object Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/mpi.c.o
cd /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/IceT/src/communication && /usr/local/bin/mpicc  -DIceTMPI_EXPORTS -DVTK_PYTHON_BUILD -I/usr/global/tools/Kitware/Paraview/3.11/chaos_4_x86_64_ib/include -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include -I/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/include -g -fPIC -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities -I/usr/local/include/python2.6 -I/usr/local/tools/mvapich-gnu/include -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/include -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/IceT/src/include   -ansi -Wall -Wno-long-long -Wcast-align -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement -o CMakeFiles/IceTMPI.dir/mpi.c.o   -c /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function 'Gather':
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: 'MPI_IN_PLACE' undeclared (first use in this function)
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: (Each undeclared identifier is reported only once
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: for each function it appears in.)
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function 'Gatherv':
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:348: error: 'MPI_IN_PLACE' undeclared (first use in this function)
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function 'Allgather':
/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:366: error: 'MPI_IN_PLACE' undeclared (first use in this function)
make[2]: *** [Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/mpi.c.o] Error 1
make[2]: Leaving directory `/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build'
make[1]: *** [Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/all] Error 2
make[1]: Leaving directory `/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build'
make: *** [all] Error 2

--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



_______________________________________________
Powered by www.kitware.com<http://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


--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111025/8935ed23/attachment-0001.htm>


More information about the ParaView mailing list