Skip to content

Add easyblock for installing MotionCor2.#1819

Merged
boegel merged 17 commits intoeasybuilders:developfrom
akesandgren:motioncor2
Oct 8, 2019
Merged

Add easyblock for installing MotionCor2.#1819
boegel merged 17 commits intoeasybuilders:developfrom
akesandgren:motioncor2

Conversation

@akesandgren
Copy link
Copy Markdown
Contributor

Also installs wrapper to load correct version of CUDA.

Also installs wrapper to load correct version of CUDA.
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py
Comment thread easybuild/easyblocks/m/motioncor2.py
@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 4, 2019

@akesandgren I've fixed a similar issues in the tests in #1825 as you need here, should be fairly trivial to make the tests pass now here too if you take a look at that...

@akesandgren
Copy link
Copy Markdown
Contributor Author

You mean add stuff to test/easyblocks/module.py ...
so for the module-only part i should just have to add motioncor2.py and CUDA to that list of req_deps?

And something similar in test/easyblocks/init_easyblocks.py ??

@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 7, 2019

@akesandgren If you move what's now being done in __init__ to prepare_step (which is not skipped when --module-only is used) instead, then only making the obvious changes (which you mentioned) in test/easyblocks/module.py should be sufficient...

Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Handle template_module_only_test running the MotionCor2 easyblock by
checking for CUDA in prepare step and raise the error there.
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
@easybuilders easybuilders deleted a comment from boegelbot Oct 7, 2019
@easybuilders easybuilders deleted a comment from boegelbot Oct 7, 2019
@easybuilders easybuilders deleted a comment from boegelbot Oct 7, 2019
@easybuilders easybuilders deleted a comment from boegelbot Oct 7, 2019
@easybuilders easybuilders deleted a comment from boegelbot Oct 7, 2019
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py
Comment thread easybuild/easyblocks/m/motioncor2.py Outdated
Comment thread easybuild/easyblocks/m/motioncor2.py
@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 8, 2019

Looks good, tested with easybuilders/easybuild-easyconfigs#8942, so good to go, thanks @akesandgren!

@boegel boegel merged commit a1fe7c4 into easybuilders:develop Oct 8, 2019
@akesandgren akesandgren deleted the motioncor2 branch October 8, 2019 09:10
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.

3 participants