GithubHelp home page GithubHelp logo

Comments (5)

ftessier avatar ftessier commented on July 17, 2024 1

Ok, I thought so (that EGS_CONFIG was defined but not showing). I think it is a sane idea to pluck what's required from the additions script, because ultimately one would like to get rid of this script, it all got over-convoluted (!) for my taste, over time (well, to be honest, before my time 😄 )

from egsnrc.

darcymason avatar darcymason commented on July 17, 2024 1

Finally got it working. I think it stemmed from changing the default config name to "actions.conf". Once matched to my local standard of linux.conf, was able to get it going.

from egsnrc.

ftessier avatar ftessier commented on July 17, 2024

Yes, it is essential to setup a workflow like this. In fact you are reminding me to port my Travis CI actions to github, now that it supports actions! There is no issue with not compiling the individual applications; they can always be compiled by issuing make in their respective directories afterwards (in fact this is all the configure script does).

I am looking quickly at the failure point, and it strikes be that you don't have EGS_CONFIG defined. When configuring EGSnrc, the last message of the configuration indicates a few lines to add to .bashrc, notably the EGS_CONFIG file and the sourcing of the egsnrc_bashrc_additions. I am not sure your action does this, but I would not expect anything to run as expected without egsnrc_bashrc_additions. If you are sourcing the additions as part of the install step, let me know and I will dig a little deeper...

from egsnrc.

darcymason avatar darcymason commented on July 17, 2024

it strikes be that you don't have EGS_CONFIG defined

Actually, it is there in the export statements, it just doesn't show in the job output or in the environment tutor4.py prints out -- but it is a good suggestion and I will look into it again, make sure it is correct and seen in Python.

and the sourcing of the egsnrc_bashrc_additions

I was trying to just set these directly because the environment is created new each run, so .bashrc won't persist. But I will go back and make sure they were all covered. Another thought on that is the alias's - I only set the m alias because that is called by make_egsfortan that runs the numpy.f2py conversion. Perhaps other aliases are important in this scenario?

from egsnrc.

SimonBiggs avatar SimonBiggs commented on July 17, 2024

This is beautiful:

https://github.com/darcymason/egsnrc/runs/1842334740?check_suite_focus=true#step:11:65

😄 🎉

from egsnrc.

Related Issues (6)

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.