Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ncview doesn't build #4

Open
aaschwanden opened this issue Dec 25, 2017 · 1 comment
Open

Ncview doesn't build #4

aaschwanden opened this issue Dec 25, 2017 · 1 comment
Assignees

Comments

@aaschwanden
Copy link
Member

The error is

mpicc  -g -L/u/aaschwan/local/lib -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -L/u/aaschwan/local/netcdf/lib -lnetcdf -lSM -lICE  -lX11   -Wl,-rpath,/u/aaschwan/local/netcdf/lib -L/u/aaschwan/local/netcdf/lib -L/u/aaschwan/local/lib -o ncview  ncview.o file.o util.o do_buttons.o file_netcdf.o view.o do_print.o epic_time.o interface.o x_interface.o dataedit.o display_info.o plot_xy.o utils.o range.o printer_options.o overlay.o filesel.o set_options.o plot_range.o udu.o SciPlot.o RadioWidget.o cbar.o utCalendar2_cal.o calcalcs.o colormap_funcs.o make_tc_data.o stringlist.o handle_rc_file.o -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -lm -L/u/aaschwan/local/netcdf/lib -lnetcdf -lXaw -lXt  -lSM -lICE  -lX11   -lpng 
file_netcdf.o: In function `netcdf_att_string':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1793: undefined reference to `ncattget'
file_netcdf.o: In function `netcdf_global_att_string':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1844: undefined reference to `ncattname'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1845: undefined reference to `ncattinq'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1862: undefined reference to `ncattget'
file_netcdf.o: In function `netcdf_dimvar_bounds_id':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1932: undefined reference to `ncattinq'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1937: undefined reference to `ncattget'

it does find the netcdf libs, I'm not sure what this is about.

@ckhroulev ckhroulev self-assigned this Feb 7, 2018
@ckhroulev
Copy link
Member

I know what this is about. I'll fix it once my simulations on Pleiades are done (I don't want to re-build NetCDF in the middle of it all.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants