Author Topic: Qusetion about the FEAPWiki and win2comp.bat file  (Read 2411 times)

xushuhao

  • Jr. Member
  • **
  • Posts: 14
Qusetion about the FEAPWiki and win2comp.bat file
« on: July 13, 2021, 05:51:43 PM »
Dear Prof. R.L. Taylor and Prof. S. Govindjee
I compiled the program follow the FEAP Wiki and succeeded. But I still have some questions about the installation.
In the FEAP Wiki step shown below, the directories elements, contact, plot, program, user, windows, and window1 or window2 will be added to the lib86

Q1->I can’t find window1 or window2. Does it matter?
Q2->In the win2comp.bat file, the directory ‘packages’ will be added to the project. However, in FEAP Wiki, it is not added in lib86. Is there any mistake in the FEAP Wiki? Although I compile the program successfully.
 

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Qusetion about the FEAPWiki and win2comp.bat file
« Reply #1 on: July 13, 2021, 09:11:08 PM »
The Wiki instructions need to be updated for version 8.6.  In version 8.6 we changed the layout of the windows files so there is now only 'windows', so you are fine.  The items in the packages directories are extra and not required.  If you desire a program that uses arpack then you can add the files to the executable project.

xushuhao

  • Jr. Member
  • **
  • Posts: 14
Re: Qusetion about the FEAPWiki and win2comp.bat file
« Reply #2 on: July 13, 2021, 11:15:32 PM »
I add the directory like the figure below and add the *.f files to the directory.
But the *.h files are not added. Are they needed?
I saw the *.h files are copied to the compile directory by win2comp.bat.

The Wiki instructions need to be updated for version 8.6.  In version 8.6 we changed the layout of the windows files so there is now only 'windows', so you are fine.  The items in the packages directories are extra and not required.  If you desire a program that uses arpack then you can add the files to the executable project.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Qusetion about the FEAPWiki and win2comp.bat file
« Reply #3 on: July 13, 2021, 11:37:04 PM »
If you add the location of the include files under the properties for the projects then you do not need to copy the *.h files to the compile directory.
Also, if  you are adding each source directory like your image shows, then you do not need the compile directory at all.

xushuhao

  • Jr. Member
  • **
  • Posts: 14
Re: Qusetion about the FEAPWiki and win2comp.bat file
« Reply #4 on: July 13, 2021, 11:45:27 PM »
Thanks for your reply, Prof. S. Govindjee.
If you add the location of the include files under the properties for the projects then you do not need to copy the *.h files to the compile directory.
Also, if  you are adding each source directory like your image shows, then you do not need the compile directory at all.