[vtkusers] error when compiling vtkNightly with MPI

Charles Law charles.law at kitware.com
Thu Jun 29 07:52:41 EDT 2000


I see the mpich include directory in the compilation, but not the 
libraries.  Have you set "MPI_LIBS=..." in your user.make?

Charles.

At 07:52 PM 6/26/00 -0700, Naveen Kumar Polapally wrote:
>When I compile the nightly release with mpi options i am getting these 
>errors.I am using tk8.0 tcl8.0 and mpich-1.2.0 with vtknightly release.Can 
>some one tell me what is causing the problem.
>
>make[1]: `targets.make' is up to date.
>make[1]: Leaving directory `/home/devel/vtk/vtk31/contrib'
>cd contrib;     make - all
>make[1]: Entering directory `/home/devel/vtk/vtk31/contrib'
>make[1]: Nothing to be done for `all'.
>make[1]: Leaving directory `/home/devel/vtk/vtk31/contrib'
>cd tcl;        make - vtk
>make[1]: Entering directory `/home/devel/vtk/vtk31/tcl'
>c++ -o vtk tkAppInit.o \
>-L. -g -O2  -fPIC -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. 
>-I./../common -I/home/3/polapall/tk/tk8.0/generic 
>-I/home/3/polapall/tcl/tcl8.0/generic -DVTK_USE_TKWIDGET 
>-I/home/3/polapall/Mesa1/Mesa-3.1/include/ -DVTK_USE_MESA
>-I/usr/X11R6/include 
>-I/home/devel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/include/c++ 
>-DVTK_USE_MPI -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging 
>-DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib 
>-DVTK_USE_CONTRIB
>-rdynamic   -L/home/devel/vtk/vtk31/contrib -lVTKContribTcl -lVTKContrib
>-L/home/devel/vtk/vtk31/patented -lVTKPatentedTcl -lVTKPatented 
>-L/home/devel/vtk/vtk31/imaging -lVTKImagingTcl -lVTKImaging 
>-L/home/devel/vtk/vtk31/graphics -lVTKGraphicsTcl -lVTKGraphics 
>-L../common -lVTKCommonTcl -lVTKCommon -L/usr/X11R6/lib 
>/home/3/polapall/Mesa1/Mesa-3.1/lib/libGL.so 
>/home/3/polapall/Mesa1/Mesa-3.1/lib/libGLU.so  /usr/lib/libtk8.0.so 
>/usr/lib/libtcl8.0.so -ldl  \
>-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11  -lm
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Finalize'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Send'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Comm_size'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Recv'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Init'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Comm_rank'
>/home/devel/vtk/vtk31/contrib/libVTKContrib.so: undefined reference to 
>`MPI_Barrier'
>collect2: ld returned 1 exit status
>make[1]: *** [vtk] Error 1
>make[1]: Leaving directory `/home/devel/vtk/vtk31/tcl'
>make: *** [build_tcl] Error 2
>
>





More information about the vtkusers mailing list