[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #BVS-485205]: Ticket ID: GLX-497823
- Subject: [netCDF #BVS-485205]: Ticket ID: GLX-497823
- Date: Thu, 21 Mar 2013 19:27:41 -0600
Hi,
It looks like the problem with
> Undefined symbols for architecture x86_64:
> "_iargc_", referenced from:
> _MAIN__ in wrf_to_gmt.o
> ld: symbol(s) not found for architecture x86_64
actually means what it says, that the iargc intrinsic function from Fortran-77
is no longer
supported by gfortran. I thought it was a more general problem of gfortran
version
not matching gcc, but that was wrong.
It looks like for portability you'll have to either use the new Fortran 2003
function
COMMAND_ARGUMENT_COUNT(), or make sure you aren't declaring IARGC as an
extrinsic function:
http://gcc.gnu.org/onlinedocs/gfortran/IARGC.html
http://forum.wrfforum.com/viewtopic.php?f=5&t=7
Sorry about the bad advice ...
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: BVS-485205
Department: Support netCDF
Priority: Normal
Status: Closed