[Users] Warnings when compiling on OS X.5.2
Erik Schnetter
schnetter at cct.lsu.edu
Thu Mar 13 13:57:49 CST 2008
On Mar 13, 2008, at 12:21:16, Joshua Faber wrote:
> Hi Erik,
> I noticed you committed the most recent update to the Carpet
> architectures listing. I have the following warnings appearing when
> I compile our code, and figured you might be able to help. When I
> compile on a machine running Leopard, Dual quad-core Xeons, OS
> 10.5.2, with standard fink installations of gcc42, hdf5, and
> openmpi, I get the following errors
>
> ld: warning alignment lost in merging tentative definition
> _staticconformalrest_
> ld: warning alignment lost in merging tentative definition
> _admbaserest_
> ld: warning alignment lost in merging tentative definition
> _spacemaskrest_
> ld: warning alignment lost in merging tentative definition
> _admmacrosrest_
>
>
> Ever seen this before? I'll be checking soon to find out if this
> obviously affects the output of the code or not.
[Reposted with permission.]
Joshua,
this seems to be a problem in gfortran. There is a posting on one gcc
mailing list (I don't remember the details) stating that gfortran
requests too much alignment for certain data structures, especially
more than gcc requests. These data structures are used in Cactus to
communicate the parameter values from C to Fortran, meaning they are
defined by C and used from Fortran. I believe that these warning
messages are harmless, and I expect them to go away in future versions
of gfortran.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/users/attachments/20080313/4bcc13ae/attachment.bin
More information about the Users
mailing list