List Info

Thread: LAM: LAM-MPI issuses




LAM: LAM-MPI issuses
user name
2007-08-26 16:23:20
Dear All,


After I install lam/mpi,   I am trying to build the examples in that directory. But whenever, I typed,  cd example;  make ;  I got the following error message,



.............................
yfangYFANG:~/download/lam-7.1.3/examples$ make
Making all in alltoall
make[1]: Entering directory `/home/yfang/download/lam-7.1.3/examples/alltoall'
mpicc -O3  -pthread  -o alltoall  alltoall.o
alltoall.o : In function `main':
alltoall.c:(.text+0x31): undefined reference to `lam_mpi_comm_world'
alltoall.c:(.text+0x41): undefined reference to `lam_mpi_comm_world'
alltoall.c:(.text+0x7c): undefined reference to `lam_mpi_comm_world'
alltoall.c:(.text+0x90): undefined reference to `lam_mpi_int'
alltoall.c:(.text+0xb3): undefined reference to `lam_mpi_comm_world'
alltoall.c:(.text+0xc7): undefined reference to `lam_mpi_int'
alltoall.c: (.text+0x129): undefined reference to `lam_mpi_comm_world'
alltoall.c:(.text+0x139): undefined reference to `lam_mpi_int'
alltoall.c:(.text+0x191): undefined reference to `lam_mpi_comm_world'
alltoall.c: (.text+0x1a1): undefined reference to `lam_mpi_int'


what's wrong with this?

I run laminfo,  get the following message,
yfangYFANG:~/download/lam-7.1.3/examples$ laminfo
      ;       LAM/MPI: 7.1.3
      ;        Prefix: /usr/local
        Architecture: i686-pc-linux-gnu
       Configured by: root
 ;      Configured on: Sun Aug 26 14:26:59 EDT 2007
 ;     Configure host: YFANG
      Memory manager: ptmalloc2
         ; C bindings: yes
   ;     C++ bindings: yes
   ; Fortran bindings: yes
   ;       C compiler: gcc
   ;     C++ compiler: g++
   ; Fortran compiler: g77
   ;  Fortran symbols: double_underscore
    ;     C profiling: yes
   ;    C++ profiling: yes
   Fortran profiling: yes
   ;   C++ exceptions: no
     ; Thread support: yes
   ;    ROMIO support: yes
   ;     IMPI support: no
     ;  Debug support: no
 ;       Purify clean: no
     ;       SSI boot: globus (API v1.1, Module v0.6)
          ;  SSI boot: rsh (API v1.1, Module v1.1)
          ;  SSI boot: slurm (API v1.1, Module v1.0)
          ;  SSI coll: lam_basic (API v1.1, Module v7.1)
          ;  SSI coll: shmem (API v1.1, Module v1.0)
          ;  SSI coll: smp (API v1.1, Module v1.2)
          ;   SSI rpi: crtcp (API v1.1, Module v1.1)
          ;   SSI rpi: lamd (API v1.0 , Module v7.1)
          ;   SSI rpi: sysv (API v1.0, Module v7.1)
          ;   SSI rpi: tcp (API v1.0, Module v7.1)
          ;   SSI rpi: usysv (API v1.0, Module v7.1)
          ;    SSI cr: self (API v1.0, Module v1.0)



thanks,  appreciate ur answer






Re: LAM: LAM-MPI issuses
user name
2007-08-27 07:13:16
This *usually* means that you are linking against the
"wrong" libmpi  
(e.g., the libmpi that belongs to another MPI
implementation).   
Ensure that some other MPI didn't also get installed to
/usr/local  
and overwrite LAM's libmpi, for example.


On Aug 26, 2007, at 5:23 PM, YFang wrote:

> Dear All,
>
>
> After I install lam/mpi,   I am trying to build the
examples in  
> that directory. But whenever, I typed,  cd example; 
make ;  I got  
> the following error message,
>
>
>
> .............................
> yfangYFANG:~/download/lam-7.1.3/examples$ make
> Making all in alltoall
> make[1]: Entering directory
`/home/yfang/download/lam-7.1.3/ 
> examples/alltoall'
> mpicc -O3  -pthread  -o alltoall  alltoall.o
> alltoall.o : In function `main':
> alltoall.c:(.text+0x31): undefined reference to
`lam_mpi_comm_world'
> alltoall.c:(.text+0x41): undefined reference to
`lam_mpi_comm_world'
> alltoall.c:(.text+0x7c): undefined reference to
`lam_mpi_comm_world'
> alltoall.c:(.text+0x90): undefined reference to
`lam_mpi_int'
> alltoall.c:(.text+0xb3): undefined reference to
`lam_mpi_comm_world'
> alltoall.c:(.text+0xc7): undefined reference to
`lam_mpi_int'
> alltoall.c: (.text+0x129): undefined reference to
`lam_mpi_comm_world'
> alltoall.c:(.text+0x139): undefined reference to
`lam_mpi_int'
> alltoall.c:(.text+0x191): undefined reference to
`lam_mpi_comm_world'
> alltoall.c: (.text+0x1a1): undefined reference to
`lam_mpi_int'
>
>
> what's wrong with this?
>
> I run laminfo,  get the following message,
> yfangYFANG:~/download/lam-7.1.3/examples$ laminfo
>              LAM/MPI: 7.1.3
>               Prefix: /usr/local
>         Architecture: i686-pc-linux-gnu
>        Configured by: root
>        Configured on: Sun Aug 26 14:26:59 EDT 2007
>       Configure host: YFANG
>       Memory manager: ptmalloc2
>           C bindings: yes
>         C++ bindings: yes
>     Fortran bindings: yes
>           C compiler: gcc
>         C++ compiler: g++
>     Fortran compiler: g77
>      Fortran symbols: double_underscore
>          C profiling: yes
>        C++ profiling: yes
>    Fortran profiling: yes
>       C++ exceptions: no
>       Thread support: yes
>        ROMIO support: yes
>         IMPI support: no
>        Debug support: no
>         Purify clean: no
>             SSI boot: globus (API v1.1, Module v0.6)
>             SSI boot: rsh (API v1.1, Module v1.1)
>             SSI boot: slurm (API v1.1, Module v1.0)
>             SSI coll: lam_basic (API v1.1, Module
v7.1)
>             SSI coll: shmem (API v1.1, Module v1.0)
>             SSI coll: smp (API v1.1, Module v1.2)
>              SSI rpi: crtcp (API v1.1, Module v1.1)
>              SSI rpi: lamd (API v1.0 , Module v7.1)
>              SSI rpi: sysv (API v1.0, Module v7.1)
>              SSI rpi: tcp (API v1.0, Module v7.1)
>              SSI rpi: usysv (API v1.0, Module v7.1)
>               SSI cr: self (API v1.0, Module v1.0)
>
>
>
> thanks,  appreciate ur answer
>
>
>
>
>
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/


-- 
Jeff Squyres
Cisco Systems

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )