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

Script for generating lnInclude directories

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 7, 2006, 13: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, 16:19
Default The script is wmakeLnInclude.
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,742
Rep Power: 20
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 8, 2006, 21: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, 06:30
Default Maybe it will be interesting f
  #4
Member
 
Petr Vita
Join Date: Mar 2009
Posts: 57
Rep Power: 7
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, 19: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

Thread Tools
Display Modes

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 On
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 03:02
Time directories robbo OpenFOAM 1 May 21, 2008 16:49
OFstream doesnbt create directories or throw errors brooksmoses OpenFOAM 3 January 30, 2006 06:28
Modify the reconstructPar to delete the reconstructed parallel directories within the loop maka OpenFOAM Post-Processing 2 December 16, 2005 10:37
Modifing reconstructPar to delete the reconstructed parallel directories maka OpenFOAM Pre-Processing 1 December 13, 2005 07:16


All times are GMT -4. The time now is 19:04.