[MITgcm-support] Limitation for Tile's dimensions

Constantinos Evangelinos ce107 at ocean.mit.edu
Mon Apr 23 15:06:56 EDT 2007


On Fri 20 Apr 2007 12:03, Eli Biton wrote:

> Hi Constantinos
>
> The compilation error message (when using 36 CPU's) is:
>
> sigreg.o(.text+0xe): In function `killhandler':
> : relocation truncated to fit: R_X86_64_PC32 ip
>
> sigreg.o(.text+0x15): In function `killhandler':
> : relocation truncated to fit: R_X86_64_PC32 ip
>
> sigreg.o(.text+0x37): In function `sigreg_':
> : relocation truncated to fit: R_X86_64_PC32 ip

That is because your C code must have been compiled without -fPIC or 
-mcmodel=medium

> /opt/netcdf-3.6.0-p1/lib/libnetcdf.a(v2i.o)(.text+0x25f): In function
> `NCadvise': /opt/netcdf-3.6.0-p1/src/libsrc/v2i.c:145: relocation truncated
> to fit: R_X86_64_PC32 cdf_routine_name gmake: *** [mitgcmuv] Error 1

That is because your NetCDF library was compiled without -fPIC or 
-mcmodel=medium

The first problem is very easy to fix, the latter is more difficult as it 
would require your sysadmin recompiling NetCDF (or you can do that yourself).

Please use the newly checked in optfiles:
linux_amd64_ifort (serial)
linux_amd64_ifort_generic_mpi (parallel)

For the latter you need to define an environment variable 
MPI_INC_DIR=/usr/local/topspin/mpi/mpich/include
in your case before calling genmake2.

Constantinos
-- 
Dr. Constantinos Evangelinos                    Room 54-1518, EAPS/MIT
Earth, Atmospheric and Planetary Sciences       77 Massachusetts Avenue
Massachusetts Institute of Technology           Cambridge, MA 02139
+1-617-253-5259/+1-617-253-4464 (fax)           USA


-- 
Dr. Constantinos Evangelinos
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology




More information about the MITgcm-support mailing list