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

[netCDF #BUY-976453]: Netcdf-4 on Mac OS X with Fortran 95 (90)



> Hi Ed:
> 
> I just tried an install on Linux with gfortran.  I got the exact same
> errors I got for the Mac.  I assume there are some environmental
> variables that need to be set.  If you could let me know I would
> appreciate it.
> 
> -Roy
> 

Howdy Roy!

The netCDF-4 daily snapshot is now building cleanly on both a mac and Linux 
with gfortran (version 4.1.1).

I am seeing the same g95 problems that you report - I don't know what the 
problem is there and will have to track that down.

The daily snapshot is here:
ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz

You can see build output here:
http://www.unidata.ucar.edu/software/netcdf/builds/snapshot/index_4.html

I don't set any environment vars to get gfortran to work with the netCDF F90 
API:

Making check in f90
make[1]: Entering directory `/home/ed/netcdf-4.0-alpha19/f90'
/bin/sh ../libtool   --mode=compile gfortran -I../libsrc -I.  -g -O2 -c -o 
typeSizes.lo typeSizes.f90
libtool: compile:  gfortran -I../libsrc -I. -g -O2 -c typeSizes.f90 -o 
typeSizes.o
/bin/sh ../libtool   --mode=compile gfortran -I../libsrc -I.  -g -O2 -c -o 
netcdf.lo netcdf.f90
libtool: compile:  gfortran -I../libsrc -I. -g -O2 -c netcdf.f90 -o netcdf.o
/bin/sh ../libtool   --mode=link gfortran -I../libsrc -I.  -g -O2   -o 
libnetcdff90.la  typeSizes.lo  netcdf.lo
libtool: link: ar cru .libs/libnetcdff90.a  typeSizes.o netcdf.o
libtool: link: ranlib .libs/libnetcdff90.a
libtool: link: creating libnetcdff90.la
libtool: link: ( cd ".libs" && rm -f "libnetcdff90.la" && ln -s 
"../libnetcdff90.la" "libnetcdff90.la" )
make[1]: Leaving directory `/home/ed/netcdf-4.0-alpha19/f90'

If this still doesn't work, please send me the complete (ASCII) output of your 
configure and make, and also send the config.log file.

Thanks,

Ed

Ticket Details
===================
Ticket ID: BUY-976453
Department: Support netCDF
Priority: Critical
Status: Closed