...
OIFS_ARCH - This sets the architecture of the computer. By default, the FCM build configuration assumes x86_64 (i.e. Linux).
OIFS_COMP - This sets the choice of compiler. The default is 'gnu' which means the gfortran/gcc compilers will be used.
...
These environment variables directly correspond to the names of the FCM configuration files in the oifs/make/fcmcfg/ directory in the OpenIFS source. Please see this directory for the possible choices supported.
...
means using the Intel ifort compiler on a x86_64 computer architecture and the model will be compiled with full optimization compiler settings. Also the FCM build system will expect to find a file:
Code Block |
---|
oifs/make/fcmcfg/x86_64-intel-opt.cfg |
in the 'make/fcmcfg' directory.Setting:
Code Block |
---|
export OIFS_ARCH=aix_pwr6 export OIFS_COMP=xlf export OIFS_BUILD=noopt |
...
in the make/fcmcfg directory suitable for building on IBM Power6 architecture using the XLF/XLCC compilers using non-optimized settings.