FEAP User Forum
FEAP => Installation => Topic started by: H. Vijayakumaran 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
ver86$: make archive
2. cd into the arpack directory and made the libarchive.a and libarpack.a
ver86/packages/arpack/archive$: make install
ver86/packages/arpack$: make install
3. cd into main directory and made feap
ver86/main: make feap
In this step, I am getting the following error message:
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?
-
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.
-
Thank you very much for the suggestion. My installation was successful after making these changes
-
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.
-
have look in your makefile.in and make sure that the ARPACK lines are UNcommented.
# 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