NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-porting] netcdf 4.1.3 on Mac OS Lion with ifort 12

NOTE: The netcdf-porting mailing list is no longer active. The list archives are made available for historical reasons.

Russ,

That works, thank you and welcome Sean.

- Jim

On Wed, Dec 14, 2011 at 4:43 PM, Russ Rew <russ@xxxxxxxxxxxxxxxx> wrote:

> Hi Jim,
>
> > Everything builds okay but when I try to run the tests I get a failure to
> > link the fortran:
> >
> > libtool: link: ifort -I../fortran -I../f90 -I../f90 -I../include -I../oc
> -g
> > -o .libs/tst_f90 tst_f90.o  ../fortran/.libs/libnetcdff.dylib
> > /Users/jedwards/src/netcdf-4.1.3/liblib/.libs/libnetcdf.dylib -lm -lz
> -lcurl
> > Undefined symbols for architecture x86_64:
> >   "_typesizes_mp_bytesizesok_", referenced from:
> >       _MAIN__ in tst_f90.o
>
> Setting the environment variable
>
>  lt_cv_ld_force_load=no
>
> (an internal configure variable from libtool) before invoking the
> configure script.  This workaround successfully builds netCDF version
> 4.1.3 with the Intel ifort Fortran compiler (ifort version 12.1, but
> perhaps also earlier versions) on Mac OS X 10.7 (Lion and perhaps
> earlier versions).
>
> More details are here:
>
>
> http://www.unidata.ucar.edu/netcdf/docs/known_problems.html#intel-fortran-macosx
>
> Thanks to new Unidata staff member Sean Arms for pointing out this
> solution and to Dave Allured (NOAA/PSD/CIRES) for providing another
> work-around that pointed the way.
>
> --Russ
>



-- 
Jim Edwards

CESM Software Engineering Group
National Center for Atmospheric Research
Boulder, CO
303-497-1842
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-porting archives: