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

[netCDF #UEF-905105]: Using NetCDF 4.1.2 with WRF



> On 5/19/11 1:58 PM, "Unidata netCDF Support"
> <address@hidden> wrote:
> 
> 
> >> Attached file 'config.log'
> >>
> >> =========================================
> >> Saurabh Barve
> >> Digital Consulting Services (DCS)
> >> Supporting the Department of Meteorology
> >> Naval Postgraduate School
> >> 831-656-3396
> >> address@hidden
> >>
> >

Looks like you are setting some CFLAGS. 
CFLAGS='-cc=icc -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC'

But the ifort compiler is complaining about the -m64 option:
mpif90 -DHAVE_CONFIG_H -I. -I.. -I../fortran  -I../include   -DpgiFortran 
-I/opt/hdf5/intel/include -I/opt/hdf4/intel/include 
-I/opt/udunits/intel/include -I/usr/include 
-I/usr/mpi/intel/mvapich2-1.6-qlc/include -I../fortran -I../f90 -I../include   
-f90=ifort -DpgiFortran -O3 -xSSSE3 -ip -no-prec-div -m64 -fPIC 
-mpif90_arch=x86_64 -mpif90_abi=intel11 
-mpif90_abi_incdir=/usr/mpi/intel/mvapich2-1.6-qlc/include -c -o test_get.o 
test_get.F
ifort: command line warning #10159: invalid argument for option '-m'

Furthermore, you should not be setting -fPIC, the netCDF makefiles will know 
how to build shared libraries on your platform. 

I would suggest taht you take those two options off your FLAGS and try again.

The latest daily snapshot contains a new F77 test, which I added this morning, 
but otherwise nothing relating to your problem. But you can grab it if you want:
ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz

Meanwhile, the HDF5 team has released version 1.8.7, and I have upgraded for 
all my testing. You may wish to upgrade HDF5 as well.

Thanks,

Ed

Ticket Details
===================
Ticket ID: UEF-905105
Department: Support netCDF
Priority: Critical
Status: Closed