Building UFS_utils in Linux machine #46
-
I was attempting to build UFS_UTILS in the linux machine and I got stuck/ confused while executing build_all.sh scriipt. While following the its github page given instructions, which platform name should be given for lnux based system in my personal pc. The linux system in pc is ubuntu. As per instruction I tried with the below command and got the error: ./link_fixdirs.sh emc linux
May be I am missing some process or information. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi @bnepal22 , Like many UFS systems, UFS_UTILS has a set of supported machines--ones that the developers have access to and can test. Since most NOAA-affiliated model developers also have access to these machines, it works out well for those working with NOAA and its affiliates. However, people like yourself who are running on other "unsupported" platforms have to modify the code to run with their machine. For example, looking at the UFS_UTILS modulefiles, you'll see there is no "build_linux_gnu" or similar. I am guessing you would have to make such a file (or modify one of the ones there to fit your system configuration) and probably add the new machine to the logic where UFS_UTILS looks for a machine. Perhaps @GeorgeGayno-NOAA can offer some suggestions? (@JeffBeck-NOAA or @LarissaReames-NOAA might also be good resources.) Best, |
Beta Was this translation helpful? Give feedback.
-
@bnepal22 Did you need any further assistance, or were you able to adjust the modulefiles and scripts for your purposes? |
Beta Was this translation helpful? Give feedback.
-
@bnepal22 One thing you might try is running UFS_UTILS via the SRW App because that app supports some configuration for Linux/Mac systems (documentation here). After you build the app, the UFS_UTILS source code can be found in the |
Beta Was this translation helpful? Give feedback.
There are two programs that compute the orography-based GWD fields: orog.fd and orog_gsl.fd. Only the first one uses the GMTED2010 data. You can probably check out the UFS_UTILS documentation for more info.