Author Topic: Installation of FEAP8.6 with ARPACK  (Read 4559 times)

H. Vijayakumaran

  • New Member
  • *
  • Posts: 2
Installation of FEAP8.6 with ARPACK
« on: June 07, 2021, 10:10:03 AM »
I am trying to install FEAP8.6 with ARPACK on Linux Mint 19 (Ubuntu/Debian) with compilers gfortran-7 gcc-7. I have made necessary modifications in the makefile.in and makefile.
After which I did the following steps:

1. made the feap archive
Code: [Select]
ver86$: make archive2. cd into the arpack directory and made the libarchive.a and libarpack.a
Code: [Select]
ver86/packages/arpack/archive$: make install
ver86/packages/arpack$: make install
3. cd into main directory and made feap
Code: [Select]
ver86/main: make feap
In this step, I am getting the following error message:

Code: [Select]
feap86.f:(.text.startup+0xed): undefined reference to `pstart_'
feap86.f:(.text.startup+0xf4): undefined reference to `pcontr_'
collect2: error: ld returned 1 exit status
makefile:6: recipe for target 'feap' failed
make: *** [feap] Error 1

I tried multiple times to do a clean installation by removing all the *.a,*.o, feap files, etc. However, I am getting back to the same point where I get the error message as shown in step 3. Please find attached a zip file with the makefile and makefile.in as well as the subsequent makefiles which I have modified (in the same folder structure as they were in the distribution). Could you please give me some tips that might help me fix this issue?
« Last Edit: June 08, 2021, 01:40:41 AM by Harikrishnan Vijayakumaran »

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Installation of FEAP8.6 with ARPACK
« Reply #1 on: June 08, 2021, 10:13:11 AM »
Your process looks fine.

The error is telling you that it is not seeing the archive or the archive is not complete.  If you remove the blank lines
in your makefile for the feap target it should work.

H. Vijayakumaran

  • New Member
  • *
  • Posts: 2
Re: Installation of FEAP8.6 with ARPACK
« Reply #2 on: June 15, 2021, 07:15:40 AM »
Thank you very much for the suggestion. My installation was successful after making these changes

jucavel09

  • New Member
  • *
  • Posts: 5
Re: Installation of FEAP8.6 with ARPACK
« Reply #3 on: June 25, 2021, 09:42:24 AM »
Good Morning,

I followed all the steps, and I did the modifications to the files that are described here, in the documentation, and in other entries of the forum. After the executable is made I try to run a simulation using the ARPAck command, and I get the following error:

No procedure or command named ARPAck exists.

Am I missing an extra step in the process?

Thank you for your help.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Installation of FEAP8.6 with ARPACK
« Reply #4 on: June 25, 2021, 11:02:56 AM »
have look in your makefile.in and make sure that the ARPACK lines are UNcommented.
Code: [Select]
# arpack archive library
  ARCHIVELIB = $(FEAPHOME8_6)/packages/arpack/archive/libarchive.a
# parpack library
  ARPACKLIB = $(FEAPHOME8_6)/packages/arpack/libarpack.a

Make sure that you have included the $ARCHIVELIB and $ARPACKLIB in main/makefile.

Lastly, if you are using an Ubuntu or other GCC loader type  see the comments in main/makefile