Giter Club home page Giter Club logo

Comments (9)

afgane avatar afgane commented on June 1, 2024 1

No problem. Forgot to mention but the new code is in cloudman-test bucket.

from cloudman.

afgane avatar afgane commented on June 1, 2024

@natefoo, would you have some ideas/suggestions why this might be the case?

from cloudman.

natefoo avatar natefoo commented on June 1, 2024

@afgane can you point me at Cloudman's slurm.conf template?

@hackdna If you're using a relatively stock slurm.conf, it will use the linear scheduling plugin. To control memory/core usage you need to enable the consumable resources plugin: http://slurm.schedmd.com/cons_res.html

from cloudman.

afgane avatar afgane commented on June 1, 2024

@natefoo Here it is: https://github.com/galaxyproject/cloudman/blob/master/cm/conftemplates/slurm.conf.default
As nodes get added, the file is edited to add node info under the COMPUTE NODES 'section': https://github.com/galaxyproject/cloudman/blob/master/cm/services/apps/jobmanagers/slurmctld.py#L115

from cloudman.

hackdna avatar hackdna commented on June 1, 2024

I'm using unmodified CM slurm.conf which contains:

SchedulerType=sched/backfill
SelectType=select/cons_res

I've tried adding SelectTypeParameters=CR_Core_Memory as the Slurm docs suggested but slurm.conf keeps getting reverted for some reason after slurmctld is restarted.

from cloudman.

afgane avatar afgane commented on June 1, 2024

Can you try restarting slurmctld via the command line vs. using CloudMan? CloudMan rewrites Slurm's conf when the service is restarted (the refactored CloudMan will support user configuration changes but that's months away). The command CloudMan is using should be in its log file.

from cloudman.

hackdna avatar hackdna commented on June 1, 2024

Thanks, that worked. Would you mind adding SelectTypeParameters=CR_Core_Memory to slurm.conf as a default?
Speaking of restarting services via command line, what is the right way to do that for Galaxy in CM?

from cloudman.

afgane avatar afgane commented on June 1, 2024

Done in a64eb57.

For Galaxy, take a look at this page, I just added the exact command: https://wiki.galaxyproject.org/CloudMan/Services/Galaxy

from cloudman.

hackdna avatar hackdna commented on June 1, 2024

Thank you @afgane and @natefoo.

from cloudman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.