[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #MMW-668392]: error with fPIC in numerical model



Hello,

It appears that you need to rebuild your libnetcdf static library passing the 
`-fPIC` (position indpendent code) flag to gcc by setting the CFLAGS 
environmental variable.  You could also recompile libnetcdf as a shared library.

I hope this helps!  If you have any additional questions, please don't hesitate 
to ask.

-Ward

> Hello,
> 
> My name is Fernando and I have an error with compile file with gcc and
> gfortran related to FPIC that I don't know how I can solved. Help me please
> 
> The output's error is in txt file
> 
> 


Ticket Details
===================
Ticket ID: MMW-668392
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.