|
[Sponsors] |
April 21, 2010, 14:56 |
turing off the log file?
|
#1 |
Member
Join Date: Mar 2010
Posts: 31
Rep Power: 16 |
Sorry if this is a silly question, but how do I turn off the log file? Is there a command line toggle for that? I'm doing very long runs, and the log file gets into the Gb range, which is a little much. Cheers.
|
|
April 21, 2010, 16:56 |
|
#2 |
Member
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 17 |
Control-C will kill the log file if it's already started. You can run a solver without the log file if you don't need the log. Instead of <foamJob simpleFoam>, just enter <simpleFoam> on the command line (or <mpirun -np x simpleFoam -parallel> if you're using more than one processor. The residuals will be displayed in your terminal window. I hope this helps,
Alan |
|
April 21, 2010, 18:01 |
thanks
|
#3 |
Member
Join Date: Mar 2010
Posts: 31
Rep Power: 16 |
Thanks, I was actually looking to toggle it off, as opposed to redirecting to stout. I didn't know about control-C, but I don't know if that will work on the job submission system. At the moment, I redirect to /dev/null. I also just used the <simpleFoam>, as you suggest.
Last edited by bunni; April 21, 2010 at 18:04. Reason: more detail |
|
April 22, 2010, 04:36 |
|
#4 |
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 17 |
I think your system is the only correct one, running simpleFoam 2>&1 > /dev/null
|
|
April 22, 2010, 10:16 |
|
#5 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
||
April 22, 2010, 13:36 |
|
#6 |
Member
Join Date: Mar 2010
Posts: 31
Rep Power: 16 |
Thanks for your help!
|
|
Tags |
log file toggle |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 2 | June 25, 2021 09:10 |
Installation of OpenFOAM-1.6 on Ubuntu 9.10 | marval | OpenFOAM Installation | 2 | March 17, 2010 09:33 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |