[FLASH-USERS] problem in initializing more than 2GB pr CPU

Chris Daley cdaley at flash.uchicago.edu
Thu Jul 24 07:59:22 EDT 2008


M.A. Latife wrote:
>
> Hi
> Dear all,
> I am using super computer with following specifications. it has 128 Gb 
> internal memory and 16 processors.
> it is the same pc about which Seyit mentioned compiling problems in 
> previous emails.
> Ubuntu
> Linux si01 2.6.24.3 #1 SMP Fri Jul 4 11:02:09 CEST 2008 x86_64 GNU/Linux
> ifort intel compiler version 10.1.012
> hdf5 1.6.7 (serial)
> mpich2 Version: 1.0.6
> gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
> FFLAGS_OPT   = -c -r8 -i4  -xT -O3 -no-prec-div -static -I 
> $(MPI_PATH)/include
> or (only -ipo difference, result seemingly doesn't change)
> FFLAGS_OPT   = -c -r8 -i4  -fast -I $(MPI_PATH)/include
>
>
> Now we have an other problem that when we try to initiate 2000 blocks 
> which in my case has more than 2 GB per processor it starts giving 
> this error and make is not complete. we can't understand why it is not 
> making when we have more than 2 GB per processor. it works fine for 
> less than less than 2 GBper processor . Is it compiler problem or some 
> thing else?
>
>
>
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetreal3d_':
> dBaseTree.F90:(.text+0x22): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_bnd_box_' defined in COMMON section in tree.o
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetint3d_':
> dBaseTree.F90:(.text+0xb4): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_child_' defined in COMMON section in tree.o
> dBaseTree.F90:(.text+0xea): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_neigh_' defined in COMMON section in tree.o
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetreal2d_':
> dBaseTree.F90:(.text+0x176): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_bsize_' defined in COMMON section in tree.o
> dBaseTree.F90:(.text+0x19c): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_coord_' defined in COMMON section in tree.o
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetint2d_':
> dBaseTree.F90:(.text+0x244): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_child_type_' defined in COMMON section in tree.o
> dBaseTree.F90:(.text+0x269): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_neigh_type_' defined in COMMON section in tree.o
> dBaseTree.F90:(.text+0x289): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_parent_' defined in COMMON section in tree.o
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetreal1d_':
> dBaseTree.F90:(.text+0x2a0): relocation truncated to fit: R_X86_64_32S 
> against symbol `tree_mp_work_block_' defined in COMMON section in tree.o
> dBaseTree.o: In function `dbasetree_mp_dbasetreesetint1d_':
> dBaseTree.F90:(.text+0x330): additional relocation overflows omitted 
> from the output
> make[1]: *** [flash2] Error 1
> make[1]: Leaving directory `/home/users/latife/FLASH2.5/object'
> make: *** [default] Error 2
> Thanks in advance
> Best Regards
> Latif
>
>
>
Hi Latif,

This is not a compiler problem, it is simply because you have crossed
the 2GB code + data limit.  If you want to use more than 2GB,
you can try passing the -mcmodel option to ifort during code
compilation, i.e. -mcmodel=medium or -mcmodel=large.  Please refer to
the ifort man page for details.

Regards,
Chris




More information about the flash-users mailing list