You shouldn't be tweaking the Cache! :-P It should work with openmpi, mpich2, msmpi intel mpi etc.
On Tue, Oct 25, 2011 at 9:04 PM, Cook, Rich <[email protected]> wrote: > Ah, thanks, > perhaps this only works with OpenMPI... I'll investigate whether I can use > that. > Paraview is hard as hell to build. > -- Rich > > On Oct 25, 2011, at 5:59 PM, Scott, W Alan wrote: > > > Works for me! Here is a snippet from our python script. > > > > Alan > > > > mpiDir = > '/apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr > > > > cMakeVars = cMakeVars +\ > > '-DMPI_LIBRARY:FILEPATH="'+mpiDir+'/lib/libmpi.so;'+\ > > mpiDir+'/lib/libopen-rte.so;'+\ > > mpiDir+'/lib/libopen-pal.so;'+\ > > mpiDir+'/lib/libmpi_cxx.so" '+\ > > '-DCMAKE_EXE_LINKER_FLAGS:STRING=-Bdynamic ' > > > > cMakeVars = cMakeVars +\ > > '-DVTK_USE_MPI:BOOL=ON '+\ > > '-DPARAVIEW_USE_MPI:BOOL=ON '+\ > > '-DMPI_INCLUDE_PATH:PATH='+mpiDir+'/include/ '+\ > > '-DCMAKE_C_FLAGS:STRING="-w -fPIC -I'+mpiDir+'/include/openmpi" > '+\ > > '-DCMAKE_CXX_FLAGS:STRING="-w -fPIC -I'+mpiDir+'/include/openmpi" > '+\ > > '-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -fPIC" '+\ > > '-DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -fPIC" '+\ > > '-DPARAVIEW_PLUS_BUILD:BOOL=OFF ' > > > > cMakeVars = cMakeVars +\ > > '-DPARAVIEW_USE_MPI_SSEND:BOOL=ON ' > > > > > > > > -----Original Message----- > > From: [email protected] [mailto: > [email protected]] On Behalf Of Cook, Rich > > Sent: Tuesday, October 25, 2011 6:44 PM > > To: [email protected] > > Subject: [Paraview] Paraview will not build > > > > 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 > > ☎ (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) > > > > > > > > _______________________________________________ > > 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 > > -- > ✐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) > > > > _______________________________________________ > 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 >
_______________________________________________ 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
