Author Topic: FEAP installation under Linux error  (Read 6037 times)

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
FEAP installation under Linux error
« on: February 11, 2014, 11:08:08 AM »
Hello,
I just installed Feap8_4 under Linux for 64 bit. I commented the arpack and parpack statements in the makefile.in as they were causing errors. After successful creating the executable I'm getting the following error:

./Feap8_4a.a: line 1: syntax error near unexpected token `newline'
./Feap8_4a.a: line 1: `!<arch>'

Any ideas what the error is due to?
I'm running by ./Feap8_4a.a -iIbeam.dat
Thanks for your help.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: FEAP installation under Linux error
« Reply #1 on: February 11, 2014, 02:43:59 PM »
First, you could compile the packages files to avoid the first type of errors.  It seems your archive is corrupted somehow, I would clean everything and recompile.  Please tell us what compiler and options (including version number) you are using and be sure to include the integer8 files not the integer4 ones. 

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: FEAP installation under Linux error
« Reply #2 on: February 11, 2014, 11:02:41 PM »
The error indicates that you have incompatible object files in your build.
Delete all *.o *.a and executable files.  And try a clean rebuild.

To build the Arpack stuff you need to have blas and lapack on your machine (blas-devel and lapack-devel) and then
include these on the link line.  Or you can use the minimal blas/lapack provided in packages.