[MITgcm-support] odd build error

Matthew Mazloff mmazloff at ucsd.edu
Fri Aug 16 13:19:32 EDT 2013


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




More information about the MITgcm-support mailing list