Comments (3)
Hi,
I've added a logging instruction in slurm_drmaa/session.c
:
fsd_log_debug(("job_desc.tres_per_node = %s", job_desc.tres_per_node));
and it produced this output:
job_desc.tres_per_node = gpu:1
And finally, I get the Invalid Trackable (TRES) specification RESource error
.
By changing the input from --gres=gpu:1
to --gres=gres:gpu:1
, the logging instruction outputs:
job_desc.tres_per_node = gres:gpu:1
as expected. The TRES error disappeared and the job was correctly submitted.
By looking at the code in https://github.com/SchedMD/slurm/blob/master/src/common/gres.c and https://github.com/SchedMD/slurm/blob/master/src/common/slurm_opt.c it seems that Slurm is expecting GPU resource requests formatted as gres:gpu:1
and not as gpu:1
as in the previous versions (20.x) of Slurm.
Shouldn't slurm-drmaa be updated to take into account this change in Slurm?
Best,
Kimchi
from slurm-drmaa.
I can confirm that changing --gres=gpu:1
to --gres=gres:gpu:1
solves the TRES error.
from slurm-drmaa.
Thanks, yes, it sounds like we should probably prepend gres:
to the string in the job template. gres
in the job template was generalized to tres_per_node
in 18.08, I am not sure if this is when it broke.
from slurm-drmaa.
Related Issues (20)
- SLURM in Java HOT 1
- New native specification in User Slurm HOT 1
- Running CLI commands without options segfaults. HOT 2
- slurm-drmaa.spec missing configure options
- slurm 21.08.2 compatibility HOT 3
- Date format for maximum wall clock time
- Compatibility with latest SLURM HOT 1
- recipe for installing SLURM and friends on Debian 11 HOT 1
- Galaxy apt debian repository access HOT 1
- Configless Slurm support
- slurm-drmaa for Ubuntu Jammy HOT 2
- Support for `--gpus` flag? HOT 1
- qos and nodelist options
- Support for Slurm 23.02? HOT 5
- drmaa.errors.Conflicting in job submission HOT 3
- dependency libslurm36 missing for debian bookworm HOT 4
- Galaxy Project Depot certificate expired HOT 3
- `--ntasks-per-node` is broken on 23.02
- New native specification for --uid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slurm-drmaa.