gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1487 Posts in 490 Topics by 713 Members - Latest Member: madupert March 22, 2019, 04:47:13 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Linux  |  Installing Absoft Pro Fortran 2019 (19.0) on 64 Bit Linux
gfx
gfxgfx
 

Author Topic: Installing Absoft Pro Fortran 2019 (19.0) on 64 Bit Linux  (Read 233 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
Installing Absoft Pro Fortran 2019 (19.0) on 64 Bit Linux
« on: November 28, 2018, 11:20:06 AM »
This post addresses issues encountered when installing Absoft Pro Fortran 2019 (v19.0) on the latest releases of the 64-bit RedHat Enterprise Linux/Scientific Linux/CentOS, Fedora Core,  Open SuSE, Debian, and Ubuntu Linux distributions. Pro Fortran 2019 (v19.0) no longer requires a system with 32-bit executable support unless there is a need to build 32-bit programs.


RedHat Enterprise Linux 7.4
RedHat Enterprise Linux 6.9
Scientific Linux 6.9
CentOS 6.9 (Final)

A default Software Development Workstation installation of RedHat Enterprise Linux/Scientific Linux/CentOS requires the following software to fully support Absoft Fortran 2019:

Package                         Description
----------------------         ---------------------------------------
gcc                                 Support for software development
gcc-c++                         Support for software development
xterm                             Terminal program used by AbsoftTools and Fx3 Debugger
                       
Examples below give possible error messages reported when a package is missing and the yum command to install the package.

1) GCC/G++ and other development tools not installed

   Symptom:
      $ af90 t.f
      sh: as: command not found
      assembler failed.

      $ af90 t.f
      sh: g++: command not found
      link failed.

   Fix: Install GCC and C++ support

      sudo yum install gcc-c++

2) Unable to execute projects inside AbsoftTools

    Symptom:
      An error dialog appears "Could not start "xterm -name "Absoft Tools"... "

    Fix: install xterm program
      $ sudo yum install xterm

If there is a need to compile and run 32-bit programs, the following additional packages  will need to be installed:

glibc.i686                        Support for running 32-bit programs
libstdc++.i686                 Support for running 32-bit programs
glibc-devel.i686               Support for building 32-bit programs



Fedora Core 29 64-bit

A default installation of Fedora Core Workstation 29 requires the following additional software to fully support Absoft Fortran 2019:

Package                       Description
----------------------       ---------------------------------------
gcc                                      Support for software development
gcc-c++                               Support for software development
xterm                                   Terminal program used by AbsoftTools/Fx3 Debugger
ncurses-compat-libs.x86_64   Support for 64 bit Fx3 Debugger

Examples below give possible error messages reported when a package is missing and the dnf command to install the package.

1) GCC/G++ and other development tools not installed

   Symptom:
      $ af90 t.f
      sh: as: command not found
      assembler failed.

      $ af90 t.f
      sh: g++: command not found
      link failed.

   Fix: Install GCC and C++ support

      $  sudo dnf install  gcc-c++

2) Unable to execute projects inside AbsoftTools

    Symptom:
      An error dialog appears "Could not start "xterm -name "Absoft Tools"... "

    Fix: install xterm program

      $ sudo dnf install xterm

3) Fx3 Debugger fails whem loading 64-bit program

       Symptom:  Lost connection with Fx3 debugger backend dialog
                           or running fx3_64 from the command line gives:

        $ fx3_64
           /opt/absoft19.0/bin/fx3_64bin: error while loading shared libraries:
           libncurses.so.5: cannot open shared object file: No such file or directory

       Fix: Install 64 bit ncurses compatibility package

         $ sudo dnf install ncurses-compat-libs.x86_64

If there is a need to compile and run 32-bit programs, the following additional packages  will need to be installed:

glibc.i686                        Support for running 32-bit programs
libstdc++.i686                 Support for running 32-bit programs
glibc-devel.i686               Support for building 32-bit programs
     

Open SuSE Leap 15 64-bit

A default installation of Open SuSE Leap 15 requires the following additional software to fully support Absoft Fortran 2019:

Package                       Description
----------------------       ---------------------------------------
gcc                              Support for software development
gcc-c++                       Support for software development
libncurses5                   Support for 64-bit Fx3 Debugger

Examples below give possible error messages reported when a package is missing and the zypper command to install the package.

1) Link fails, g++ not found

   Symptom:
    $ af90 t.f
    sh: g++: command not found
    link failed.

   Fix: install g++ (along with the rest of the C development tools)
    $ sudo zypper install gcc-c++

2) Fx3 Debugger fails when loading a 64-bit program

       Symptom:  Lost connection with Fx3 debugger backend dialog
                           or running fx3_64 from the command line gives:

        $ fx3_64
           /opt/absoft19.0/bin/fx3_64bin: error while loading shared libraries:
           libncurses.so.5: cannot open shared object file: No such file or directory

       Fix: Install 64 bit ncurses compatibility package

         $ sudo dnf install ncurses-compat-libs.x86_64

If there is a need to compile and run 32-bit programs, the following additional packages  will need to be installed:

libstdc++47-32bit          Support for running-32-bit programs
gcc-32bit                       Support for building 32-bit programs
gcc-c++-32bit               Support for building 32-bit programs


Debian 9.5.0

Note: The GCC development tools on Debian 9.5.0 default to producing position independent code so you need to add either -fpic to your Fortran compilation options to match this or use the -no-pie option to override the default behavior at the link step.

A default installation of 64 bit Debian  9.5.0  from Debian Desktop "Live" DVD requires the following additional software to fully support Absoft Fortran 2019:


Package                            Description
----------------------       ---------------------------------------
gcc                               Support for software development
g++                             Support for software development
xterm                           Terminal program used by AbsoftTools/Fx3 Debugger

Examples below give possible error messages reported when a package is missing and the apt-get command to install the package.

1) GCC/G++ and other development tools not installed

    Symptom:
      $ af90 t.f
      sh: as: command not found
      assembler failed.

      $ af90 t.f
      sh: g++: command not found
      link failed.

    Fix: Install GCC and C++ support
      $ sudo apt-get install gcc
      $ sudo apt-get install g++

2) Unable to execute projects inside AbsoftTools

    Symptom:
      An error dialog appears "Could not start "xterm -name "Absoft Tools"... "

    Fix: install xterm program
      $ sudo yum install xterm

If there is a need to compile and run 32-bit programs, the following additional packages  will need to be installed:

lib32stdc++6                     Support for running 32-bit programs
gcc-multilib                        Support for building 32-bit programs
g++-multilib                      Support for building 32-bit programs


Ubuntu 18.04
Ubuntu 17.10
Ubuntu 16.10
Linux Mint 18.3

Note: The GCC development tools on Ubuntu 17.10  and later default to producing position independent code so you need to add either -fpic to your Fortran compilation options to match this or use the -no-pie option to override the default behavior at the link step. 

A default installation of Ubuntu 18.10, 17.10, or 16.10  requires the following additional software to fully support Absoft Fortran 2019:

Package                            Description
----------------------       ---------------------------------------
gcc                               Support for software development
g++                             Support for software development
libncurses5                   Support for Fx3 debugger
xterm                           Terminal program used by AbsoftTools/Fx3 Debugger

Examples below give possible error messages reported when a package is missing and the apt-get command to install the package.

1) Link fails, g++ not found

   Symptom:

    $ af90 t.f
    sh: g++: not found
    link failed.

   Fix: install g++ (along with other C development tools)

    $ sudo apt-get install g++

2) Fx3 Debugger fails when loading a 64-bit program
   Symptom:  Lost connection with Fx3 debugger backend dialog
             or running fx3_64 from the command line gives:

    $ fx3_64
       /opt/absoft19.0/bin/fx3_64bin: error while loading shared libraries:
       libncurses.so.5: cannot open shared object file: No such file
                            or directory

   Fix: Install the ncurses package

    $ sudo apt-get install libncurses5

3) Unable to execute projects inside AbsoftTools

    Symptom:
      An error dialog appears "Could not start "xterm -name "Absoft Tools"... "

    Fix: install xterm program
      $ sudo yum install xterm

If there is a need to compile and run 32-bit programs, the following additional packages  will need to be installed:

ia32-libs                         Support for running 32-bit programs
gcc-multilib                     Support for building 32-bit programs
g++-multilib                   Support for building 32-bit programs

Absoft User Forum  |  Support  |  Linux  |  Installing Absoft Pro Fortran 2019 (19.0) on 64 Bit Linux
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!