locked
Looking for sweeping zeros RRS feed

  • Question

  • Maybe I'm just a bit tired but I can't seem to find my zeros...

    After upgrading to HPC Server 2008, I wanted to submit my first parametric sweep task working on, for instance, "inputfile_000.txt" through "inputfile_999.txt". With V1 this was possible while with V2 I can't seem to find an option to use leading zeros. The parametric sweep keeps starting at "inputfile_0.txt".
    I'd really like to avoid renaming all input files if possible.

    Kind regards,

    Marc
    Thursday, December 11, 2008 5:54 PM

Answers

All replies

  • Marc,
    You've found a known issue that we are currently looking into fixing: Currently 0 is not handled by the parameter sweep code.

    For now you can work around the problem by creating your sweep from 1-X and then adding an additional task to the job to handle the 0 case.

    Keep an eye on the job scheduling blog for an update:
    http://blogs.technet.com/windowshpc/archive/tags/Job+Scheduling/default.aspx
        
    Thanks,
    Josh
    -Josh
    Thursday, December 11, 2008 7:37 PM
    Moderator
  • Hey  Josh,

    thanks for the quick reply and good to know that you are looking into the issue already. However, what you describe is slightly different from what I was trying to do. I'd like be able to have * expanded to say "008", "009", "010", etc. if the last sweep index has 3 digits. I'm pretty sure this was possible in V1. I guess my work around for now is having a sweep from 1-9, one from 10-99, and one from 100-999 and so on where I use "00*", "0*" and "*" in the parameters. Would be nice to be able to go back to a single sweep.

    Kind regards,

    Marc
    Friday, December 12, 2008 4:48 AM