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

Automate the detection and configuration of local and remote system resources #127

Open
florianzwagemaker opened this issue Mar 11, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@florianzwagemaker
Copy link
Collaborator

We can make sure there's a significant improvement in setup and configuration by automating the detection and configuration of both local and remote system resources.

Available cpu can be found with the following command: grep -c ^processor /proc/cpuinfo
And available memory can be found with:

awk '$3=="kB"{$2=$2/1024^2;$3="GB";} 1' /proc/meminfo | column -t | grep MemTotal | awk '{print $2}'

Using these commands in the wrapper, either locally or in combination with drmaa/bsub allows us to view the available system resources and (if necessary) change the Jovian settings in order to best match the system.

@florianzwagemaker florianzwagemaker self-assigned this Mar 11, 2020
@florianzwagemaker florianzwagemaker added the enhancement New feature or request label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant