Author Topic: Installing FEAP on ubuntu  (Read 4754 times)

ad10

  • Jr. Member
  • **
  • Posts: 39
Installing FEAP on ubuntu
« on: July 30, 2021, 03:17:02 AM »
Dear all,

Though I am able to installed FEAP successfully on ubuntu 20.04, whenever I make add a user subroutines and compile the code, FEAP rebuilds again. It has to rebuild the subroutine only but rebuilds the complete program. It's taking too much time. Is there any way, so it only builds subroutine, not the entire program?

Thanks in advance!
« Last Edit: July 30, 2021, 05:43:52 AM by ard10 »

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Installing FEAP on ubuntu
« Reply #1 on: July 30, 2021, 05:59:22 PM »
Suggestion:

Add the path to your use subroutine to the OBJECTS line in main/makefile  (remember to end it with .o).  Then typing make while in main/makefile should only compile your subroutine and build the executable from the already compiled archive (.a) file.


ad10

  • Jr. Member
  • **
  • Posts: 39
Re: Installing FEAP on ubuntu
« Reply #3 on: August 02, 2021, 01:13:43 AM »
Thanks a lot, Prof. Govindjee and Jstorm, for your suggestions. After installing FEAP using 'make' again, it's not rebuilding the entire FEAP.