-
I had been working on executing the tutorial setup on the HPC (bash) and I think I understand the concept of providing the paths to the METplus and MET builds in the tutorial setup script pretty well. I am running into issues on the HPC with trying to determine those paths in the METplus container. The METplus container image file is located at /p/home/jraby/MET/METplus2. I tried shelling-in to the container to locate the metplus.py script and found it at /metplus/METplus/ush. If I put that entire path in the set-up script for the METPLUS_BUILD_BASE it still can’t find the metplus.py script using “which”. Do you have any suggestions on how this can be done? The same potential issue exists for the MET_BUILD_BASE. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi: METPLUS_BUILD_BASE shouldn't include the /ush. If you omit the /ush, is it able to find the run_metplus.py script or is it still not able to locate it? Christina |
Beta Was this translation helpful? Give feedback.
-
For your second try can you do this... export PATH=$PATH:${METPLUS_BUILD_BASE}/ush I think the second error is that your environment is not actually finding the "which" command. I believe you reassigned your PATH to just the METPLUS_BUILD_BASE. |
Beta Was this translation helpful? Give feedback.
I tried export PATH=$PATH:${METPLUS_BUILD_BASE}/ush and it worked!
Singularity> export PATH=$PATH:${METPLUS_BUILD_BASE}/ush
Singularity> which run_metplus.py
/metplus/METplus/ush/run_metplus.py
Thanks for diagnosing that error in the export command.