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

Ubuntu: Allrun script issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2010, 16:53
Default Ubuntu: Allrun script issue
  #1
New Member
 
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16
fletc900 is on a distinguished road
This is not a severe bug, but I thought I'd point it out:

When using the official OpenFoam 1.7 Ubuntu release (installed via apt-get):

When running any of the tutorial "Allrun" scripts (such as the one present in .../chtMultiRegionSimpleFoam/multiRegionHeater) , you must change the first line of the script from "#!/bin/sh" to "#!/bin/bash" in order to run it in Ubuntu (at least for Ubuntu 10.04) . This can be a minor nuisance for new users which are exploring the capabilities of the solver.

Peace.
fletc900 is offline   Reply With Quote

Old   July 2, 2010, 03:24
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Do you know what would need to be changed in the scripts to get them to work with /bin/sh on Ubuntu?

H
henry is offline   Reply With Quote

Old   July 2, 2010, 16:58
Default
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
I have pushed some changes to the scripts into 1.7.x which should resolve the issues you have with POSIX sh compatibility.

H
henry 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
Please help: Installing OpenFOAM-1.5-dev on Ubuntu 9.04 aat OpenFOAM Installation 23 July 21, 2013 06:31
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43
Empty Allrun script mwild OpenFOAM Bugs 4 August 25, 2009 02:43
Perl script for intialisation pratik mehta CFX 2 September 10, 2008 03:09
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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