FEAP User Forum

FEAP => Installation => Topic started by: M. Kurdi on February 11, 2014, 11:08:08 AM

Title: FEAP installation under Linux error
Post by: M. Kurdi 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.
Title: Re: FEAP installation under Linux error
Post by: Prof. R.L. Taylor 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. 
Title: Re: FEAP installation under Linux error
Post by: FEAP_Admin 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.