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

Re: 20050307:no excecutable is created



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: Sheo Shanker Prasad <address@hidden>
>>Subject: Puzzling problem
>>Organization: Creative Research Enterprises
>>Keywords: 200503072039.j27Kd0v2008197
>
> Dear Ed,
>
> After successfully installing NetCDF (version 3.6.1 beta3 version) on Opteron 
> and Absoft compiler (as per my previous e-mail), I get puzzling messages 
> during linking. Thease messages are appended after signature block. It does 
> not recognize NF_ENDEF,  NF_CREATE, NF_REDEF etceras. Finally, no excecutable 
> is created.
>
> These messages are puzzling to me since these are coming when I am compiling 
> extremely trusted program (that I have been using for past 4 years with 
> NetCDF version 3.5) without any problem. 
>
> I thought I should check with you before contacting Absoft, so that I may 
> pose 
> to them the right questions. Has there been any changes in the names of the 
> NF_ENDEF,  NF_CREATE, NF_REDEF etceras. in NetCDF 3.6? 
>
> Please help in understanding these error messages. Your help will be greatly 
> appreciated.
>
> I then tried to compile NetCDF 3.5 on opteron with Absoft. But it won't 
> compile, although it did so Pentium with 32-bit.
>
> Any suggestion that you can give will be greatly appreciated.
> -- 
> Best regards.
>
> Sheo
> (Sheo S. Prasad)
> Creative Research Enterprises
> 6354 Camino del Lago
> Pleasanton, CA 94566, USA
> Voice Phone: (+1) 925 426-9341
> Fax   Phone: (+1) 925 426-9417
> e-mail: address@hidden
> ===================== Disturbing Messages==================
> + f90 -o socpp.abs -lU77 -L/home/ssp/netcdf_abs/lib/libnetcdf chem_diavg.o 
> READ_SAVE.o soc.main.o soc.mods.o soc.subs.o
> soc.mods.o(.text+0xaab): In function `__NETCDF_INIT_in_NETCDF_UTILS':
> : undefined reference to `NF_ENDDEF'
> soc.mods.o(.text+0xc7a): In function `__NETCDF_CREATE_in_NETCDF_UTILS':
> : undefined reference to `NF_CREATE'
> soc.mods.o(.text+0xd65): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_REDEF'
> soc.mods.o(.text+0xe10): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_DIM'
> soc.mods.o(.text+0xe88): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_DIM'
> soc.mods.o(.text+0xf13): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_DIM'
> soc.mods.o(.text+0xf50): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_DIM'
> soc.mods.o(.text+0xf7a): In function `__NETCDF_DIM_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_ENDDEF'
> soc.mods.o(.text+0x1123): In function `__NETCDF_VAR_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_REDEF'
> soc.mods.o(.text+0x11ee): In function `__NETCDF_VAR_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_VAR'
> soc.mods.o(.text+0x16b5): In function `__NETCDF_VAR_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_DEF_VAR'
> soc.mods.o(.text+0x16e3): In function `__NETCDF_VAR_DEF_in_NETCDF_UTILS':
> : undefined reference to `NF_ENDDEF'
> soc.mods.o(.text+0x1879): In function `__SET_ATTRIBUTE_in_NETCDF_UTILS':
> : undefined reference to `NF_REDEF'
> soc.mods.o(.text+0x1918): In function `__SET_ATTRIBUTE_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_VARID'
> soc.mods.o(.text+0x19cf): In function `__SET_ATTRIBUTE_in_NETCDF_UTILS':
> : undefined reference to `NF_PUT_ATT_TEXT'
> soc.mods.o(.text+0x19e3): In function `__SET_ATTRIBUTE_in_NETCDF_UTILS':
> : undefined reference to `NF_ENDDEF'
> soc.mods.o(.text+0x1b36): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_VARID'
> soc.mods.o(.text+0x1b9b): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_VAR'
> soc.mods.o(.text+0x1c60): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_DIM'
> soc.mods.o(.text+0x1cf0): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_PUT_VAR1_DOUBLE'
> soc.mods.o(.text+0x1eef): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_PUT_VAR1_DOUBLE'
> soc.mods.o(.text+0x1f9b): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_DIM'
> soc.mods.o(.text+0x22a2): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_PUT_VARA_DOUBLE'
> soc.mods.o(.text+0x256d): In function `__NETCDF_ARCH_in_NETCDF_UTILS':
> : undefined reference to `NF_PUT_VARA_DOUBLE'
> soc.mods.o(.text+0x2810): In function `__NETCDF_READ_in_NETCDF_UTILS':
> : undefined reference to `NF_INQ_VARID'
>
> --
> 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
>
>

Looks as if you may not really be compiling the fortran part of
netCDF.

When you build netCDF, look at the configure output to see if it could
get the fortran compiler to work. If the configure script can't build
a simple fortran program, it skips the fortran interfaces.

Check the output of make test to see if the tests in directory nf_test
were run, and if they passed.

Ed

-- 
Ed Hartnett  -- address@hidden