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

Unable to configure SPLITS with SPLITSIZE>1 #2106

Open
ainagaya opened this issue Feb 5, 2025 · 4 comments
Open

Unable to configure SPLITS with SPLITSIZE>1 #2106

ainagaya opened this issue Feb 5, 2025 · 4 comments

Comments

@ainagaya
Copy link
Contributor

ainagaya commented Feb 5, 2025

Hi @kinow , @dbeltrankyl

I'm using autosubmit/4.1.12-dev-e326af7. I'm trying to use SPLITSIZE to configure a number of daily splits different than 1. My experiment metadata is correct, but I keep getting 31 splits.

I copied the experiment that I was using to a25m: https://climatedt-wf.csc.fi/experiment/a25m/config

Image

But I keep getting 1-day splits:

Image

I also tried with SPLITSIZEUNIT: Month and SPLITSIZE: 1 and I was getting 3 splits.

It might be that there is a multiplication factor somewhere in the code, or that I'm not configuring it correctly.

Thanks!

@dbeltrankyl
Copy link
Contributor

Hello @ainagaya

Can you try to put it at job level?

JOBS:
  JOB:
    SPLITSIZE: <whatever>

@ainagaya
Copy link
Contributor Author

ainagaya commented Feb 5, 2025

Hi Dani,

That worked!! Thanks!

So, I can configure chunk/split sizes at JOB level? I didn't know this!!

@dbeltrankyl
Copy link
Contributor

Hello,

Yes, as the split is somewhat like a wildcard, we allowed it.

It should work as a general setting... but I looked at the code for the other issue, and the get is not there ( neither it is commented) I'll check the splits issue to see if it was intended because I don't recall it right now

@ainagaya
Copy link
Contributor Author

ainagaya commented Feb 5, 2025

Okay great! This flexibility is indeed very useful. Thanks Dani!

It should work as a general setting... but I looked at the code for the other issue, and the get is not there ( neither it is commented) I'll check the splits issue to see if it was intended because I don't recall it right now

Ok great, I was configuring it after EXPERIMENT because is what I found in the documentation (https://autosubmit.readthedocs.io/en/master/userguide/defining_workflows/index.html#job-splits-with-calendar).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants