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

Script for generating lnInclude directories

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By hjasak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2006, 14:49
Default The lnInclude directories in O
  #1
brooksmoses
Guest
 
Posts: n/a
The lnInclude directories in OpenFOAM contain a set of symlinks to all of the source files in the associated directories, thus allowing one to include only lnInclude in the relevant paths rather than having to include all of several dozen (or more) actual source directories.

I would presume that these are automatically generated by a simple script of some sort. Could someone post a copy of that script?

(I'm working on a basic Cygwin port of at least the core parts of OpenFOAM, which requires renaming a number of files and a couple of directories to deal with case-sensitivity problems, and thus having this script to regenerate the lnInclude directories would save me quite a lot of work!)

Thanks much!
  Reply With Quote

Old   January 7, 2006, 17:19
Default The script is wmakeLnInclude.
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
The script is wmakeLnInclude.

Go to the library source directory and do

wmakeLnInclude .

There is no good way of doing this for all the libraries in one go beucase the source is organized hierarchically and each bit takes care of itself.

Good luck,

Hrv
gcengineer and Jim1310 like this.
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 8, 2006, 22:56
Default Thanks! That's exactly what I
  #3
brooksmoses
Guest
 
Posts: n/a
Thanks! That's exactly what I was looking for.
  Reply With Quote

Old   January 9, 2006, 07:30
Default Maybe it will be interesting f
  #4
Member
 
Petr Vita
Join Date: Mar 2009
Posts: 59
Rep Power: 17
pvita is on a distinguished road
Send a message via MSN to pvita Send a message via Skype™ to pvita
Maybe it will be interesting for you to follow a discussion Case-insensitive unpacking and windows/macos.
pvita is offline   Reply With Quote

Old   January 26, 2006, 20:02
Default Thanks Petr! That definitely
  #5
brooksmoses
Guest
 
Posts: n/a
Thanks Petr! That definitely does look useful to me.
  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
Modifying Source Files in Flow3D Directories Xizao Yang FLOW-3D 3 January 15, 2009 04:02
Time directories robbo OpenFOAM 1 May 21, 2008 17:49
OFstream doesnbt create directories or throw errors brooksmoses OpenFOAM 3 January 30, 2006 07:28
Modify the reconstructPar to delete the reconstructed parallel directories within the loop maka OpenFOAM Post-Processing 2 December 16, 2005 11:37
Modifing reconstructPar to delete the reconstructed parallel directories maka OpenFOAM Pre-Processing 1 December 13, 2005 08:16


All times are GMT -4. The time now is 12:43.