Author Topic: install FEAP8.5 on macOS Big Sur (11.2.3)  (Read 5572 times)

ws18

  • Jr. Member
  • **
  • Posts: 46
install FEAP8.5 on macOS Big Sur (11.2.3)
« on: May 21, 2021, 10:00:51 PM »
I try to install FEAP8.5 on my new imac with the Big Sur system. While I make install, I got lots of make archive errors and many compile warnings. I attached some screenshots of these errors.

gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

GNU Fortran (Homebrew GCC 11.1.0) 11.1.0

Could you tell me how to fix it? Thank you in advance!

ws18

  • Jr. Member
  • **
  • Posts: 46
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #1 on: May 21, 2021, 10:02:14 PM »
Attached are makefile and makefile.in I used. Thanks!

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #2 on: May 21, 2021, 11:53:46 PM »
The first set of error seem to be saying that the folder program is missing.
I wonder if you have properly set your FEAPHOME8_5 environment variable?

The make warnings can be ignored.  make error however need to be rectified.

ws18

  • Jr. Member
  • **
  • Posts: 46
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #3 on: May 22, 2021, 09:11:39 AM »
Thank you for your reply, Prof. Govindjee. I followed your YouTube tutorial to set the environmental variable. I previously set it in the same way when I install FEAP on the old OS X El Capitan system, and it works. I attached my environmental variable setting and the directory of my FEAP85. Could you please help me check these? Thank you for your time.

ws18

  • Jr. Member
  • **
  • Posts: 46
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #4 on: May 22, 2021, 09:13:31 AM »
Here is the screen shot of the setting and the directory. I moved all files in ver85 to FEAP85. Thank you!
« Last Edit: May 22, 2021, 09:15:32 AM by WS18 »

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #5 on: May 22, 2021, 11:37:24 AM »
Looks fine.

Probably the issue then is that someplace along the way a file did not compile correctly and this threw the build system off.

You should try again and capture all the output from make;  run
Code: [Select]
make 1> make.out 2> make.errand then post make.out and make.err.   I could not tell if your system is going into an infinite loop producing
the errors you posted.  If so, run the command above and then once you think it has had enough time to generate
some errors, just hit ctrl-c to kill it.

ws18

  • Jr. Member
  • **
  • Posts: 46
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #6 on: May 22, 2021, 12:21:20 PM »
Thank you, Prof. Govindjee. I attached the make.out and make.err files. Yes, the system goes into an infinite loop after I apply "make" and I have to stop it by force. Please let me know if errors in these files are not enough. Thank you very much.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #7 on: May 22, 2021, 04:25:01 PM »
If you look in make.out you will see that the process completed the archive build.  Then it tried to go to main/ and perform a build.  I can not tell if it completed?
Can you check if there is a feap executable in main/?  Also have a look in main/makefile to see if there is an error there.

I have seen similar errors before and they are usually associated with typos someplace in the makefiles so one has to go step by step to find the error.

ws18

  • Jr. Member
  • **
  • Posts: 46
Re: install FEAP8.5 on macOS Big Sur (11.2.3)
« Reply #8 on: May 22, 2021, 06:32:54 PM »
Thank you for your advices. Yes, you are correct. The makefile in main folder includes something I added to clean complied object files of my user elements. After replace it with the very original file, I got executable feap. I tested the examples, it looks good. Thank you very much for your time.