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

Re: netcdf Makefile for ecomsed

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.


  • Subject: Re: netcdf Makefile for ecomsed
  • Date: Thu, 08 Jun 2006 10:19:41 -0600

Hi Rachid,

> I am a new user of ECOMSED model. I tried to configure out my netcdf files 
> from
> ecomsed puting the two fortran file putcdf.f and tscdfd.f inside the code but 
> i
> found some errors for generating the execute ecom_sed.
> I attach the Makefile that i used to figure out my NETCDF output files. 
> 
> this is the message error that i got:
> 
> putcdf.o(.text+0x5f54)/usr/bin/ld: BFD 2.14.90.0.6 20030820 assertion fail
> ../../bfd/libbfd.c:551
> /usr/bin/ld: BFD 2.14.90.0.6 20030820 assertion fail ../../bfd/libbfd.c:551
> : In function `putcdf':
> /home/rahmoune/TEST_DIR/ECOMSED/Prova_NEW_OLD/putcdf.f:681: undefined 
> reference
> to `arcam_'
> tscdf.o(.text+0x2bce)/usr/bin/ld: BFD 2.14.90.0.6 20030820 assertion fail
> ../../bfd/libbfd.c:551
> /usr/bin/ld: BFD 2.14.90.0.6 20030820 assertion fail ../../bfd/libbfd.c:551
> : In function `tscdf':
> /home/rahmoune/TEST_DIR/ECOMSED/Prova_NEW_OLD/tscdf.f:378: undefined reference
> to `kmzsave_'
> tscdf.o(.text+0x2cde):/home/rahmoune/TEST_DIR/ECOMSED/Prova_NEW_OLD/tscdf.f:390:
> undefined reference to `amzsave_'
> tscdf.o(.text+0x309c):/home/rahmoune/TEST_DIR/ECOMSED/Prova_NEW_OLD/tscdf.f:426:
> undefined reference to `wzsave_'
> make: *** [ecomsed] Error 2

I think this is a question for the ECOMSED support staff, since the
assertion failures you are encountering evidently occur in ECOMSED
functions, such as in libbfd.c, putcdf.f, and libbfd.c, none of which
are part of netCDF.  Also the undefined references to `kmzsave_',
`amzsave_', and `wzsave_' are from an ECOMSED source, tscdf.f.

Sorry we can't help ...

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu