Skip to content

add --easystack to ignored options when submitting job#3813

Merged
boegel merged 1 commit intoeasybuilders:developfrom
zemu-unile:submit_job_ignore_easystack
Aug 31, 2021
Merged

add --easystack to ignored options when submitting job#3813
boegel merged 1 commit intoeasybuilders:developfrom
zemu-unile:submit_job_ignore_easystack

Conversation

@zemu-unile
Copy link
Copy Markdown
Contributor

Currently when using --job with --easystack, --easystack gets passed along to job that in return try to process the easystack, causing parallel builds of the first item in the easystack file (which fail due to already existing locks).

how to reproduce

example.yml

software:
    GROMACS:
        toolchains:
            fosscuda-2019b:
                versions: '2020'

with eb --robot --job --experimental --easystack example.yml
causes

== FAILED: Installation ended unsuccessfully (build directory: /scratch/software_build/easybuild/build/GROMACS/2020/fosscuda-2019b): build failed (first 300 chars): Lock /software/.locks/_software_GROMACS_2020-fosscuda-2019b.lock already exists, aborting! (took 0 secs)

due to all parallel jobs trying to build the same easyconfig.

proposed solution

Do not pass --easystack to build jobs.

@boegel boegel added the bug fix label Aug 31, 2021
@boegel boegel added this to the next release (4.4.2?) milestone Aug 31, 2021
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes total sense, thanks a lot for the fix @zemu-unile!

@boegel boegel merged commit bbd003f into easybuilders:develop Aug 31, 2021
@boegel boegel changed the title add --easystack to ignore_opts for submit_job() add --easystack to ignored options when submitting job Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants