Author Topic: error in installing Feap v8.5  (Read 7669 times)

ace21

  • Jr. Member
  • **
  • Posts: 27
error in installing Feap v8.5
« on: February 01, 2018, 05:09:56 PM »
Dear Feap users

I am trying to install FEAP ver8.5. While executing the make file I got the  error in naninfck.f

naninfck.f:24.72:

      use, intrinsic :: ieee_arithmetic                                 
                                                                        1
Fatal Error: Can't find an intrinsic module named 'ieee_arithmetic' at (1)

is it related to some gfortran compiler issue, has anyone experienced this problem

regards

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: error in installing Feap v8.5
« Reply #1 on: February 01, 2018, 10:12:01 PM »
What version of gfortran do you have,  it probably needs to be updated.  Also what operating system? Windows machine, Mac or Linux?

ace21

  • Jr. Member
  • **
  • Posts: 27
Re: error in installing Feap v8.5
« Reply #2 on: February 02, 2018, 01:01:11 AM »
Thanks for the response

Here are details of gfortran and my operating system

fortran version
GNU Fortran (Ubuntu/Linaro 4.6.4-1ubuntu1~12.04) 4.6.4

Distributor ID:   Ubuntu
Description:   Ubuntu 12.04.5 LTS
Release:   12.04

I tried to update the gfortran version using sudo apt-get install, but it does not seem to work as it says that it is already the latest version
I know its a bit off topic, is it possible to get latest version of gfortran installed on my system using some other method

thanks for your kind consideration



JStorm

  • Sr. Member
  • ****
  • Posts: 250
Re: error in installing Feap v8.5
« Reply #3 on: February 02, 2018, 05:09:07 AM »
Ubuntu 12.04 LTS is outdated and does not get updates any more. It is strongly recommended to upgrade to newer LTS version (e.g. 16.04) otherwise you are not protected from the security patches, e.g. for Spectre and Meltdown. With newer OS you also get newer Fortran versions.

The not recommended way is to update GCC on your system. See the common tutorials like https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91.

ace21

  • Jr. Member
  • **
  • Posts: 27
Re: error in installing Feap v8.5
« Reply #4 on: February 02, 2018, 06:02:01 AM »
thanks for the info, I think its better to update to a  new version, however I tried one thing:

I added the  subroutine naninfck.f from old version (8.2),then it compiles , also ran some test examples from the  example input files

I dont think its a wise idea, but would be nice to get your input on it

regards

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: error in installing Feap v8.5
« Reply #5 on: February 02, 2018, 07:39:16 AM »
You can do this but it is unwise.  You should upgrade your compiler to at least 6.2.0.

blackbird

  • Full Member
  • ***
  • Posts: 100
Re: error in installing Feap v8.5
« Reply #6 on: March 22, 2018, 04:53:54 AM »
I had a similar problem (Ubuntu 14.04) and resolved this by an update of the gfortran compiler to version 7:

Code: [Select]
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-7 gfortran-7

now, the new compilers can be found in /bin/usr/, therefore, the makefile.in has to be updated with

Code: [Select]

# GNU Compiler Compilation
  FF = /usr/bin/gfortran-7
  CC = /usr/bin/gcc-7