Batch Job Runing under Linux Environment
Hi
Is anyone know how to run F3D in batch job mode under Linux environment? :) |
#! /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. |
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. |
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. |
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 |
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. |
HC
thanks and if i run in bath mode can i still change the solver option through PEEK program? |
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 |
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.
|
HC and Michael
Thanks for the info. :) |
All times are GMT -4. The time now is 21:28. |