|
[Sponsors] |
April 21, 2009, 05:48 |
Batch Job Runing under Linux Environment
|
#1 |
Senior Member
Join Date: Mar 2009
Posts: 129
Rep Power: 17 |
Hi
Is anyone know how to run F3D in batch job mode under Linux environment?
__________________
CK |
|
April 21, 2009, 14:11 |
|
#2 |
Member
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
#! /bin/sh
cd simulation_directory1 runpre runhyd cd simulation_directory1 runpre runhyd not sure if its what you want. btw, if you r using v9.3.x, you can put all simulations in a workspace and then simulate the workspace. the simulations will be launched one at a time in the order. |
|
April 21, 2009, 22:58 |
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 129
Rep Power: 17 |
Hi HC
yes this is what i'm looking for, but what file format that i should write this command? bat or dat? i'm using v9.3.1 but would like to run job in netbatch processing.
__________________
CK |
|
April 22, 2009, 11:35 |
|
#4 |
Member
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
it should be just in text format, as it is a script. you can create it by using either vi or some other text editor.
After the file is written correctly, type in "chmod u+x filename" to make the file executable. |
|
April 22, 2009, 22:15 |
|
#5 |
Senior Member
Join Date: Mar 2009
Posts: 129
Rep Power: 17 |
Hi HC
some clarification as below. 1. it should be simulation_directory1 & simulation_directory2 right? 2. btw what is #!/bin/sh command stand for? it is F3D program command? 3. This command when put in text editor it don't necessary to be the same folder/directory as the model directory right? _______________________ #! /bin/sh cd simulation_directory1 runpre runhyd cd simulation_directory1 (should be simulation_directory2 right?) runpre runhyd |
|
April 22, 2009, 22:29 |
|
#6 |
Member
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
1. yes, they should be different simulation directories.
2. it is not a flow3d command. it is the shell command normally included in the linux distribution. 3. no. you can save it anywhere you may. |
|
April 23, 2009, 00:44 |
|
#7 |
Senior Member
Join Date: Mar 2009
Posts: 129
Rep Power: 17 |
HC
thanks and if i run in bath mode can i still change the solver option through PEEK program? |
|
April 23, 2009, 10:07 |
|
#8 |
Senior Member
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 337
Rep Power: 18 |
9.3 has a script provided for running batch jobs. The script is call runbatch and located in the local directory in $F3D_HOME. The Manual describes how to use it. You create a text file with the paths to all the prepin files, relative or absolute - one prepin per line, then run
> runbatch <file> It will run all the jobs sequentially. Michael |
|
April 23, 2009, 11:46 |
|
#9 |
Member
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
i am not sure if you can change the runtime options by using peek program. but you can try creating/modifying hd3opt file and create a text file named "HYdr3D_SIgnAL.dat" and put the number 8 in it.
|
|
April 28, 2009, 21:47 |
|
#10 |
Senior Member
Join Date: Mar 2009
Posts: 129
Rep Power: 17 |
HC and Michael
Thanks for the info. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT Batch job | Saravanan | FLUENT | 11 | May 14, 2014 17:47 |
Running Job in Batch mode (EFD) | Nick Sessions | FloEFD, FloWorks & FloTHERM | 0 | April 16, 2008 17:44 |
How to create Batch job for CFX-10 in Linux OS | siv | CFX | 2 | March 21, 2006 04:38 |
Linux: when the job suddenly stops working. | Stevie Wonder | CFX | 3 | August 15, 2004 19:36 |
batch job under linux | Marcio | Siemens | 10 | August 18, 2003 06:48 |