[ncl-install] ncl install with different flags

Nikolai Gorelenkov ngorelen at pppl.gov
Thu Oct 1 15:26:06 MDT 2020


Hello,
I am installing ncar library without any problems. However i would like to
allow a large memory tasks to run without any errors which i have now.
Basically i am getting during the installations the following:relocation
truncated to fit: R_X86_64_PC32 against `.bss'

And i read on the net that all the subroutines and libraries need to be
compiled with the flags like:
 -mcmodel=large -Wl,--no-relax

I set up on my gentoo/linux box: export FFLAGS='-mcmodel=large
-Wl,--no-relax -fPIC'
But that did not help to generate the Makefile with those additional flags.
All i have is your standard -fPIC.
Please advise how to add the memory flag,

regards, Nikolai.
---------------
Dr. N. N. Gorelenkov
Principal Research Physicist
Phone (609) 243-2552
FAX   (609) 243-2662
E-mail: ngorelen at pppl.gov
MS-27
PPPL, Princeton University
P.O. Box 451, Princeton NJ 08543-0451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20201001/63ad0583/attachment.html>


More information about the ncl-install mailing list