[MITgcm-support] odd build error

Patrick Heimbach heimbach at MIT.EDU
Fri Aug 16 13:59:26 EDT 2013


Matt is right on: see, e.g.:

http://mitgcm.org/pipermail/mitgcm-support/2006-July/004147.html

p.

On Aug 16, 2013, at 1:19 PM, Matthew Mazloff <mmazloff at ucsd.edu> wrote:

> the compiler thinks the executable is too big.
> 
> Make your tiles smaller or you can add a flag, e.g. -mcmodel=large to tell it that all is OK
> 
> Matt
> 
> 
> On Aug 16, 2013, at 9:54 AM, Neil Patel <nigellius at gmail.com> wrote:
> 
>> I'm trying to compile the MITgcm for a cube face setup with ext. Compiling I get this error:
>> 
>> for_diags_intel.c:(.text+0x1241): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /opt/intel/composer_xe_2013.1.117/compiler/lib/intel64/libifcore.a(for_diags_intel.o)
>> for_diags_intel.c:(.text+0x136d): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /opt/intel/composer_xe_2013.1.117/compiler/lib/intel64/libifcore.a(for_diags_intel.o)
>> for_diags_intel.c:(.text+0x1394): relocation truncated to fit: R_X86_64_PC32 against symbol `message_catalog' defined in COMMON section in /opt/intel/composer_xe_2013.1.117/compiler/lib/intel64/libifcore.a(for_diags_intel.o)
>> for_diags_intel.c:(.text+0x1492): additional relocation overflows omitted from the output
>> make[1]: *** [mitgcmuv] Error 1
>> make[1]: Leaving directory `/usr/data/nppatel/MITgcm_c64g/verification/cube_test/build'
>> make: *** [fwd_exe_target] Error 2
>> 
>> here's my build options file if that helps:
>> 
>> FC=/opt/intel/bin/ifort
>> F90C=/opt/intel/bin/ifort
>> qCC=cc
>> LINK='/opt/intel/bin/ifort'
>> 
>> DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
>> CPP='cpp -P -traditional -D_d=D'
>> F90FIXEDFORMAT='-fixed -Tf'
>> EXTENDED_SRC_FLAG='-132'
>> 
>> NOOPTFLAGS="-O0 -g -m64"
>> NOOPTFILES=''
>> 
>> MCMODEL='-fPIC'
>> FFLAGS="$FFLAGS -W0 -WB -convert big_endian -assume byterecl $MCMODEL"
>> 
>> 
>> if test "x$IEEE" = x ; then     #- with optimisation:
>>   FOPTIM='-O3 -align'
>> else
>> if test "x$DEVEL" = x ; then  #- no optimisation + IEEE :
>>   FOPTIM='-O0 -noalign -fp-model precise'
>> else                          #- development/check options:
>>   FOPTIM='-O0 -noalign -fp-model precise'
>>   FOPTIM="$FOPTIM -g -check all -fpe0 -traceback -ftrapuv -fp-model except -warn all"
>> fi
>> fi
>> 
>> F90FLAGS=$FFLAGS
>> F90OPTIM=$FOPTIM
>> CFLAGS="-O0 $MCMODEL"
>> 
>> LIBS='-L/opt/sgi/mpt/mpt-2.06/lib -lmpi -L/usr/local/lib/ -lnetcdf'
>> 
>> INCLUDES='-I/opt/sgi/mpt/mpt-2.06/include'
>> INCLUDEDIRS='/opt/sgi/mpt/mpt-2.06/include'
>> MPI_HEADER_FILES='/opt/sgi/mpt/mpt-2.06/include/mpif.h /opt/sgi/mpt/mpt-2.06/include/mpiof.h'
>> MPI_HEADER_FILES_INC='/opt/sgi/mpt/mpt-2.06/include/mpif.h /opt/sgi/mpt/mpt-2.06/include/mpiof.h'
>> 
>> anyone recognize the error? Thanks!
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support


---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20130816/3fcadd61/attachment.p7s>


More information about the MITgcm-support mailing list