Author Topic: Run Time Error of Feap83 on Mac OS X El Capitan  (Read 3949 times)

hustzjy312

  • Jr. Member
  • **
  • Posts: 29
Run Time Error of Feap83 on Mac OS X El Capitan
« on: May 17, 2016, 09:05:14 AM »
Dear All,

I recently upgraded my Mac OS X system to El Capitan. I managed to compile Feap83 and generate feap executable on Mac El Capitan using the newer gcc and gfortran compilers (5.3). However, when I use the feap executable to run some simple input files, I get an error "Header field was corrupted".

I never had issue with the same Feap source files in the older Mac OS X System with the older version gcc and gfortran compilers. 

Can anyone tell me how to fix this problem?

Thanks,

Yang

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Run Time Error of Feap83 on Mac OS X El Capitan
« Reply #1 on: May 17, 2016, 10:40:11 AM »
There are a number of possible causes for this:

(1) You do not have your FEAPHOME8_3 variable correctly set
(2) You have some old object files that you are linking too
(3) You are using the incorrect include files (integer8 versus integer4)

I recommend starting from scratch in a clean directory with a freshly unzipped version
of the code.

hustzjy312

  • Jr. Member
  • **
  • Posts: 29
Re: Run Time Error of Feap83 on Mac OS X El Capitan
« Reply #2 on: May 17, 2016, 11:58:28 AM »
(1) What does setting "FEAPHOME8_3" variable mean? (Do you mean setting "export FEAPHOME8_3=/Users/username/Feap83" in the .bashrc)?

(2) I think that I did start from scratch. Before compiling, I used "make clean" to delete all object files, and also deleted Feap.a and feap.o. I didn't include any user elements or solvers in the compiling either.   

(3) For the include file, I choose include/integer8. For the loader options, I use m64 and libX11.dylib (X11 library changes from libX11.so to libX11.dylib in El Capitan).


Yang
« Last Edit: May 17, 2016, 12:07:59 PM by hustzjy312 »