List Info

Thread: LAM: LAM static linking problem




LAM: LAM static linking problem
user name
2006-09-14 18:56:59
Hi,

We are trying to compile a program statically, and running
into
linking problems with multiple definitions in libc and
libmpi, exactly
the same as were encountered in this thread:
http://www.lam-mpi.org/MailArchives/lam/2005/08/11108.p
hp

However, even having configured LAM 7.1.2 with the following
command:
"./configure --with-shared=no
--with-memory-manager-none"

The "multiple definition" problems are still
present for all the same
functions.  This problem is present for even the
"hello world" example
included in the LAM tarball when linked statically.
We do not want dynamic linking because we are using our
software for
massive parallel programming in a research enviornment.

We are running CentOS, with gcc version 3.4.6.
The LAM configure and make work fine, and laminfo gives the
following
information:
      LAM/MPI: 7.1.2
              Prefix: /usr
        Architecture: x86_64-unknown-linux-gnu
       Configured by: root
       Configured on: Wed Sep 13 22:52:26 EDT 2006
      Configure host: XXX.XXX.edu
      Memory manager: none
          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)

Any help is welcome.

Thanks,
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: LAM static linking problem
user name
2006-09-19 14:50:19
---------- Forwarded message ----------
From: Umar Farooq <umar.farooq84gmail.com>
Date: Sep 14, 2006 2:56 PM
Subject: LAM static linking problem
To: lamlam-mpi.org


Hi,

We are trying to compile a program statically, and running
into
linking problems with multiple definitions in libc and
libmpi, exactly
the same as were encountered in this thread:
http://www.lam-mpi.org/MailArchives/lam/2005/08/11108.p
hp

However, even having configured LAM 7.1.2 with the following
command:
"./configure --with-shared=no
--with-memory-manager-none"

The "multiple definition" problems are still
present for all the same
functions.  This problem is present for even the
"hello world" example
included in the LAM tarball when linked statically.
We do not want dynamic linking because we are using our
software for
massive parallel programming in a research enviornment.

We are running CentOS, with gcc version 3.4.6.
The LAM configure and make work fine, and laminfo gives the
following
information:
      LAM/MPI: 7.1.2
              Prefix: /usr
        Architecture: x86_64-unknown-linux-gnu
       Configured by: root
       Configured on: Wed Sep 13 22:52:26 EDT 2006
      Configure host: XXX.XXX.edu
      Memory manager: none
          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)

Any help is welcome.

Thanks,
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-2]

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