Comments (4)
Andre - @drelu will definitely have a better answer than me, but as you already probably know, the bootstrap is failing.
My only question was - are you trying to bootstrap (i.e. is the target) a non-traditional resource?
If it is your localhost (and you need to get up and running before AL has a chance to look at this), put your BigJob executable in the virtualenv $HOME/.bigjob/python instead of $HOME/.bigjob. BigJob only tries to bootstrap itself onto resources where it does not detect a bigjob in $HOME/.bigjob/python. I don't know if this is entirely making sense. What I am trying to say is instead of:
virtualenv $HOME/.bigjob
source $HOME/.bigjob/bin/activate
you say:
virtualenv $HOME/.bigjob/python
source $HOME/.bigjob/python/bin/activate
In the meantime, I will have a look at the bootstrap script. Also, if you're submitting to a different target host, then my previous comments are irrelevant. Also I am not trying to comment on the "correctness" of things, I am just providing a viable workaround for the localhost scenario.
from bigjob.
Melissa, thanks for the quick reply!
I indeed try on localhost at the moment -- thus a very traditional resource ;)
I am not sure I understood your workaround though, I'm afraid. I am nowhere doing source $HOME/.bigjob/bin/activate
-- so not sure where to replace that. A virtualenv in $HOME/.bigjob/python
seems to exist, and can be sourced -- but I am using a different VE for my stuff. So, do I need to source this one? Also, what do you mean with put your BigJob executable in the virtualenv $HOME/.bigjob/python instead of $HOME/.bigjob
-- the only other thing in $HOME/.bigjob
, besides python/
, is bigjob-bootstrap.py
-- is that what you mean?
Thanks!
Best, Andre.
from bigjob.
Hi Andre,
The bootstrap script 1. attempts to use BigJob in your PYTHONPATH, if not
found then in 2. $HOME/.bigjob/python and if not found there it is
attempting to download it via the bootstrap script, which seems to fail
here:
python bigjob-bootstrap.py <$PATH>
In your system level Python, what version of setuptools, distribute and
virtualenv do you have?
Thanks,
Andre
On Wed, Nov 20, 2013 at 1:59 AM, Andre Merzky [email protected]:
Melissa, thanks for the quick reply!
I indeed try on localhost at the moment -- thus a very traditional
resource ;)I am not sure I understood your workaround though, I'm afraid. I am
nowhere doing source $HOME/.bigjob/bin/activate -- so not sure where to
replace that. A virtualenv in $HOME/.bigjob/python seems to exist, and
can be sourced -- but I am using a different VE for my stuff. So, do I
need to source this one? Also, what do you mean with put your BigJob
executable in the virtualenv $HOME/.bigjob/python instead of $HOME/.bigjob-- the only other thing in
$HOME/.bigjob, besides python/, is bigjob-bootstrap.py -- is that what
you mean?Thanks!
Best, Andre.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/164#issuecomment-28867556
.
from bigjob.
Thanks! :)
from bigjob.
Related Issues (20)
- error on `easy_install .` HOT 3
- bigjob_agent.py: num_cpus in init_local() is not converted to an integer HOT 2
- BigJob XSEDE'13 tutorial content needs to be recycled into canonical BigJob tutorial HOT 2
- User Manual versus Documentation HOT 1
- Into HOT 2
- specifying debug level
- Special Characters in CUD Argument Strings
- PilotCompute.get_state() never returns 'DONE' after the pilot has finished
- BJ manual: wall_time_limit, number_of_processes HOT 1
- bigjob.conf Default SAGA is Bliss?
- pilot working dir... HOT 1
- bigjob bootstrap fails on india HOT 8
- agent failing to start on hotel
- Wait on PilotData fails if PD not initialized fully
- Allow one CU to write paritial set of output files to Multiple different DUS HOT 1
- Allow multiple CUs to write output files to a single DU. HOT 6
- Allow to pass required files to a CU via input_data CUD attribute. HOT 4
- du.list() should be iterator and shouldn't contain refresh as list() is a readonly..
- KeyError job_dict["state"] + strange DB Entry HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigjob.