Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLSF clusters have varying resource units -- toil needs to detect this and adapt accordingly #1691
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mr-c
May 25, 2017
Member
One way to discover the units is with the following command
grep LSF_UNIT_FOR_LIMITS ${LSF_ENVDIR:-/etc}/lsf.conf | awk -F= '{print $2}'
Could some other LSF users verify this and report back what they see?
For example:
[mcrusoe@ebi-cli-001 /]$ grep LSF_UNIT_FOR_LIMITS ${LSF_ENVDIR:-/etc}/lsf.conf | awk -F= '{print $2}'
MB
|
One way to discover the units is with the following command
Could some other LSF users verify this and report back what they see? For example:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mr-c
May 27, 2017
Member
Here's the comprehensive solution from ipython-cluster-helper for determining varying the LSF unit size
https://github.com/roryk/ipython-cluster-helper/blob/2042f4c/cluster_helper/lsf.py#L94
|
Here's the comprehensive solution from https://github.com/roryk/ipython-cluster-helper/blob/2042f4c/cluster_helper/lsf.py#L94 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mr-c
May 27, 2017
Member
Other helpful LSF code at https://github.com/roryk/ipython-cluster-helper/blob/8a6a8a0/cluster_helper/cluster.py#L142
|
Other helpful LSF code at https://github.com/roryk/ipython-cluster-helper/blob/8a6a8a0/cluster_helper/cluster.py#L142 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lordzappo
Jun 8, 2017
Contributor
grep LSF_UNIT_FOR_LIMITS ${LSF_ENVDIR:-/etc}/lsf.conf | awk -F= '{print $2}'
GB
|
grep LSF_UNIT_FOR_LIMITS ${LSF_ENVDIR:-/etc}/lsf.conf | awk -F= '{print $2}' |
mr-c commentedMay 25, 2017
Use of the correct units is needed at
https://github.com/BD2KGenomics/toil/blob/105aa24/src/toil/batchSystems/lsf.py#L38
For example -- the trailing
+ '000'needs to be left off when running on EBI's LSF clusters