|
[Sponsors] |
August 3, 2012, 11:12 |
OF in parallel on a server
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear All,
I am running OF in parallel on a server. I would like to know how I can put the jobs in background. Let me show you the steps I do: 1. I write my decomposeParDict and i give the command decomposePar. 2. I create the file machine which contains the file of the server-machine 3. I give the command mpirun --hostfile machines -np 4 buoyantPimpleFoam -parallel > case.log Now I would like to put the job in BG in order to be able to shut down my laptop. I press Ctrl-z and then bg, but if I digit disown and I shutdown my laptop, the process ends. What should I do? Thanks for help, Samuele |
|
August 3, 2012, 11:20 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Try:
Code:
foamJob -p buoyantPimpleFoam Code:
foamJob -help edit2: I think the only way to be 100% remote, you will have to launch the job from one of the remote machines. This is why there are Job Schedulers for clusters
__________________
Last edited by wyldckat; August 3, 2012 at 11:29. Reason: see "edit:" and "edit2:" |
|
August 3, 2012, 11:28 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
WoW: it works!
Thanks a lot, Samuele! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel run on remote server | OpenFOAM_user87 | OpenFOAM Running, Solving & CFD | 2 | February 8, 2012 04:43 |
parallel performance on BX900 | uzawa | OpenFOAM Installation | 3 | September 5, 2011 16:52 |
CFD Online Back on Main Server | pete | Site News & Announcements | 0 | March 31, 2011 19:14 |
CFD Online Server Load | Jonas Larsson | Main CFD Forum | 0 | March 13, 2001 15:29 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |