| 292 | |
| 293 | **parallel.submit** |
| 294 | {{{ |
| 295 | #!/bin/sh |
| 296 | |
| 297 | echo "Hello I am ${HOSTNAME} and I am node ${1}" |
| 298 | |
| 299 | }}} |
| 300 | |
| 301 | **parallel.submit** |
| 302 | {{{ |
| 303 | universe = parallel |
| 304 | executable = parallel.sh |
| 305 | arguments = $(Node) |
| 306 | |
| 307 | machine_count = 2 |
| 308 | |
| 309 | output = parallel.$(Node).out |
| 310 | error = parallel.$(Node).err |
| 311 | # Il n'est pas possible de faire un fichier de log par nœuds |
| 312 | log = parallel.log |
| 313 | |
| 314 | should_transfer_files = yes |
| 315 | when_to_transfer_output = on_exit |
| 316 | |
| 317 | +Requirements = member(machine, {"lpsc-c21.in2p3.fr","lpsc-c22.in2p3.fr"}) |
| 318 | |
| 319 | queue |
| 320 | |
| 321 | }}} |