LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2005-11-20 15:23:28


Based on the output you included, you are using a different version
of LAM than the one you think you are. The linker is complaining
about symbols from /home/lam/lib/libmpi.a, but you gave the prefix
for your installation as /home/mylocal/lam-g77, so one would expect
it to look at/home/mylocal/lam-g77/lib/libmpi.a. That's probably a
significant part of the problem...

Brian

On Nov 18, 2005, at 6:51 PM, Phil Yoon wrote:

> Hello,
>
> Just to remind you, I'm using lam-7.1.1 on a i686 Athlon
> i386 GNU/Linux
> machine.
> As was suggested, I configured lam-7.1.1 with
> --disable-shared
> --with-memory-manager=none. However, it appears that
> because of the same
> kind of malloc-realated warnings, I couldn't build static
> executables
> of my C++ package. (For my project, I have to build static
> binaries.
> I don't see this problem when building dynamic binaries.)
>
> Attached are config.log and make.out files. Although, there
> were some
> error messages in the config.log, but I was able to build
> lam-7.1.1.
> If this were a known thing with lam-7.1.1, should I try
> different versions
> of lam?
> After lam-7.1.1 was built, the following libraries were
> made in the lib directory: liblam.a liblamf77mpi.a
> liblammpi++.a liblammpio.a libmpi.a
> I'm also wondering if this is because any missing
> libraries.
>
> Any suggestions, ideas and solutions would be greatly
> appreciated.
> -Phil
>
>
>
>
>
>
>
>
> $ ../configure --prefix=/home/syoon/mylocal/lam-g77
> --with-gnu-ld --with-fc=g77 --with-rpi=tcp --with-t\
> rillium --enable-ltdl-convenience
> --with-boot-tm=/usr/local/torque2 --disable-shared
> --with-memory-manage\
> r=none
>
>
>
> --- Ralf Wildenhues <Ralf.Wildenhues_at_[hidden]> wrote:
>> Hi Phli,
>>
>> * Phil Yoon wrote on Thu, Nov 17, 2005 at 12:12:14AM CET:
>>>
>>> The main C++ software package that I've been trying to
>> compile
>>> and link needs MPI/LAM. As such, I've built and
>> installed LAM
>>> 7.1.1 first on a i686 athlon i386 GNU/Linux.
>>> The problem is when I did make (gmake) after
>> configuration,
>>> the following warnings and errors are issued during
>> linking stage.
>>> It couldn't build any static executables and crahsed.
>>> I'd just like to know what causes these warnings and
>> errors,
>>> and how to fix them.
>>>
>>> FYI: lam 7.1.1 was configured as:
>>>
>>> ../configure --prefix=/home/lam-g77 --with-gnu-ld
>> --with-fc=g77 --with-rpi=tcp --with-trillium
>> --enable-ltdl-convenience
>> --with-boot-tm=/usr/local/torque2
>>
>> Please try again with --disable-shared added, I believe
>> you may also
>> need --with-memory-manager=none, as described in this
>> thread:
>> http://www.lam-mpi.org/MailArchives/lam/2005/08/11089.php
>>
>> Please report back whether that worked or not. If not,
>> please show
>> again the failing link like you did now. I'll try to
>> look into it then
>> (but that may take a few days).
>>
>> Cheers,
>> Ralf
>> _______________________________________________
>> This list is archived at
>> http://www.lam-mpi.org/MailArchives/lam/
>>
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
> <config-b4.log>
> <make.out>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/