CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

wmakeLnInclude

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2015, 21:59
Default wmakeLnInclude
  #1
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Hi, foamers.

i am compiling a new user-defined library and considering what the 'wmake' / 'wmake libso' command really does.
i noticed that firstly the 'wmakeLnIclude' script was executed and then the dependency list was made corresponding to the make/files. And then? What will be done next? Why was the ./lnInclude directory automatically made and what were the files in it and their usage?
i know that the make/files and make/options, which 'wmake' command refers to. But i really wonder the step-by-step process of the 'wmake' / 'wmake libso' execution.

Any help will be great appreciate!
cfdopenfoam is offline   Reply With Quote

Old   March 27, 2015, 17:42
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer - I'll quote myself:
Quote:
Originally Posted by wyldckat View Post
In other words, in order to make it easier to compile OpenFOAM's libraries, it uses the "lnInclude" folder on each major library's source code folder, which contains links to all of the files relevant to that library. Then other libraries (and itself) can simply add to the search path a single directory path for each library.
missios likes this.
wyldckat is offline   Reply With Quote

Old   March 27, 2015, 21:48
Default
  #3
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Hi, Bruno.

thanks a lot for your legible explaination. ^_^
cfdopenfoam is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 04:01
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 37 August 17, 2022 14:22
Patches for OpenFOAM 1.7 on MacOS X gschaider OpenFOAM Installation 101 September 21, 2011 05:37
OpenFoam 1.6-ext - error ./Allwmake in /src preibie OpenFOAM Installation 14 June 14, 2011 05:57
Script for generating lnInclude directories brooksmoses OpenFOAM 4 January 26, 2006 19:02


All times are GMT -4. The time now is 10:14.