Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom easyblock for Metagenome-Atlas #2219

Merged

Conversation

Darkless012
Copy link
Contributor

No description provided.

@easybuilders easybuilders deleted a comment from boegelbot Nov 5, 2020
@boegel boegel added the new label Nov 11, 2020
@boegel boegel added this to the 4.x milestone Nov 11, 2020
@easybuilders easybuilders deleted a comment from boegelbot Nov 12, 2020
Copy link
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.

@Darkless012 There's a lot of stuff in here that should probably be proper *.py files that come along with the easyconfig file rather than the easyblock (so they can be tweaked easily for specific versions of Metagenome-Atlas)...

It should also be clear where those scripts come from

easybuild/easyblocks/m/metagenome_atlas_bundle.py Outdated Show resolved Hide resolved
cluster-status: "slurm_status.py" #
max-jobs-per-second: 10
max-status-checks-per-second: 10
cores: 99 # how many jobs you want to submit to your cluster queue
Copy link
Member

Choose a reason for hiding this comment

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

Why 99? Is this just a default value? If so, use 1 as default?

Also cores vs "how many jobs" doesn't match?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The script is plain copy from the template. Will change that to 1.

system: "slurm" #check if system is defined below

slurm:
command: "sbatch --parsable"
Copy link
Member

Choose a reason for hiding this comment

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

Where does this come from, did you have to compose this yourself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
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.

Please include some comments above the constants to explain where this stuff comes from

Seems like we should be pointing to https://github.com/metagenome-atlas/clusterprofile/tree/master/%7B%7Bcookiecutter.profile_name%7D%7D, perhaps also to some documentation?

@boegel boegel changed the title Add Metagenome-Atlas easyblock add custom easyblock for Metagenome-Atlas Dec 7, 2020
@boegel boegel modified the milestones: 4.x, 4.3.2 (next release) Dec 7, 2020
@boegel boegel merged commit f21d580 into easybuilders:develop Dec 7, 2020
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