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

Re: Netcdf-4 on Mac OS X with Fortran 95 (90)



Title: Re: Netcdf-4 on Mac OS X with Fortran 95 (90)
Hi Ed:

You name it, I am having the problem.  Starting with the ./configure failing to link on the conftest.  We just want to start testing the format.  A binary with includes etc would work fine.  And I am certain that I am using gfortran, I have used setenv to force it.

BTW, with Absoft I get everything configured but then  get:

Making check in f90
/bin/sh ../libtool --mode=compile /Applications/Absoft/bin/f95 -I../libsrc4 -I. -g -O2 -c -o typeSizes.lo typeSizes.f90
libtool: compile:  /Applications/Absoft/bin/f95 -I../libsrc4 -I. -g -O2 -c typeSizes.f90 -o typeSizes.o
/bin/sh ../libtool --mode=compile /Applications/Absoft/bin/f95 -I../libsrc4 -I. -g -O2 -c -o netcdf4.lo netcdf4.f90
libtool: compile:  /Applications/Absoft/bin/f95 -I../libsrc4 -I. -g -O2 -c netcdf4.f90 -o netcdf4.o

 module netcdf
        ^    
cf90-855 f90fe: ERROR NETCDF, File = netcdf4.f90, Line = 36, Column = 9
  The compiler has detected errors in module "NETCDF".  No module information file will be created for this module.

Once the module fails the rest goes down with it.

-Roy


At 4:45 AM -0700 11/3/06, Ed Hartnett wrote:
"Roy Mendelssohn" <address@hidden> writes:

> I have been banging my head against the wall trying to get the latest
> release (alpha17) of Netcdf-4 to build successfully with Fortran.  I
> don't need Fortran 77.  I have tried Absoft, gfortran and g95.
>
> If someone can either give me the correct settings of if they have a
> prebuilt binaries with needed includes I would sure appreciated it as
> I am making no headway.
>
> TIA,
>

I got alpha17 to build no problem, but have since found some bugs in
the fortran API of that release, which will be fixed in alpha18.

I use gfortran.

What problems are you having?

Ed
--
Ed Hartnett  -- address@hidden

===============================================================================
To unsubscribe netcdf-hdf, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
===============================================================================


-- 
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division   
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: address@hidden (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."