in reply to Re: Run a script in parallel mode
in thread Run a script in parallel mode

I get the error:
MCE::Flow: (FS) is not a valid constructor argument
when I try to execute:
perl parallel.pl MYFILE

Replies are listed 'Best First'.
Re^3: Run a script in parallel mode
by marioroy (Prior) on May 29, 2015 at 11:27 UTC

    I apologize for the error. The option was met to be RS, not FS. Thank you for reporting the issue though. Set chunk size accordingly if giving this a try. Am not sure the format for the sequence file. Thus, went with RS => "\n>".

      Hi again! I want to thank you all for your input and particularly code snippets. I actually tested marioroy's code and it works as I needed. Parallelization is actually faster now.
      Thank you again!

        I updated the code snippet to have workers remove the input file after running. You may have already done that in your code.

      No no, thank YOU for helping out! Will test the code and report back!