gwforg / gwf

A flexible, pragmatic workflow tool.
https://gwf.app/
GNU General Public License v3.0
31 stars 12 forks source link

Handle too long target names #409

Closed LudvigOlsen closed 3 weeks ago

LudvigOlsen commented 8 months ago

I have som very long ("informative") target names due to running many combinations of settings. When the file names of the log files are too long to create the files, it seems to fail quietly. Wouldn't it be fairly easy to check for during gwf run?

dansondergaard commented 8 months ago

Gwf could check, but it's actually not "easy" since the maximum path/filename length depends on the filesystem. So gwf would have to check for every single path in the workflow.

Also, it's not gwf writing the log files, but Slurm. So it's probably Slurm that should check :-)

LudvigOlsen commented 8 months ago

Fair enough :-) Thought it would be a nice thing to check, but I see it's not without complexity!

The slurm repo doesn't allow creation of issues and I don't exactly fancy making a PR for them...