[mpich-discuss] Installing MPI with MCNPX

Anthony Chan chan at mcs.anl.gov
Wed Jul 29 11:32:37 CDT 2009


It looks like your mpich1 installation does not have fortran binding built
correctly.  Since mpich-1.2.7p1 is very old, could you try mpich2 instead ?
mpich2 is in general a lot more robust than mpich1.  The latest release
of mpich2 is 1.1.1.  Follow the README or the user's and install
guide to build mpich2, and let's know if you have any problem.

A.Chan

----- "Arthur Adkins" <aaa1156 at ufl.edu> wrote:

> I am trying to install mcnpx2.6 with mpi version 1.2.7.p1 on a linux
> 64 bit
> cluster.  However I keep receiving the following errors when I run
> make
> after I run configure for mcnpx:
> 
>  
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mterm_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x9):
> undefined reference to `mpi_finalize_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mkill_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x23):
> undefined reference to `mpi_abort_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mgetd5_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x69a):
> undefined reference to `mpi_unpack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mgetd4_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x12d4):
> undefined reference to `mpi_unpack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mgetd3_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x1d98):
> undefined reference to `mpi_unpack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mgetd2_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x25fc):
> undefined reference to `mpi_unpack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mgetd1_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x2ac6):
> undefined reference to `mpi_unpack_'
> 
> mcnpf/GLOBAL4_mb.o:../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.
> text+0x2d00): more undefined references to `mpi_unpack_' follow
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mrecv_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x8371):
> undefined reference to `mpi_probe_'
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x838c):
> undefined reference to `mpi_get_count_'
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x8415):
> undefined reference to `mpi_recv_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mrecb_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x85b0):
> undefined reference to `mpi_get_count_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mprob_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x8655):
> undefined reference to `mpi_iprobe_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_msend_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x8712):
> undefined reference to `mpi_send_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mputd5_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x8841):
> undefined reference to `mpi_pack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mputd4_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x901e):
> undefined reference to `mpi_pack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mputd3_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x9ab7):
> undefined reference to `mpi_pack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mputd2_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0x9fa7):
> undefined reference to `mpi_pack_'
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_mputd1_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0xa2ad):
> undefined reference to `mpi_pack_'
> 
> mcnpf/GLOBAL4_mb.o:../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.
> text+0xa43a): more undefined references to `mpi_pack_' follow
> 
> mcnpf/GLOBAL4_mb.o: In function `message_passing_mp_menrl_':
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0xe058):
> undefined reference to `mpi_init_'
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0xe06e):
> undefined reference to `mpi_comm_size_'
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0xe084):
> undefined reference to `mpi_comm_rank_'
> 
> ../../../MCNPX_2.6.0/v260/src/mcnpx/mcnpf/GLOBAL4_mb.F:(.text+0xe0b8):
> undefined reference to `mpi_finalize_'
> 
> make[2]: *** [mcnpx] Error 1
> 
> make[2]: Leaving directory `/usr/local/bin/v260_bld/src/mcnpx'
> 
> make[1]: *** [mcnpx] Error 2
> 
> make[1]: Leaving directory `/usr/local/bin/v260_bld/src'
> 
> make: *** [mcnpx] Error 2
> 
>  
> 
>  
> 
> Has anyone seen this error before or can you suggest ways to work
> around
> this? Thanks
> 
>  
> 
> Arthur


More information about the mpich-discuss mailing list