Updated syntax to reflect cmd line arg change

这个提交包含在:
Craig Warren
2023-06-13 16:13:59 +01:00
父节点 b91156cf3a
当前提交 f24a9c4275
共有 2 个文件被更改,包括 2 次插入2 次删除

查看文件

@@ -50,6 +50,6 @@ Here is an example of a job script for running models, e.g. A-scans to make a B-
:language: bash :language: bash
:linenos: :linenos:
The ``-t`` tells Grid Engine that we are using a job array followed by a range of integers which will be the IDs for each individual task (model). Task IDs must start from 1, and the total number of tasks in the range should correspond to the number of models you want to run, i.e. the integer with the ``-n`` flag passed to gprMax. The ``-task`` flag is passed to gprMax to tell it we are using a job array, along with the specific number of the task (model) with the environment variable ``$SGE_TASK_ID``. The ``-t`` tells Grid Engine that we are using a job array followed by a range of integers which will be the IDs for each individual task (model). Task IDs must start from 1, and the total number of tasks in the range should correspond to the number of models you want to run, i.e. the integer with the ``-n`` flag passed to gprMax. The ``-i`` flag is passed to gprMax along with the specific number of the task (model) with the environment variable ``$SGE_TASK_ID``.
A job array means that exactly the same submit script is going to be run multiple times, the only difference between each run is the environment variable ``$SGE_TASK_ID``. A job array means that exactly the same submit script is going to be run multiple times, the only difference between each run is the environment variable ``$SGE_TASK_ID``.

查看文件

@@ -28,4 +28,4 @@ export OMP_NUM_THREADS=16
### Run gprMax with input file ### Run gprMax with input file
cd $HOME/gprMax cd $HOME/gprMax
python -m gprMax mymodel.in -n 10 -task $SGE_TASK_ID python -m gprMax mymodel.in -n 10 -i $SGE_TASK_ID