radical-cybertools / radical.owms

Tiered Resource OverlaY
Other
0 stars 1 forks source link

strategy execution failed: invalid dir (tutorial_01) #67

Closed vshah505 closed 10 years ago

vshah505 commented 10 years ago

2014:02:27 16:48:28 MainThread troy.logger : [INFO ] staging_in input/topol.tpr < fork://localhost / /home/%(username)s//troy_tutorial/troy_tutorial_01_8/ / topol.tpr 2014:02:27 16:48:31 MainThread troy.logger : [CRITICAL] strategy execution failed: invalid dir 'file://localhost': /home/%(username)s/troy_tutorial/troy_tutorial_01_8 (/home/vshah505/troy_tutorial/local/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py +398 (change_dir) : raise saga.BadParameter ("invalid dir '%s': %s" % (cwdurl, tgturl))) 2014:02:27 16:48:31 MainThread troy.logger : [WARNING ] shutting down workload: wl.0001 2014:02:27 16:48:31 MainThread troy.logger : [WARNING ] shutting down overlay: ol.0001 2014:02:27 16:48:31 MainThread troy.logger : [INFO ] cancel pilot p.0001

marksantcroos commented 10 years ago

What is your python version? It seems the patterns are not expanded.

On 27 Feb 2014, at 22:53 , vshah505 notifications@github.com wrote:

2014:02:27 16:48:28 MainThread troy.logger : [INFO ] staging_in input/topol.tpr < fork://localhost / /home/%(username)s//troy_tutorial/troy_tutorial_01_8/ / topol.tpr 2014:02:27 16:48:31 MainThread troy.logger : [CRITICAL] strategy execution failed: invalid dir 'file://localhost': /home/%(username)s/troy_tutorial/troy_tutorial_01_8 (/home/vshah505/troy_tutorial/local/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py +398 (change_dir) : raise saga.BadParameter ("invalid dir '%s': %s" % (cwdurl, tgturl))) 2014:02:27 16:48:31 MainThread troy.logger : [WARNING ] shutting down workload: wl.0001 2014:02:27 16:48:31 MainThread troy.logger : [WARNING ] shutting down overlay: ol.0001 2014:02:27 16:48:31 MainThread troy.logger : [INFO ] cancel pilot p.0001

— Reply to this email directly or view it on GitHub.

vshah505 commented 10 years ago

The reason for the error was config_troy.json was not passed.

andre-merzky commented 10 years ago

Just a note: while it is true that passing the config_troy.json would have avoided this, the real error is exactly what is logged in the first two lines: troy tries file staging, but that strange path (/home/%(username)s/troy_tutorial/troy_tutorial_01_8) is not accepted. If you look at the path, you'll see that the username placeholder is not expanded. If you add a username to the resource config part in the application config, and if you also have an mdrun you can point to, then it should actually run on localhost...