CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Parallel rerun in cluster

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2011, 12:13
Default Parallel rerun in cluster
  #1
New Member
 
Join Date: Nov 2011
Posts: 28
Rep Power: 5
Andy_bm is on a distinguished road
Dear Foamers.
I have same problem with rerun my case after cluster turn off and again turn on.For example, in first day I put my case in queue calculation, I use the following script:
Code:
#PBS -l walltime=24:00:00,nodes=4:ppn=8
cd ~/OpenFOAM/Andrey-2.0.1/run/SWkw
mpirun -np 32 -machinefile $PBS_NODEFILE rhoCentralFoam -parallel | tee -a log.std
In the end of the working day cluster turn off. On the next day cluster turn on, but my case don't calculation in cluster.There are two variants:
1) Case is in queue but don't calculation.Use time in qstat = constant 00:00:00.
2) Case is not in queue, and in working directory I have file .e , .o created at the moment of switching-off cluster.

in controlDict starttime set to latestTime.

What probably to make,after cluster turn on,that openfoam continued to calculation?

Thanks.
Andy_bm is offline   Reply With Quote

Old   November 25, 2011, 03:40
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
Do you have superuser rights on the cluster?
akidess is offline   Reply With Quote

Old   November 25, 2011, 14:38
Default
  #3
New Member
 
Join Date: Nov 2011
Posts: 28
Rep Power: 5
Andy_bm is on a distinguished road
No, I have not root rights,but I can say superuser on this cluster that it is possible to make.
Andy_bm is offline   Reply With Quote

Old   November 27, 2011, 07:27
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
First, you should ask the administrator to not turn off the cluster so that your jobs can finish over night. If that's absolutely not possible, you'll have to ask him to set up an init.d script to restart your jobs on reboot.
akidess is offline   Reply With Quote

Old   November 27, 2011, 08:16
Default
  #5
New Member
 
Join Date: Nov 2011
Posts: 28
Rep Power: 5
Andy_bm is on a distinguished road
Unfortunately,not turn off the cluster is impossible.
Could you tell as to adjust this init.d script?
Andy_bm is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
Parallel Solving with HPC Cluster? bah OpenFOAM Running, Solving & CFD 8 October 13, 2011 03:08
Parallel cluster solving with OpenFoam? P2P Cluster? hornig OpenFOAM Programming & Development 8 December 5, 2010 17:06
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 13:53


All times are GMT -4. The time now is 12:46.