Code Monkey home page Code Monkey logo

Comments (12)

kgerheiser avatar kgerheiser commented on September 15, 2024

The references to ipolates means the ip library is not being linked properly.

Where are you building and compiler are using? Could you show the link line right before the errors and maybe the line where CMake finds ip at the beginning of the build? This library is built frequently without issue.

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

Dear kgerheiser,

I compile it with gcc-9.1.0 on a supercomputer.

The ip library link seems to be OK.

The compile command line :
/gcc-9.1.0/bin/gfortran -g -fdefault-real-8 -O3 CMakeFiles/copygb.dir/copygb.F.o -o copygb /app/hpc-stacks/lib/libbacio_4.a /app/hpc-stacks/lib/libw3nco_4.a /app/hpc-stacks/lib64/libip_4.a /app/hpc-stacks/lib64/libsp_4.a /app/gcc-9.1.0/lib64/libgomp.so -lpthread

By the way, the /app/hpc-stacks/lib64/libip_4.a is compiled successfullly.

Is there any other possibility for the compiling errors?

from nceplibs-grib_util.

kgerheiser avatar kgerheiser commented on September 15, 2024

Yeah, that looks right. It's the same link line I get with a successful build, but something is definitely being linked wrong if it can't find ipolates, ipolatev or makgds, which come from libip.

By any chance are you using the develop branch of ip? There's been some changes in there that would break grib_util in a suspiciously similar way.

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

There are several branches in https://github.com/NOAA-EMC/NCEPLIBS-grib_util,

Do you mean I should download NCEPLIBS-grib_util-master.zip other than NCEPLIBS-grib_util-develop.zip ?

from nceplibs-grib_util.

kgerheiser avatar kgerheiser commented on September 15, 2024

No, I mean are you using the develop branch of NCEPLIBS-ip somehow?

https://github.com/NOAA-EMC/NCEPLIBS-ip

There are some compatibility breaking changes in the develop branch.

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

Thanks a lot. I will download master branch zip files, compile it again and response the results to you.

from nceplibs-grib_util.

kgerheiser avatar kgerheiser commented on September 15, 2024

I recommend using the most recent release, tag v3.3.3

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

The build-stacks.sh download the IP with the following command:
git clone https://github.com/noaa-emc/nceplibs-ip ip-v3.3.3
But it is not clear which version will be downaded ( the NCEPLIBS-ip-develop.zip or the NCEPLIBS-ip-master.zip).

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

I found the tag v3.3.3, thanks

from nceplibs-grib_util.

wyhqq avatar wyhqq commented on September 15, 2024

The same errors still comes up when I compile the grib-util even if I download the nceplibs-ip with tags v3.3.3 and compile it again.

from nceplibs-grib_util.

kgerheiser avatar kgerheiser commented on September 15, 2024

I really think that's what the problem was. Did you install the new version and make sure remnants of the old build were deleted?

You can run nm libip_4.a to see the symbols in the library, and in there you should see makgds, ipolates, and ipolatev.

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

Is this still an issue?

NCEPLIBS-grib_util is building well on my development machine and the github CI systems...

from nceplibs-grib_util.

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.