LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Terry Frankcombe (T.Frankcombe_at_[hidden])
Date: 2004-11-03 06:09:54


>
> Yes
> I installed the 64-bit FC2 linux to use some 64-bit applications.
> And I downloaded the CD ISOs from http://fedora.redhat.com
> Full installation.
>

I take it that you have a 64 bit architecture, an important detail that you
have omitted from these posts.

I've just had a poke around the FC2 rpms. Both the 32 and 64 bit versions of
the lam-7.0.3 rpm ship with only the .a archives. That means that the thing
has been packaged together with only static linkage in mind. Yet your
compilation is producing dynamically-linked binaries. This is a problem.

You must either:

a) Build LAM yourself. This is not a bad option, particularly if you are not
using gcc and it's derivatives (another important detail that you have
omitted). Building LAM is an easy "configure/make/make install" dance, with
appropriate options specified at the configure stage. This would allow you to
upgrade to the latest 7.1 release, rather than the old 7.0.

b) Link statically. I don't know why this is not built into the mpicc/mpif77
scripts in that rpm. (I assume you know what you are doing and using the
wrapper compiler, not just compiling with your bare compiler and hoping for
the best.) Assuming you are using gcc/g77 (a detail you should have included
in your posts if you really want useful help), try adding -static to you
compile line.

-- 
Dr Terry Frankcombe
LIC / Theoretical Chemistry
University of Leiden
Postbus 9502, 2300 RA Leiden, The Netherlands
Ph. +31 71 527 4533   Fax +31 71 527 4397
<T.Frankcombe_at_[hidden]>