...
Info | ||||||
---|---|---|---|---|---|---|
| ||||||
If you are using the ECMWF ecCodes GRIB library and not the ECMWF grib_api library, a small change is required to the configuration file for older versions of OpenIFS (38r1 and 40r1). A single line change is required to the configuration file in make/cfg. Find the configuration you are using, for example, if OIFS_COMP=gnu and OIFS_BUILD=opt, edit make/cfg/gnu-opt.cfg and look for the line:
change this line to use the ecCodes GRIB libraries instead:
Note that the {?} means this configuration variable can be overwritten by a shell environment variable of the same name. For example, setting the environment variable:
would achieve the same change, for ALL configurations all configurations and not just |
Compiling OpenIFS
Once the environment variables are set, OpenIFS can be compiled (make sure you have edited your PATH environment variable to add the FCM installation /bin
directory). Assuming you are in the directory where the OpenIFS source code was unpacked:
...
After a successful compilation, the OpenIFS executable, master.exe
, can be found in the 'make/gnu-opt/oifs/bin
' subdirectory (or whichever compiler you choose):
Code Block |
---|
% ls cfg gnu-opt % ls gnu-opt/oifs bin include o % ls gnu-opt/oifs/bin master.exe |
...