Opened 3 months ago

Closed 3 weeks ago

#3434 closed help (answered)

Cylc Broadcast + Batch Directives

Reported by: luciana Owned by: um_support
Component: Rose/Cylc Keywords: Cylc Broadcast, Batch Directives, Slurm
Cc: Platform: JASMIN
UM Version:

Description

Dear all.

I'm testing Cylc broadcast to change batch directives (using an external broadcast.rc file) and I've found a problem that I was able to narrow to something quite specific.

For numeric directives, ( - - ntasks = 16, for instance), the suite functions if the specified directive is defined only in the broadcast.rc. For string directives, it doesn't matter; it can be in one of them or in both (in which case the value in broadcast.rc will persist). The error is "sbatch: error: Invalid numeric value".

I also noticed that the information inserted in the original suite using Jinja2 is not carried to the file broadcast.rc, but Jinja2 works perfectly in this file if set (again) on it (not ideal, though).

Any ideas of how can I fix these two problems? An example can be found in /home/users/lucy/puma/broadcast-cylc-7.8.6/batch-test.

Kind regards.

Luciana.

Change History (2)

comment:1 Changed 3 months ago by grenville

Hi Luciana

I'm not sure where "sbatch: error: Invalid numeric value" comes from, but I think you could use an environment variable for ntasks & broadcast its change that way.
I don't know why the jinja isn't broadcast - maybe because it's not specific to a task ([batch] in your example).

Grenville

comment:2 Changed 3 weeks ago by ros

  • Resolution set to answered
  • Status changed from new to closed

Closed due to lack of activity

Note: See TracTickets for help on using tickets.