[vtkusers] Is it possible to configure and make VTK4.2 with MPICH-G2 library ?
Berk Geveci
berk.geveci at gmail.com
Tue Nov 8 11:17:16 EST 2005
It looks like you are missing some libraries that mpich-g2 requires. In
newer versions of VTK, there is a CMake entry called MPI_EXTRA_LIBRARY that
can be used to specify extra MPI libraries (a ; separated list). I can't
remember if VTK 4.2 has this. I recommend switching to 4.4 or 5.0 anyway.
4.2 is old.
On 11/8/05, n9693119 at mail.ncku.edu.tw <n9693119 at mail.ncku.edu.tw> wrote:
>
> Hello:
>
> I want to configure and make VTK-4.2 with MPICH-G2 library...
> And I've tried to Configure VTK with MPICH(without Globus),it works!
> But when I Configure VTK with MPICH-G2,it always have some Make
> errors.....
>
> I found some web pages seem show that it is possible to configure VTK with
> MPICH-G2...
> http://www.globusworld.org/program/abstract.php?id=82
> http://public.kitware.com/pipermail/vtkusers/2003-November/070535.html
>
> My guestion is:
>
> Is it possible to configure and make VTK with MPICH-G2 library???
> And if possible, how can I configure and make VTK with MPICH-G2 library???
> Can anybody give me some guide or reference?
>
> Regards steven
>
> =================My Environment and Make Error as Follow================
>
> When I want to configure and make VTK with MPICH-G2 library,
> I have some make errors as last of this mail,
> and it looks like VTK coundn't find Globus include files...
>
> My ccmake configure about MPI:
> ---------------------------------------------------------------------
> [root at Chu2 vtk-src-unix]# ccmake /home/vtk/vtk-src-unix/
> .
> .
> .
> MPI_EXTRA_LIBRARY MPI_EXTRA_LIBRARY-NOTFOUND
> MPI_INCLUDE_PATH /opt/mpich/include
> MPI_LIBRARY /opt/mpich/lib/libmpichg2.a
> .
> .
> .
> VTK_MPIRUN_EXE /opt/mpich/bin/mpirun
> VTK_MPI_MAX_NUMPROCS 8
> VTK_MPI_POSTFLAGS
> VTK_MPI_PREFLAGS -np 4
> .
> .
> .
> VTK_USE_MPI ON
> VTK_USE_PARALLEL ON
> .
> .
> .
> ---------------------------------------------------------------------
>
> To insure my MPICH-G2 environment is ok:
> ---------------------------------------------------------------------
> [griduser at Chu2 ccc]$ grid-proxy-init
> Your identity:
> /O=Grid/OU=GlobusTest/OU=simpleCA-
> chu.domain/OU=domain/CN=griduser
> Enter GRID pass phrase for this identity:
> Creating proxy ............................................. Done
> Your proxy is valid until: Thu Nov 3 18:21:19 2005
> [griduser at Chu2 ccc]$ mpirun -globusrsl gridcpi.rsl
> Process 0 of 4 on Chu2.domain
> pi is approximately 3.1415926535981176, Error is 0.0000000000083245
> wall clock time = 0.210402
> Process 1 of 4 on y1.domain
> Process 2 of 4 on y2.domain
> Process 3 of 4 on y3.domain
> [griduser at Chu2 ccc]$
> ---------------------------------------------------------------------
>
> After configure and generate, I have make error as follow:
> ---------------------------------------------------------------------
> [root at Chu2 vtk-src-unix]# make
> Building dependencies. cmake.depends...
> -- Compiling VTK CMake commands
> -- Compiling VTK CMake commands - done
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> -- Using Buildname: Linux-c++
> cmake.depends is up-to-date
> /home/vtk/vtk-src-unix/Wrapping: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Utilities: building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /home/vtk/vtk-src-unix/Utilities/zlib: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Utilities/expat: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Utilities/DICOMParser: building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /home/vtk/vtk-src-unix/Utilities/Doxygen: building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /home/vtk/vtk-src-unix/Utilities/freetype: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Utilities/ftgl: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Common: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Filtering: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Imaging: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Graphics: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/IO: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Rendering: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Hybrid: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Patented: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Parallel: building default_target
> Building dependencies. cmake.depends...
> /home/vtk/vtk-src-unix/Wrapping/Tcl: building default_target
> Building dependencies. cmake.depends...
> Building executable /home/vtk/vtk-src-unix/bin/pvtk...
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_port'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_error_get'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_barrier'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_object_get_type'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_connect'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_mode'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_handle_init'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_short'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcpattr_init'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_int'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_create_listener'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_object_free'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_libc_getpid'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_data_read_all'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_u_short'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_module_deactivate'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_module_getenv'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `GLOBUS_IO_ERROR_TYPE_IO_CANCELLED_DEFINITION'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_double'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_libc_gethostname'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_attr_set_socket_sndbuf'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_attr_set_callback_space'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_float'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_enable_fault_tolerance'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_module'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `GLOBUS_IO_ERROR_TYPE_EOF_DEFINITION'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_register_listen'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_long'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_close'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_i_common_module'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_gram_client_job_cancel'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_inter_subjob_receive'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_callback_signal_poll'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_register_write'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_l_io_module'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_inter_subjob_send'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_long_long'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_get_remote_address'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_libc_getenv'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_object_printable_to_string'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_intra_subjob_receive'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_parallelism'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_object_type_match'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_callback_space_destroy'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_callback_space_poll'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_gram_client_module'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcpattr_destroy'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_u_int'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_get_local_address'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_intra_subjob_rank'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_i_ftp_control_module'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_data_connect_write'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_module_activate'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_intra_subjob_send'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_tcp_accept'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_data_connect_read'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_char'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_type'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_inter_subjob_structure'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_sizeof_remote_table'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_write'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_pasv'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_callback_space_init'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_data_write'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_attr_set_socket_rcvbuf'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_module_set_args'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_attr_set_tcp_nodelay'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_i_abstime_infinity'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_io_register_read'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_u_char'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `nexus_dc_get_u_long'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_ftp_control_local_tcp_buffer'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_duroc_runtime_intra_subjob_size'
> /home/vtk/vtk-src-unix/bin/libvtkParallel.so: undefined reference to
> `globus_nexus_module'
> collect2: ld returned 1 exit status
> make[3]: *** [/home/vtk/vtk-src-unix/bin/pvtk] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Wrapping_Tcl] Error 2
> make: *** [default_target] Error 2
> [root at Chu2 vtk-src-unix]#
> --------------------------------------------------------------------
> =========================================================================
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051108/7bb70d2a/attachment.htm>
More information about the vtkusers
mailing list