Soysal, Mehmet (SCC)
2017-01-23 12:19:24 UTC
Hi,
im testing Data Staging with MOAB(9.0.2) and Torque(6.0.2) and
have the problem that the Job script is run three times.
The User Script is running during the dsin and dsout out also
and this is wrong. I followed the instructions from the docs
but cant figure out what is wrong.
Here is an example:
$ cat hello_world.sh
#!/bin/bash
echo "Hello World" >> hello_world_output.txt
$ rm hello_world_output.txt
$ msub --stagein ***@xxx:/home/joe/tests%xxx@\$JOBHOST:/tmp
--stageinsize=100 --workflowjobids hello_world.sh
407.dsin 407 407.dsout
$ cat hello_world_output.txt
Hello World
Hello World
Hello World
Any Ideas ?
M.Soysal
--
Mehmet Soysal
Scientific Computing and Services (SCS)
Karlsruher Institut fÃŒr Technologie (KIT)
Steinbuch Centre for Computing (SCC)
Campus North, Bldg. 449, Room 392
Hermann-von-Helmholtz-Platz 1
D-76344 Eggenstein-Leopoldshafen
Tel. : +49 721 608-29336
Fax : +49 721 32550
Email: ***@kit.edu
WWW : http://www.scc.kit.edu
KIT - UniversitÀt des Landes Baden-WÌrttemberg und
nationales Forschungszentrum in der Helmholtz-Gemeinschaft
im testing Data Staging with MOAB(9.0.2) and Torque(6.0.2) and
have the problem that the Job script is run three times.
The User Script is running during the dsin and dsout out also
and this is wrong. I followed the instructions from the docs
but cant figure out what is wrong.
Here is an example:
$ cat hello_world.sh
#!/bin/bash
echo "Hello World" >> hello_world_output.txt
$ rm hello_world_output.txt
$ msub --stagein ***@xxx:/home/joe/tests%xxx@\$JOBHOST:/tmp
--stageinsize=100 --workflowjobids hello_world.sh
407.dsin 407 407.dsout
$ cat hello_world_output.txt
Hello World
Hello World
Hello World
Any Ideas ?
M.Soysal
--
Mehmet Soysal
Scientific Computing and Services (SCS)
Karlsruher Institut fÃŒr Technologie (KIT)
Steinbuch Centre for Computing (SCC)
Campus North, Bldg. 449, Room 392
Hermann-von-Helmholtz-Platz 1
D-76344 Eggenstein-Leopoldshafen
Tel. : +49 721 608-29336
Fax : +49 721 32550
Email: ***@kit.edu
WWW : http://www.scc.kit.edu
KIT - UniversitÀt des Landes Baden-WÌrttemberg und
nationales Forschungszentrum in der Helmholtz-Gemeinschaft