[MITgcm-support] problem of 'relocation truncated to fit'
ouc.edu.cn
ouc.edu.cn at 163.com
Thu Apr 1 23:29:30 EDT 2010
Dear all,
When I compile the code using 'linux_amd64_pgf77', an error appears:
timestep.o: In function `timestep_':
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: relocation truncated to fit: R_X86_64_32S against symbol `dynvars_r_' defined in COMMON section in timestep.o
./timestep.f:2841: additional relocation overflows omitted from the output
make: *** [mitgcmuv] Error 2
The problem is : when I set
& sNx = 214,
& sNy = 79,
& OLx = 3,
& OLy = 3,
& nSx = 1,
& nSy = 1,
& nPx = 16,
& nPy = 2,
everything is all right and the executable 'mitgcmuv' is generated,
However, when I tried to use 8 CPU and changed the above parameters to
& sNx = 428,
& sNy = 158,
& OLx = 3,
& OLy = 3,
& nSx = 1,
& nSy = 1,
& nPx = 8,
& nPy = 1,
the error message appeared as is shown above.
So what is the problem? I did not do anyting but just to change the number of CPU .
I'd appreciate it if anyone could help.
Cheers,
Dwight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100402/fabcbecb/attachment.htm>
More information about the MITgcm-support
mailing list