[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #TDS-554471]: Problem with nc reference when compiling Trilinos
- Subject: [netCDF #TDS-554471]: Problem with nc reference when compiling Trilinos
- Date: Thu, 13 Feb 2020 17:02:19 -0700
Hello,
I am not familiar with Trilinos, but it sounds like you are not properly
linking against the netCDF library when compiling Trilinos. You might contact
the Trilinos development team/support and see if they can provide you with any
help in compiling their software, as it sounds like the issue is with the build
and not netCDF itself.
I'm sorry we can't provide more immediate help, have a great day,
-Ward
> Hello,
>
> My name is Felipe, I do research in geophysics.
>
> I am currently installing Trilinos in my local cluster.
>
> when compiling, I get errors like these
>
> ex_utils.c:(.text+0x1f83): undefined reference to `nc_get_var_int'
>
> ex_copy.c:(.text+0x1d0b): undefined reference to `nc_def_dim'
>
> investigating, I learned that they are due to bad linking or referencing
> to NetCDF.
>
> I do have NetDCF installed, netcdf-c-4.7.3.
>
> when building Trilinos, I do:
>
> -DTPL_Netcdf_LIBRARIES='/home/Felipe/BIGSOFTWARE/netcdf-c-4.7.3'
> DNetcdf_INCLUDE_DIRS='/home/Felipe/BIGSOFTWARE/netcdf-c-4.7.3'
>
> and all good, it builds. The error comes with the compiling, when doing the
> 'make install'
> What should I do?
>
> Should I run a test on my netcdf?
> Should I check for linking from Trilinos directory? is there any other
> better way to link? maybe the 'library dirs' and the 'include_dirs' are
> different..
>
> cheers many,
> Felipe
>
>
Ticket Details
===================
Ticket ID: TDS-554471
Department: Support netCDF
Priority: Normal
Status: Closed
===================
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.