Show More
@@ -288,7 +288,7 b' to specify your own. Here is a sample PBS script template:' | |||||
288 | #PBS -N ipython |
|
288 | #PBS -N ipython | |
289 | #PBS -j oe |
|
289 | #PBS -j oe | |
290 | #PBS -l walltime=00:10:00 |
|
290 | #PBS -l walltime=00:10:00 | |
291 | #PBS -l nodes={n/4}:ppn=4 |
|
291 | #PBS -l nodes={n//4}:ppn=4 | |
292 | #PBS -q {queue} |
|
292 | #PBS -q {queue} | |
293 |
|
293 | |||
294 | cd $PBS_O_WORKDIR |
|
294 | cd $PBS_O_WORKDIR | |
@@ -304,7 +304,7 b' There are a few important points about this template:' | |||||
304 |
|
304 | |||
305 | 2. Instead of putting in the actual number of engines, use the notation |
|
305 | 2. Instead of putting in the actual number of engines, use the notation | |
306 | ``{n}`` to indicate the number of engines to be started. You can also use |
|
306 | ``{n}`` to indicate the number of engines to be started. You can also use | |
307 | expressions like ``{n/4}`` in the template to indicate the number of nodes. |
|
307 | expressions like ``{n//4}`` in the template to indicate the number of nodes. | |
308 | There will always be ``{n}`` and ``{profile_dir}`` variables passed to the formatter. |
|
308 | There will always be ``{n}`` and ``{profile_dir}`` variables passed to the formatter. | |
309 | These allow the batch system to know how many engines, and where the configuration |
|
309 | These allow the batch system to know how many engines, and where the configuration | |
310 | files reside. The same is true for the batch queue, with the template variable |
|
310 | files reside. The same is true for the batch queue, with the template variable |
General Comments 0
You need to be logged in to leave comments.
Login now