gfs-utils has a copy of detect_machine.sh. This was copied from UFSWM to maintain consistency. The UFSWM has updated and removed the COMPILER addon to the variable MACHINE_ID for all platforms.
What should have happened?
A consistent return of use of detect_machine.sh should return the name of the machine w/o COMPILER addon.
What is wrong?
gfs-utils has a copy of detect_machine.sh. This was copied from UFSWM to maintain consistency. The UFSWM has updated and removed the COMPILER addon to the variable MACHINE_ID for all platforms.
What should have happened?
A consistent return of use of detect_machine.sh should return the name of the machine w/o COMPILER addon.
What machines are impacted?
All or N/A
Steps to reproduce
None
Additional information
None
Do you have a proposed solution?
Copy detect_machine.sh from ufs-weather-model to gfs-utils. https://github.com/ufs-community/ufs-weather-model/blob/develop/tests/detect_machine.sh