METplus Installation through Spack-Stack #1810
-
Good Afternoon, I'm using spack-stack with the ufs-srw-dev environment to install MET and METplus on AWS through NOAA Parallel Works. Spack-stack appears to have installed MET and METplus correctly but I run into two problems when running the SRW App MET_verification test that makes me believe something wasn't sourced or setup properly.
Using this error message, I dug through the command_builder.py and noticed only
Based on the second issue, I think something wasn't setup or sourced properly to pick up variables in the common.conf, or then again maybe this is a bug. Did I miss setting up or sourcing a config file before running the MET_verification test? Any guidance on this issue would be helpful. Please let me know if you need any additional information from me. Thank you! Eddie |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Eddie, How is MET installed in this process? Being able to see what was run and set in the environment would be helpful for diagnosing these issues. Both of these issues sound related to how MET was installed. For (1), setting LDFLAGS to include the location of the python library files using rpath should prevent the need to set LD_LIBRARY_PATH to find those libraries. For (2), a colleague has provided the following information:
If the installation location has indeed changed and you do need to set the MET_BASE environment variable when running METplus, then you can set the variable in the [user_env_vars] section of the common.conf METplus configuration file. Setting variables in the [config] section does not set environment variables, but variables found in the [user_env_vars] section will set the environment variables. However, in this case you likely do not need to set MET_BASE and should instead ensure that it is unset in the environment before running METplus. |
Beta Was this translation helpful? Give feedback.
Hi Eddie,
How is MET installed in this process? Being able to see what was run and set in the environment would be helpful for diagnosing these issues. Both of these issues sound related to how MET was installed.
For (1), setting LDFLAGS to include the location of the python library files using rpath should prevent the need to set LD_LIBRARY_PATH to find those libraries.
For (2), a colleague has provided the following information: