LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: YFang (fang4_at_[hidden])
Date: 2007-08-26 17: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,

.............................
yfang_at_YFANG:~/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,
yfang_at_YFANG:~/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