spearmint icon indicating copy to clipboard operation
spearmint copied to clipboard

SGE Driver Requires Fully Qualified Path for main.py

Open cancan101 opened this issue 10 years ago • 1 comments

This does not work:

python main.py --driver=sge ...

It results in this error in stderr:

python: can't open file 'main.py': [Errno 2] No such file or directory

rather this does work:

python /home/ubuntu/git/spearmint/spearmint/spearmint/main.py --driver=sge

cancan101 avatar Oct 13 '14 02:10 cancan101

Thanks for letting me know. I'll take a look. In the meantime, you can also use 'spearmint' in the bin subdirectory https://github.com/JasperSnoek/spearmint/blob/master/spearmint/bin/spearmint. e.g. navigate to the bin subdirectory and type: ./spearmint ../examples/braninpy/config.pb --driver=sge --method=GPEIOptChooser --method-args=noiseless=1

JasperSnoek avatar Oct 14 '14 02:10 JasperSnoek