|March 13, 2013, 20:11||
Allow System Operations in OpenFOAM
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 31Rep Power: 5
Hello Dear FOAMers,
I like to enable the "allowSystemOperations" in controlDict under opt/openfoam211/etc system directory. This enables to load a shared library using case-supplied C++ code.
To do so, I opened the controlDict with the standard Ubuntu text editor and changed the "allowSystemOperations" setting from 0 to 1, but the editor does not let me modify and save the file with the same name, saying that permission to modification is denied. Is there a way to get around this and overwrite this file?
|March 13, 2013, 23:39||
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 604Rep Power: 21
This is because your install is in /opt, which is outside your home directory and you don't have default permission to adjust things there. if you have administrative rights, you can do
sudo gedit /opt/openfoam211/etc/controlDict
Last edited by chegdan; March 14, 2013 at 00:10.
|January 8, 2014, 22:01||
Join Date: Jan 2014
Posts: 24Rep Power: 5
Thanks a lot dan.
I initially tried:
sudo nano controlDict
|Thread||Thread Starter||Forum||Replies||Last Post|
|New OpenFOAM Forum Structure||jola||OpenFOAM||2||October 19, 2011 06:55|
|Problem installing OpenFOAM 1.5 installation on RHEL 4.||vwsj84||OpenFOAM Installation||4||April 23, 2009 04:48|
|64bitrhel5 OF installation instructions||mirko||OpenFOAM Installation||2||August 12, 2008 18:07|
|OpenFOAM Training in Europe and USA||hjasak||OpenFOAM||0||August 8, 2008 05:33|
|OpenFOAM Training and Workshop Zagreb 2628Jan2006||hjasak||OpenFOAM||1||February 2, 2006 22:07|