Running in parallel? #2275
-
Hello, I couldn't find this in the documents: is it possible to run metplus in parallel? Some things, like I only found the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @CGenie, please take a look at this OMP_NUM_THREADS documentation. As of MET version 11.0.0, basically only one thing in MET is parallelized - the computation of fractional coverage fields used by the Grid-Stat, Ensemble-Stat, and Gen-Ens-Prod tools. There certainly is lots and lots of potential to parallelize other portions of the code base. The development team does hope to pursue those types of enhancements in the context of all of our other deliverables. But as it stands, there's really only one example of it in the current version. |
Beta Was this translation helpful? Give feedback.
-
Hello! I do get that running in parallel is not implemented in MET (for most jobs), but with independent data, you can simply run several METplus processes at the same time. However, some problems arise with such a task. Best regards, |
Beta Was this translation helpful? Give feedback.
Hi Alexander,
The RUN_ID METplus config variable can be used to differentiate multiple runs that have the same timestamp because they were started at the same time. This can be used to make the log timestamp unique so the log files don't contain a mix of log output from multiple runs. See the glossary content for an example. As long as the parallel instances of METplus wrappers are not writing the same file paths, you should be able to use a common output directory to write all of the output.
The RUN_ID variable was added to help alleviate some of the issues you described with parallel runs. We have not performed extensive testing of running METplus in parallel, so we realize that there m…