[mpich-discuss] FW: Installing MPI with MCNPX

Arthur Adkins aaa1156 at ufl.edu
Wed Jul 29 15:22:06 CDT 2009



-----Original Message-----
From: Anthony Chan [mailto:chan at mcs.anl.gov] 
Sent: Wednesday, July 29, 2009 3:29 PM
To: Arthur Adkins
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Installing MPI with MCNPX


Cool!  CC this back to mpich-discuss in case someone
else will find this useful.

A.Chan

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

> Thanks Anthony that worked great. Thanks for all of your help
> 
> Arthur
> 
> -----Original Message-----
> From: Anthony Chan [mailto:chan at mcs.anl.gov] 
> Sent: Wednesday, July 29, 2009 2:03 PM
> To: Arthur Adkins
> Subject: Re: [mpich-discuss] Installing MPI with MCNPX
> 
> 
> Instead of using gcc/ifort as compiler, use mpicc/mpif90 to configure
> MCNPX, i.e. --with-FC=<fullpath to mpich2's mpif90> and 
> --with-CC=<fullpath to mpich2's mpicc>.  
> Not sure if you need --with-MPILIB and/or --with-MPICH since
> those info has been used when using mpicc/mpif90.
> 
> A.Chan
> 
> ----- "Arthur Adkins" <aaa1156 at ufl.edu> wrote:
> 
> > Do you mean what flags I set when I run the configure script for
> > mcnpx? If so this is what I have set:
> > ../MCNPX_2.6.0/v260/configure --with-FC=ifort --with-CC=gcc
> > --with--FFLAGS="-DUNIX=1 -DLINUX=1 -o0" --with-CFLAGS="-DUNIX=1
> > -DLINUX=1" --with-MPILIB  --with-MPICH
> > 
> > Arthur
> > 
> > -----Original Message-----
> > From: Anthony Chan [mailto:chan at mcs.anl.gov] 
> > Sent: Wednesday, July 29, 2009 1:26 PM
> > To: Arthur Adkins
> > Subject: Re: [mpich-discuss] Installing MPI with MCNPX
> > 
> > 
> > How do you link with mpich2 in mcnpx ?  Do you use the fullpath
> > to mpif90 in the Makefile... ?
> > 
> > ----- "Arthur Adkins" <aaa1156 at ufl.edu> wrote:
> > 
> > > Anthony,
> > > 
> > > I installed mpich2 and tried to run it again but I am receiving
> the
> > > exact same error.  I also made sure to set the path to this new
> > > directory.  Any other ideas?
> > > 
> > > Arthur
> > > 
> > > -----Original Message-----
> > > From: Anthony Chan [mailto:chan at mcs.anl.gov] 
> > > Sent: Wednesday, July 29, 2009 12:33 PM
> > > To: mpich-discuss at mcs.anl.gov
> > > Cc: Arthur Adkins
> > > Subject: Re: [mpich-discuss] Installing MPI with MCNPX
> > > 
> > > 
> > > 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