[vtkusers] problems with MPI & VTK
Naveen Kumar Polapally
naveenpkumar at hotmail.com
Tue Jun 27 16:20:57 EDT 2000
hi,
I have given the correct paths in user.make as below.
MPI_INCLUDE=-I/home/devel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/include/c++
-I/home/devel/mpich-1.1.2..13-gm/include/
MPI_LIB=/home/devel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/lib/libmpich.a
/home/devel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/lib/libmpich++.a
/home/devel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/lib/libpmpich.a
In my mpi installation there is mpi++.h & mpi.h in two different places So i
included both of them.And similarly for the lib files.
But i still keep getting these errors,some one has told me that i am not
linking mpi.What else should be done to get correct compilation.
The error i keep getting is this.Can some give me a suggestion to get rid of
this problem.
thanks
make[1]: Entering directory `/home/devel/vtk/vtk/tcl'
c++ -o vtk tkAppInit.o \
-L. -g -O2 -fPIC -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.
-I./.lapall/tcl/tcl8.0/generic -DVTK_USE_TKWIDGET
-I/home/3/polapall/Mesa1/Mesa-3.1/iel/mpich-1.1.2..13-gm/build/LINUX/ch_gm/include/c++
-I/home/devel/mpich-1.1.2..1PHICS -I./../imaging -DVTK_USE_IMAGING
-I./../patented -DVTK_USE_PATENTED -I./../vtk/contrib -lVTKContribTcl
-lVTKContrib -L/home/devel/vtk/vtk/patented -lVTKPVTKImagingTcl
-lVTKImaging -L/home/devel/vtk/vtk/graphics -lVTKGraphicsTcl -lVTK1R6/lib
/home/3/polapall/Mesa1/Mesa-3.1/lib/libGL.so
/home/3/polapall/Mesa1/Mesa.0.so -ldl \
-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11 -lm
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Finali
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Send'
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Comm_s
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Recv'
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Init'
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Comm_r
/home/devel/vtk/vtk/contrib/libVTKContrib.so: undefined reference to
`MPI_Barrie
collect2: ld returned 1 exit status
make[1]: *** [vtk] Error 1
make[1]: Leaving directory `/home/devel/vtk/vtk/tcl'
make: *** [build_tcl] Error 2
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
More information about the vtkusers
mailing list