No subject


Fri Nov 30 02:28:46 EST 2012


--047d7bdc10f26b0d7304ec9a2c0a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Super Modelers,<div><br></div><div>I found a weird er=
ror when trying to compile a large domain (500 x 1600 x 1) on a single proc=
essor. On the final link stage of the build, I get:</div><div>ld: 32-bit RI=
P relative reference out of range (2162237024 max is +/-4GB): from _find_be=
ta__ (0x100227200) to _rhoden.4514 (0x18103AE80) in &#39;_find_beta__&#39; =
from find_alpha.o for architecture x86_64<br>
</div><div>The error disappears if I just reduce sNx * sNy. I guess this ha=
s something to do with running out of memory address space? Is it weird tha=
t &quot;32-bit RIP&quot; is being used even though my platform is 64 bit?</=
div>
<div><br></div><div>My one weak attempt to overcome this was by adding -fPI=
C to my FFLAGS. No success.</div><div><br></div><div>Is there any way to ov=
ercome this problem, or am I hitting some kind of fundamental limit to the =
domain size?</div>
<div><br></div><div>Thanks for your suggestions,</div><div>Ryan</div><div><=
br></div><div><br></div><div>My platform is Mac OX 10.8.5, Intel Core i7, g=
cc version 4.2.1 (via xcode), gfortran GNU Fortran (GCC) 4.7.1. My optfile =
is the default=A0darwin_amd64_gfortran.</div>
<div><br></div><div>From my SIZE.h:</div><div><div>=A0 =A0 =A0&amp; =A0 =A0=
 =A0 =A0 =A0 sNx =3D 500,</div><div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 sN=
y =3D 1600,</div><div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 OLx =3D =A0 4,</=
div><div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 OLy =3D =A0 4,</div><div>=A0 =
=A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 nSx =3D =A0 1,</div>
<div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 nSy =3D =A0 1,</div><div>=A0 =A0 =
=A0&amp; =A0 =A0 =A0 =A0 =A0 nPx =3D =A0 1,</div><div>=A0 =A0 =A0&amp; =A0 =
=A0 =A0 =A0 =A0 nPy =3D =A0 1,</div><div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =
=A0 Nx =A0=3D sNx*nSx*nPx,</div><div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 N=
y =A0=3D sNy*nSy*nPy,</div>
<div>=A0 =A0 =A0&amp; =A0 =A0 =A0 =A0 =A0 Nr =A0=3D =A0 1)</div></div><div>=
<br></div><div><br></div><div><br></div><div><br></div></div>

--047d7bdc10f26b0d7304ec9a2c0a--



More information about the MITgcm-support mailing list