Comments (1)
I investigated this issue and here is what I found.
- both dimensional_grouping and temporal_grouping are documented in doc_jdl.rst.
- dimensional_grouping is not implemented (cf. comments in lib/cigri-joblib.rb)
- temporal_grouping seems to be implemented by submit_batch_job (in lib/cigri-joblib.rb) but I was unable to use it.
For temporal_grouping, my campaign script looks like this:
{
"name": "Some campaign",
"nb_jobs": 40,
"resources": "nodes=1",
"properties": "",
"exec_file": "$HOME/script.sh",
"exec_directory": "$HOME",
"temporal_grouping": "yes",
"clusters": {
"nancy": {}
}
The temporal_grouping property is properly inserted into the database:
cigri=# select * from campaign_properties where campaign_id=90;
id | cluster_id | campaign_id | name | value
------+------------+-------------+-------------------------+-----------------
5743 | 5 | 90 | checkpointing_type | None
5744 | 5 | 90 | dimensional_grouping | false
5745 | 5 | 90 | exec_file |
$HOME/script.sh
5746 | 5 | 90 | output_gathering_method | None
5747 | 5 | 90 | properties |
5748 | 5 | 90 | resources | nodes=1
5749 | 5 | 90 | temporal_grouping | yes
5750 | 5 | 90 | walltime | 03:00:00
5751 | 5 | 90 | type | best-effort
5752 | 5 | 90 | test_mode | false
5753 | 5 | 90 | project |
5754 | 5 | 90 | exec_directory | $HOME
(12 rows)
After that, the submit_batch_job
function is supposed to do the actual grouping. This function is called by submit2
if temporal_grouping
is within the option list. Inside the loop by_options_jobs.each do |runner_options,jobs|
of submit2
, I only get the following options:
{"besteffort"=>true, "batch_id"=>2}.
I thinks those options are related to the default configuration of the runner and are not related to the campaign properties (?) but bottom line, the function submit_batch_job
is not called (as temporal_grouping
is absent from the option list).
from cigri.
Related Issues (20)
- Prologue/epilogue per clusters HOT 3
- Renaming CiGri modules HOT 1
- Improve the user-friendliness of the CiGri command line interface HOT 5
- gridevents: immediatly fix cluster blacklists when a user uses "gridevents -f" HOT 2
- "Job key generation failed" event can only be fixed by root HOT 1
- Limit the number of jobs per campaign, per user, per site. HOT 1
- Create exec_dir if it does not exist HOT 2
- griddel is not always deleting oar jobs HOT 3
- CiGri is always querying OAR APIs, even when there isn't any CiGri campaign on the cluster HOT 1
- Adding the "site" keyword to JDL HOT 4
- Add support for a "site" concept (group of clusters) HOT 1
- "Nikita kill problem" errors should only be warnings
- Cigri fails to start with ruby 2.1: code is deadlockable HOT 1
- gridsub -j problem HOT 1
- http://cigri.imag.fr is down HOT 4
- Sometimes, epilogue fails with no message/event resulting in an hanging campaign HOT 1
- Using ~ (tilde) for refering to the home directory does not work for JDL parameter "exec_file"
- Cannot delete the exec_directory in the epilogue HOT 1
- Logs of a campaign
- Epilogue problem
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 cigri.