Git Product home page Git Product logo

Comments (8)

czender avatar czender commented on June 5, 2024

NCO needs to know the absolute path to the UDUnits database on the system. You are compiling with relative paths, so the build might complete correct, and then fail at run time when UDUnits is no longer present at .../udunits-2.2.28. Please read the section on UDUnits in the manual here. You might export the database location with something like

export UDUNITS2_XML_PATH="${HOME}/anaconda/share/udunits/udunits2.xml"

from nco.

haze1986 avatar haze1986 commented on June 5, 2024

Apologies that I omitted the info. But it's a full path and I've censored the folder names.

from nco.

czender avatar czender commented on June 5, 2024

Nevertheless, try the suggestion.

from nco.

haze1986 avatar haze1986 commented on June 5, 2024

If I may be more specific with my question:
Is the error on UDUNITS complaining about udunits or udunits2. I'm not sure if I need to build and install udunits(1) or am I compiling udunits2 incorrectly. Once we clear this up it'll be easier to troubleshoot.

from nco.

czender avatar czender commented on June 5, 2024

Please try the suggestion. It's a 1-liner!

from nco.

haze1986 avatar haze1986 commented on June 5, 2024

Yes Ive already tested, after export I get the same error at runtime. Which was why I'd like to try recompiling it with your suggestion to add the xml path as well. Can I confirm its udunits2 we need here?

from nco.

czender avatar czender commented on June 5, 2024

Yes, UDUnits2. NCO wants to enable UDUnits2. If it cannot find UDUnits2 then it might try to enable UDUnits1.

from nco.

haze1986 avatar haze1986 commented on June 5, 2024

I have rebuilt and arrived at the same error still

from nco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.