As of FLIGHTLAB 3.3, ART’s release structure has changed to support a wider variety of Linux platforms.
Support for CentOS 6 was added in FLIGHTLAB 3.4.
Support for CentOS 7 was added after FLIGHTLAB 3.6.2.
Note that you must explicitly set the environment variable
c7x64 to use these versions.
|FL_MACHTYPE||Supported distros||C runtime||C++ runtime||Fortran runtime|
|linux-rh8 (i386 only)||Red Hat 8,
|linux-glibc22 (i386 only)||Red Hat 7.2,
|g++ 2.96||g77 0.5.26|
The most common problem you are likely to encounter is missing Fortran or C++ libraries.
The symptom will be an error message similar to:
scope: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory
Fortran is typically not installed by default on most Linuxes, so you or your system administrator may need to install it. It is usually available from the distributor, just not installed by default. Instructions for specific distros below.
RHEL5, CentOS, Fedora, and other yum-based systems
yum install libgfortran.so.1
up2date --install libgfortran.so.1
zypper install libgfortran.so.1
Sometimes it’s a different library that’s missing, but the solution is the same: simply replace libgfortran.so.1 with the library in question.
GNU Fortran and its associated runtime has been updated,
and recent Linux distributions include the newer
by default. However, the older
usually available in a compatibility package. The same solution pertains:
yum install missing.so.#
NOTE: Do not simply copy
That will not work.
libgfortran.so.3 is not compatible with libgfortran.so.1 –
that’s why they changed the version number.
Older FLIGHTLAB releases and libg2c.so.0
FLIGHTLAB version 3.2 and earlier were built with g77 instead of gfortran.
G77 libraries are still available for current RHEL versions
compat-libf2c-34 package. One of the following should work:
sudo yum install libg2c.so.0
sudo yum install compat-libf2c-34