GithubHelp home page GithubHelp logo

Comments (6)

smarocchi avatar smarocchi commented on July 18, 2024

Ok I got the issue, the

Stage0 += baseimage(image=devel_image, _as='devel')

the "_as" no longer works, the name of Stage0 was not passed correctly to Stage1 indeed he was looking for a Stage0 called '0' when instead the current name of Stage 0 was devel because of the line

Stage: devel

inside the Singularity recipe. If in the stage1 I change the '%file from 0' to '%file from devel' it works for me. If it is a bug please correct it, it was quite harmful for a newbie like me.

I solved using

Stage1 += myprog.runtime( _from='devel')

Thanks.

from hpc-container-maker.

samcmill avatar samcmill commented on July 18, 2024

@alchemroz - thanks for the report. I agree the documentation should be clearer about this.

I recommend you use the form Stage1 += Stage0.runtime(_from='devel') rather than the runtime method individually for each building block in your devel stage. The result will be the same, but this form is more compact. Looking closer, there may also be a way to read the name of the first stage automatically when using this form but not for the individual runtime calls, but I'll need to investigate further.

from hpc-container-maker.

smarocchi avatar smarocchi commented on July 18, 2024

Thanks for the clarification @samcmill.

Cheers

from hpc-container-maker.

samcmill avatar samcmill commented on July 18, 2024

@alchemroz can you please take a look at #197 and let me know if you have any feedback?

from hpc-container-maker.

smarocchi avatar smarocchi commented on July 18, 2024

Hello @samcmill , I agree with #197, in general I noticed some small changes between docker containers and singularity containers that produce nasty outcomes. The changes in #197 should solve this issue.

Bests

from hpc-container-maker.

samcmill avatar samcmill commented on July 18, 2024

Closed via #197

from hpc-container-maker.

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.