Future feature for all MET systems #1997
-
Good morning DTC, I wanted to start a discussion for the next major release of all the MET systems. Having used the met software systems and watching my system resource monitor, I have noticed that the software is built using either -j 2 or -j 1. This takes a very long time for configuring and compiling on computers. I was wondering in future builds would it be feasible to add the full -j options for parallel implementation? For example, WRF and WPS for ./compile allows the user to input a specific -j (n) value. Which can help speed up the process of installation.
I hope you consider my suggestion. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi Will, Thank you for this suggestion. Are you suggesting that we allow the -j make option for compiling all of the external libraries as well or just for MET itself? I did some testing and when I added -j to all of the make commands in the compile script, the MET code failed to build because it couldn't find some g2c libraries, but it wasn't immediately clear why this happened since each make step appeared to run successfully. I tried installing all of the libs without -j, then MET with and without -j, which was successful and cut the compile time for MET by almost half using -j. |
Beta Was this translation helpful? Give feedback.
-
Support for setting -j for the make commands called from the compile script (except for g2clib) is now available in the develop branch from this pull request. The environment variable MAKE_ARGS can now be used to set -j. To run make with 16 jobs:
To run make with unlimited jobs:
|
Beta Was this translation helpful? Give feedback.
Support for setting -j for the make commands called from the compile script (except for g2clib) is now available in the develop branch from this pull request. The environment variable MAKE_ARGS can now be used to set -j.
To run make with 16 jobs:
export MAKE_ARGS="-j 16"
To run make with unlimited jobs:
export MAKE_ARGS=-j