[MITgcm-support] problem of 'relocation truncated to fit'
Constantinos Evangelinos
ce107 at ocean.mit.edu
Fri Apr 2 00:20:59 EDT 2010
a) Either add a -fPIC to all your compiler flag settings and make sure your
NetCDF library (if you use one) was built with -fPIC
or
b) add a -mcmodel=medium to all your compiler flag settings and make sure your
NetCDF library (if you use one) was built with -fPIC or -mcmodel=medium.
Constantinos
PS> Chris and J-M should this become an FAQ? I've answered it several times in
the past.
--
Dr. Constantinos Evangelinos
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology
More information about the MITgcm-support
mailing list