This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Unidata Support <address@hidden> writes: > ------- Forwarded Message > > >To: <address@hidden> > >cc: <address@hidden> > >From: <address@hidden> > >Subject: netcdf -3.6.0 problem > >Organization: German Aerospace Centre > >Keywords: 200501311226.j0VCQhv2026767 netCDF 3.6.0 > > Hello, > > I am hoping that you could provide some advice. I am trying to run a climate > model written in fortran 90 on a sun ULTRA workstation. The model crashes > on the first timestep. I get a core file which, on debugging says: > > "a floating point exception in the line "float xx = (float) *ip;" > - the above line occurs in file ~netcdf/netdcf-3.6.0/src/libsrc. > > I have installed netcdf 3.6.0 - is it possible that the error > is a version problem, i.e. should I install an earlier version of netcdf? > When I search the web for earlier versions to install, they are actually quite > hard to find, and many links lead back to the unidata site. > > If my message is not appropriate for this email address then I > apologise - maybe you could advise where I should ask? > > I enclose some Makefiles statements from my model below. > > Thanks in advance for your help. > > Dr John Lee Grenfell > > German Aerospace Centre > Institute for Planetary Research > Rutherfordstr. 2 > 12489 Berlin > Germany > > Tel: +49 30 67055-337 > > Makefile statements > -------------------- > > Compile options: > f90 -dusty -Kieee -maxcontin=40 -132 -lm -c -g -r8const -O4 > -tune ev56 -arch ev56 -xlibmil -xlibmopt > > Linking and running: > a.out : $(src_obj) > f90 -o $@ $(src_obj) -xlibmopt -xlibmil -L/$HOME/netcdf/netcdf-3.6.0/lib > -lnetcdf -lm > f.o : $(FC) $*.f -xlibmopt -xlibmil > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > > ------- End of Forwarded Message > > Howdy! Firstly, do we know if the F90 tests ran successfully when netcdf was installed? Go to whereever netcdf was installed and do a "make test" and send me the output. Thanks, Ed -- Ed Hartnett -- address@hidden