Giter VIP home page Giter VIP logo

Comments (6)

joa-quim avatar joa-quim commented on May 29, 2024

It might be that, but I've added this line in gmtest.in (which probably the best solution for this)

export GMT_DATA_SERVER="static"

and I see that in my .gmt the static files are under C:\Users\j\.gmt\static

I also don't understand why ou Linux CI tests consistently fail the texture tests while those pass on Win and Mac (they fail for me too due to different grids/images/PSs)

from gmt.

seisman avatar seisman commented on May 29, 2024

It might be that, but I've added this line in gmtest.in (which probably the best solution for this)

export GMT_DATA_SERVER="static"

and I see that in my .gmt the static files are under C:\Users\j\.gmt\static

I don't think it will work. As I understand it, currently the only solution is setting set (GMT_DATA_SERVER "static") in cmake/ConfigUser.cmake. So we need to fix the bug to make it work.

I also don't understand why ou Linux CI tests consistently fail the texture tests while those pass on Win and Mac (they fail for me too due to different grids/images/PSs)

For unknown reasons, the Linux CI (sometimes the Windows CI) fails to download some files from the GMT data server, thus the tests may fail. Hopefully, PR #8426 can solve the issue temporarily.

from gmt.

joa-quim avatar joa-quim commented on May 29, 2024

Yes, you are right gmtest.in is ingested by cmake at build time but I have done the same change in the build/test/gmtin and same tests keep failing. And I have the static files under C:\Users\j\.gmt\static. I keep suspecting that DVC is not updating my PS files, and neither those of the Linux CI. The texture failures are sistematic, not random failures due to internet connections fluctuations.

from gmt.

seisman avatar seisman commented on May 29, 2024

Yes, you are right gmtest.in is ingested by cmake at build time but I have done the same change in the build/test/gmtin and same tests keep failing. And I have the static files under C:\Users\j\.gmt\static. I keep suspecting that DVC is not updating my PS files, and neither those of the Linux CI. The texture failures are sistematic, not random failures due to internet connections fluctuations.

But in the latest CI run, all tests pass on Windows (https://github.com/GenericMappingTools/gmt/actions/runs/8614489245/job/23608035110) except the known failures.

from gmt.

joa-quim avatar joa-quim commented on May 29, 2024

Yes, I saw it but Linux had those failures I mentioned. And both Win and Mac passed all the tests, despite the issue with the static location.

from gmt.

seisman avatar seisman commented on May 29, 2024

Here are the failures in the latest Linux CI run (https://github.com/GenericMappingTools/gmt/actions/runs/8630998725/job/23658513524?pr=8426) in PR #8426:

	509 - test/grdfill/gridfill.sh (Failed)
	521 - test/grdgdal/gdal_nn.sh (Failed)
	552 - test/grdimage/image_vartrans.sh (Failed)
	647 - test/grdvector/shrink.sh (Failed)
	702 - test/mapproject/proj4.sh (Failed)
	738 - test/nearneighbor/nat_nn.sh (Failed)
	754 - test/potential/firmoviscous.sh (Timeout)
	755 - test/potential/firmoviscous2.sh (Timeout)

texture tests no longer fail on Linux.

from gmt.

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.