Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load env #42

Open
fvella opened this issue Sep 1, 2017 · 3 comments
Open

Load env #42

fvella opened this issue Sep 1, 2017 · 3 comments
Assignees

Comments

@fvella
Copy link

fvella commented Sep 1, 2017

Is there some command to load the environment (ie., add LD_LIBRARY_PATHs of the dependencies) for a specific package/program? It could be useful when you debug some program.

Thanks J

@gfursin
Copy link
Member

gfursin commented Sep 3, 2017

Hi @fvella - I believe I did it. You can try the new functionality as following:

$ ck virtual env --tags=caffe
$ ck virtual env:{SOME UID}

It will start a new shell but will reuse all previous environment ...

I also did similar command to jump to a given entry:

$ ck cd {some CK entry}

however you will need to update CK kernel for that ...

If it's ok, please close this ticket! Thanks!

@ens-lg4
Copy link
Contributor

ens-lg4 commented Oct 31, 2018

I believe we now routinely use ck virtual env with tags and combinations of tags, so this ticket looks like resolved to me.

@gfursin
Copy link
Member

gfursin commented Oct 31, 2018

Actually, there is one more thing which I think could be useful (unless I did it already, but I think it was just in ToDo). When we run a program "ck run program:{something}" it would be great to add some flag (like --virtual) which would preload all dependencies, but then rather than running the command line, will just open this virtual environment ... I had such need several times already... So I would keep this ticket for that ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants