TACC / pylauncher

Other
24 stars 7 forks source link

Flexible queuestate file #5

Open Christopher-Peterson opened 2 months ago

Christopher-Peterson commented 2 months ago

I'm interested in trying pyLauncher's resume features; however, the apparent hard-coding of the queuestate file makes it difficult to use this. Would it be pssible to add a user-facing option to change the name/path of the created queuestate file?

VictorEijkhout commented 2 months ago

That's a reasonable request. I should have time to work on it this week.

VictorEijkhout commented 1 month ago

Ok, try the latest version. Custom queuestate file:

launcher.ClassicLauncher\
    ("commandlines",
     queuestate="queuestate314",
     debug="host+exec+job")

Resume:

launcher.ClassicLauncher\
    ("queuestate314",
     resume=1,
     debug="host+exec+job")