[vtkusers] compiling examples in Parallel directory

Naveen Kumar Polapally naveenpkumar at hotmail.com
Thu Mar 29 17:50:57 EST 2001



hi,
I am using MPI over GM , when i try to compile the examples in Parallel
directory i get these error.They appear to be errors due to GM but if any
one has come accross these errors,please reply.


c++ -o TestPolyDataPort  -O2 -D__NO_MATH_INLINES -fPIC   -I.  -I.
-I/home/3/polapall/Mesa1/Mesa-3.1/include/   -I/usr/X11R6/include
-I/home/devel/mpich-1.2..3/include  -I/home/devel/mpich-1.2..3/MPI-2-C++/src
-I./../../common -I./.. -I./../../patented -I./../../imaging
-I./../../graphics -I../../common TestPolyDataPort.o  -L../../common
-L../../graphics -L../../parallel -L../../imaging -L../../patented
-lVTKPatented -lVTKImaging -lVTKParallel -lVTKGraphics -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 -ldl -lpthread
/home/devel/mpich-1.2..3/lib/libmpich.a
/home/devel/vtk/mpich-1.2..3/lib/libpmpich.a  -lXext -lXt -lX11  -lm \
-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11  -lm
../../parallel/libVTKParallel.so: undefined reference to `gm_open'
../../parallel/libVTKParallel.so: undefined reference to `gm_unknown'
../../parallel/libVTKParallel.so: undefined reference to
`gm_min_size_for_length'
../../parallel/libVTKParallel.so: undefined reference to
`gm_set_acceptable_sizes'
../../parallel/libVTKParallel.so: undefined reference to `gm_malloc'
../../parallel/libVTKParallel.so: undefined reference to `gm_dma_free'
../../parallel/libVTKParallel.so: undefined reference to `gm_rand'
../../parallel/libVTKParallel.so: undefined reference to `gm_send'
../../parallel/libVTKParallel.so: undefined reference to
`gm_deregister_memory'
../../parallel/libVTKParallel.so: undefined reference to
`gm_host_name_to_node_id'
../../parallel/libVTKParallel.so: undefined reference to `gm_receive'
../../parallel/libVTKParallel.so: undefined reference to `gm_dma_malloc'
../../parallel/libVTKParallel.so: undefined reference to `gm_bcopy'
../../parallel/libVTKParallel.so: undefined reference to
`gm_provide_receive_buffer'
../../parallel/libVTKParallel.so: undefined reference to `gm_close'
../../parallel/libVTKParallel.so: undefined reference to `gm_perror'
../../parallel/libVTKParallel.so: undefined reference to `gm_srand'
../../parallel/libVTKParallel.so: undefined reference to
`gm_register_memory'
../../parallel/libVTKParallel.so: undefined reference to
`gm_max_length_for_size'
../../parallel/libVTKParallel.so: undefined reference to `gm_bzero'
../../parallel/libVTKParallel.so: undefined reference to
`gm_blocking_receive'
../../parallel/libVTKParallel.so: undefined reference to
`_gm_assertion_failed'
../../parallel/libVTKParallel.so: undefined reference to
`gm_memorize_message'
../../parallel/libVTKParallel.so: undefined reference to
`gm_num_receive_tokens'
../../parallel/libVTKParallel.so: undefined reference to `gm_get_node_id'
../../parallel/libVTKParallel.so: undefined reference to
`gm_num_send_tokens'
collect2: ld returned 1 exit status

>From: Ken Martin <ken.martin at kitware.com>
>To: "Naveen Kumar Polapally" <naveenpkumar at hotmail.com>
>Subject: Re: [vtkusers] compiling vtkNightly with-mpi on Redhat7.0
>Date: Thu, 29 Mar 2001 11:53:11 -0500
>
>--with-parallel in addition to the --with-mpi, some of the parallel code
>can be used without mpi so we made them two different flags.
>
>- Ken
>
>At 04:50 PM 3/29/2001 +0000, you wrote:
>
>>hi,
>>
>>I tried to compile vtk nightly version with options --with-mpi  on
>>Redhat7.0. But all the files in the parallel directory are untouched.
>>Can some one tell me how i can build the files in parallel directory.
>>
>>this is my configure command.
>>
>>./configure  --with-tkwidget --with-mesa --with-mpi --with-contrib
>>--with-patented --with-shared
>>
>>
>>this is my user.make.I used the same file some days back when the files in
>>parallel directory where in contrib and it seem to work.
>>
>># this file can be used to override any of the values selected
>># by configure in system.make.  At a minimum you should set
>># the following Tcl/Tk values if you are planning to use Tcl/Tk
>>
>>#TCL_INCLUDE=-I/home/3/polapall/tcl/tcl8.0/generic
>>#TCL_LIB=/usr/lib/libtcl8.0.so
>>
>>#TK_INCLUDE=-I/home/3/polapall/tk/tk8.0/generic
>>#TK_LIB=/usr/lib/libtk8.0.so
>>
>>MESA_INCLUDE=-I/home/3/polapall/Mesa1/Mesa-3.1/include/
>>MESA_LIB=/home/3/polapall/Mesa1/Mesa-3.1/lib/libGL.so
>>/home/3/polapall/Mesa1/Mes
>>a-3.1/lib/libGLU.so
>>
>>#MPI_INCLUDE=-I/home/devel/mpich-1.2.0/include/
>>#MPI_LIB=/home/devel/mpich-1.2.0/lib/libmpich.a
>>/home/devel/mpich-1.2.0/lib/libp
>>mpich.a
>>
>>MPI_INCLUDE=-I/home/devel/mpich-1.2..3/include
>>-I/home/devel/mpich-1.2..3/MPI-2
>>-C++/src
>>MPI_LIBS=/home/devel/mpich-1.2..3/lib/libmpich.a
>>/home/devel/vtk/mpich-1.2..3/li
>>b/libpmpich.a
>>
>>
>># for python you must set this
>>#PYTHON_INCLUDES=-I/home/schroede/montnaro/Python-1.4/Include
>>
>># Add additional CFLAGS and CXXFLAGS for compilation
>># uncomment the following two lines to set your own flags
>>USER_CFLAGS = -O2 -D__NO_MATH_INLINES
>>USER_CXXFLAGS = -O2 -D__NO_MATH_INLINES
>>
>># if you want to try the java support you'll need to set the following
>># variables to match your environment and uncomment them
>>#
>>#JDKHOME=/home/2/yarmolen/java/jdk1.2
>>#JAVAC=${JDKHOME}/bin/javac
>>#JAVA_CLASS_HOME=/home/devel/vtk/vtk/java -classpath 
>>/home/devel/vtk/vtk/java
>>#3#JAVAH=${JDKHOME}/bin/javah
>>#JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/linux
>>#JAVA_CXX_LIB=/usr/lib/libiberty.a /usr/lib/libstdc++.a
>>/usr/lib/gcc-lib/i386-re
>>dhat-linux/2.7.2.3/libgcc.a
>>
>>_________________________________________________________________________
>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>>
>>
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic.
>>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://public.kitware.com/mailman/listinfo/vtkusers
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the vtkusers mailing list