Skip to content

Conversation

@rngoodner
Copy link
Contributor

This adds basic support for LSF and lrun. LSF is a scheduler and lrun is a launcher used on the Lawrence Livermore National Laboratory Sierra Systems. I have used this implementation to run tests on the Lassen cluster successfully.

I followed the sge scheduler implementation that worked off the pbs implementation as an example.

Closes #1055

@pep8speaks
Copy link

pep8speaks commented Aug 18, 2021

Hello @rngoodner, Thank you for updating!

Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide

Comment last updated at 2021-09-13 21:44:17 UTC

@jenkins-cscs
Copy link
Collaborator

Can I test this patch?

@teojgo
Copy link
Contributor

teojgo commented Aug 18, 2021

Ok to test

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2021

Codecov Report

Merging #2133 (2158c15) into master (7922c5e) will decrease coverage by 0.29%.
The diff coverage is 50.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2133      +/-   ##
==========================================
- Coverage   86.26%   85.97%   -0.30%     
==========================================
  Files          53       54       +1     
  Lines        9565     9644      +79     
==========================================
+ Hits         8251     8291      +40     
- Misses       1314     1353      +39     
Impacted Files Coverage Δ
reframe/core/backends.py 90.00% <ø> (ø)
reframe/core/schedulers/lsf.py 43.47% <43.47%> (ø)
reframe/core/launchers/mpi.py 98.90% <100.00%> (+0.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7922c5e...2158c15. Read the comment docs.

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Thanks a lot @rngoodner for your PR! It looks very good overall. I have only some minor comments regarding the implementation. We would also need the corresponding entries about the added scheduler and parallel launchers in the docs.

@vkarak
Copy link
Contributor

vkarak commented Sep 9, 2021

@AnibalMG could you test if this LSF backend works for your case?

Ryan Goodner added 2 commits September 9, 2021 18:10
- remove unneeded 'or 1'
- remove unneeded int casts
- LrungpuLauncher now inherits from LrunLauncher
- replace launcher completed code with suggestion
- move comments into if statements
- change a list to a tuple
- update tests
@rngoodner
Copy link
Contributor Author

@vkarak I have addressed all of your comments and also updated the docs. I have also re-tested on the LLNL Lassen cluster and everything is still working for my needs.

@rngoodner rngoodner closed this Sep 10, 2021
@rngoodner rngoodner reopened this Sep 10, 2021
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Lgtm! I just did a couple of minor style fixes.

@vkarak vkarak changed the title [feat] Add support for LSF and lrun [feat] Add support for the LSF scheduler and LLNL's lrun parallel launcher Sep 13, 2021
@vkarak vkarak merged commit 5dffa31 into reframe-hpc:master Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for the LSF scheduler

7 participants