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

Bacio_lib4 available? #217

Closed
bdaniels134 opened this issue Sep 25, 2024 · 2 comments
Closed

Bacio_lib4 available? #217

bdaniels134 opened this issue Sep 25, 2024 · 2 comments

Comments

@bdaniels134
Copy link

Is your feature request related to a problem? Please describe.
Working on compiling a legacy Fortran code for NWS/Ocean Prediciton Center that creates grib2 files from NetCDF ocean files. Recently received help about testing our spack installation and setting up a makefile to reference the NCEP Libs on our compute farm.
The compiling using these libraries is showing errors like the following:
nc2grib2_ncom.f:(.text+0x765): undefined reference to baopenw_' nc2grib2_ncom.f:(.text+0xaa4): undefined reference to gribcreate_'
nc2grib2_ncom.f:(.text+0xafe): undefined reference to addgrid_' nc2grib2_ncom.f:(.text+0x112d): undefined reference to addfield_'
nc2grib2_ncom.f:(.text+0x1172): undefined reference to gribend_' nc2grib2_ncom.f:(.text+0x120a): undefined reference to wryte_'
nc2grib2_ncom.f:(.text+0x121f): undefined reference to `baclose_'

Looking at our older makefiles we seem to be using a different version of bacio, called bacio_lib4 with a library file called something like libbacio_4.a
We installed the version, bacio-2.6.0
Is the bacio-lib4 version available still available?

Describe the solution you'd like

Resources and Schedule
Who is expected to do the work, and what is the schedule?
We will ask NCO to install bacio_lib4 on our Compute Farm if its available.

@bdaniels134
Copy link
Author

Found my errors. My env variables were not getting set. It compiled with the current version of bacio! Thanks

@bdaniels134
Copy link
Author

Closing - found my compiling bug with env variables

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

1 participant