|
[Sponsors] |
performing postProcessing commands on decomposed files |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2013, 14:39 |
performing postProcessing commands on decomposed files
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi
is it possible to use postProcessing commands like "Mach" on the files in processors withot reconstructing?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 24, 2013, 12:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick question: have you tried asking the application for help?
Code:
Mach -help
__________________
|
|
August 24, 2013, 15:36 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi Bruno
the application is tired now and doesn't answer! do you know anything? Code:
ehsan@Ehsan-com:~/Desktop/WR_4$ Mach -help Usage: Mach [OPTIONS] options: -case <dir> specify alternate case directory, default is the cwd -constant include the 'constant/' dir in the times list -dict <file> read control dictionary from specified location -latestTime select the latest time -noFlow suppress creating flow models (execFlowFunctionObjects only) -noFunctionObjects do not execute functionObjects -noWrite suppress writing results -noZero exclude the '0/' dir from the times list, has precedence over the -zeroTime option -parallel run in parallel -region <name> specify alternative mesh region -roots <(dir1 .. dirN)> slave root directories for distributed running -time <ranges> comma-separated time ranges - eg, ':10,20,40:70,1000:' -srcDoc display source code in browser -doc display application documentation in browser -help print the usage
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 24, 2013, 16:11 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
I suppose that the option "-parallel" is what you are looking for.
Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
August 24, 2013, 16:29 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thanks,I used it in a case with one time folder in processor folders and this error occurred:
Code:
--> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::UPstream::init(int&, char**&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so" #3 Foam::argList::argList(int&, char**&, bool, bool) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/Mach" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/Mach" [Ehsan-com:23454] *** Process received signal *** [Ehsan-com:23454] Signal: Aborted (6) [Ehsan-com:23454] Signal code: (-6) [Ehsan-com:23454] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36460) [0x7f4e67e64460] [Ehsan-com:23454] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f4e67e643e5] [Ehsan-com:23454] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f4e67e67b4b] [Ehsan-com:23454] [ 3] /opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x166) [0x7f4e68d69046] [Ehsan-com:23454] [ 4] /opt/openfoam220/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPc+0x48f) [0x7f4e67c27c5f] [Ehsan-com:23454] [ 5] /opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbb+0x23ce) [0x7f4e68d8a84e] [Ehsan-com:23454] [ 6] Mach() [0x40c3d8] [Ehsan-com:23454] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f4e67e4f30d] [Ehsan-com:23454] [ 8] Mach() [0x40cb7d] [Ehsan-com:23454] *** End of error message *** Aborted
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 24, 2013, 16:47 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Niels and Ehsan.
@Ehsan: I'm trying to get you to think for yourself, which is why I didn't give the straight answer. And I still won't. I'll give you only a few clues Starting with this quote: Quote:
And have you tried using the "-help" command with the solvers you usually use? Best regards, Bruno
__________________
|
||
August 24, 2013, 17:35 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
Hi Bruno
I'm using pyFoamPlotRunner.py for a while and had forgot about mpirun, I used Code:
mpirun -np 4 Mach -parallel
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 24, 2013, 17:52 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
August 24, 2013, 17:58 |
|
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
I sent it to you,it can use the -parallel option,it's interesting a lot!
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 20:51 |