Default config files and python environment paths in METplus shared install #2102
-
Hello! We are working toward a shared install of MET/METplus at CPC. For the initial install, we compiled/etc on a local system (jhicks in the examples below), and then copied the install over to a central location. We've noticed that some of the paths when running METplus point to the local system instead of the paths to the shared location, and we are unsure how to change them, or if we need to re-install/compile in the central location. Namely, we find that when running METplus (1) the default conf files and (2) python env (despite activating one locally) come up as the local path. For example:
Where the GridStatConfig_default should ideally point to /cpc/met/ where our shared install is; and
Where the user activated their own conda env, but it seems to be defaulting to one the jhicks system. Do we need to do a fresh install on the shared drive to fix this, or is there a place to set these? Thank you and let me know if I can provide additional details. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi Johnna, And thank you for your question. I'm going to direct this to @jprestop, who has the most experience on our team with MET and METplus wrapers installations. Julie, is there something that Johnna needs to set in the METplus wrappers or MET installation so it looks for the central installation, rather than local files? |
Beta Was this translation helpful? Give feedback.
-
Hi @jinfanti. We recommend that MET be installed in place and not moved. However, if MET is compiled and installed in one place and the "share/met" directory is moved to some other location, the user would need to set the MET_BASE environment variable to point to that data. So, the user should be able to set MET_BASE to the /new/path/to ... the directory containing "share/met". For example:
replacing "/path_to" with the path to MET's "share/met" directory. Please have the user's try that and let us know how it goes. |
Beta Was this translation helpful? Give feedback.
Hi @jinfanti. We recommend that MET be installed in place and not moved. However, if MET is compiled and installed in one place and the "share/met" directory is moved to some other location, the user would need to set the MET_BASE environment variable to point to that data. So, the user should be able to set MET_BASE to the /new/path/to ... the directory containing "share/met". For example:
replacing "/path_to" with the path to MET's "share/met" directory.
Please have the user's try that and let us know how it goes.