Discussion:
[theano-users] Deleting .theano each time I change server/machine/node
André L
2017-06-30 12:54:17 UTC
Permalink
*Context of the issue *

I work with Theano in my university server via SSH and with virtualenv.
I dont have admin privileges.
I can access several servers.

Normally i work in server "D". But when i tried running the same experiment
on server "R", it failed with illegal instruction. So i deleted the .theano
folder and it worked.
However, when if i want to run again on server "D", i must delete .theano
folder again.


*Problem:*
How can i have theano working on two different machines without deleting
.theano each time i change server? Also, what if i want to run a theano
code in server "D" and also in server "R" at the same time?


*According to Daniel Renshaw:*


*Now I look at the documentation I see that the full directory determined
by the compiledir_format flag includes details that should, I would have
thought, ensured that your compiled bits were kept separate on the two
different architectures. Not idea why it isn't working. However, if you
set base_compiledir differently on each machine you'll ensure each gets its
own compilation cache.*


However, i cant have two .locals since im no admin and im always logging
via SSH with the same user.

What should I do ?




References :

<goog_72162722>
https://stackoverflow.com/questions/29338016/import-theano-gets-illegal-instruction

https://groups.google.com/forum/#!searchin/theano-users/.local$20different$20computer|sort:relevance/theano-users/MxPMjrt-ZB8/930HYOa6BAAJ
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2017-06-30 20:18:22 UTC
Permalink
You can use this Theano flags to append to the default compiledir the
hostname. This way you will have one for each computer, but it still will
be in your home:

compiledir_formet="compiledir_%(short_platform)s-%(processor)s-%(python_version)s-%(python_bitwidth)s-%(hostname)s

But you can go simplet, change the base compiledir to be local to each
computer:

base_compiledir=/tmp/%(user)s/theano_base_compiledir

Fred
Post by André L
*Context of the issue *
I work with Theano in my university server via SSH and with virtualenv.
I dont have admin privileges.
I can access several servers.
Normally i work in server "D". But when i tried running the same
experiment on server "R", it failed with illegal instruction. So i deleted
the .theano folder and it worked.
However, when if i want to run again on server "D", i must delete .theano
folder again.
*Problem:*
How can i have theano working on two different machines without deleting
.theano each time i change server? Also, what if i want to run a theano
code in server "D" and also in server "R" at the same time?
*According to Daniel Renshaw:*
*Now I look at the documentation I see that the full directory determined
by the compiledir_format flag includes details that should, I would have
thought, ensured that your compiled bits were kept separate on the two
different architectures. Not idea why it isn't working. However, if you
set base_compiledir differently on each machine you'll ensure each gets its
own compilation cache.*
However, i cant have two .locals since im no admin and im always logging
via SSH with the same user.
What should I do ?
<http://goog_72162722>
https://stackoverflow.com/questions/29338016/import-theano-gets-illegal-instruction
https://groups.google.com/forum/#!searchin/theano-users/.local$20different$20computer|sort:relevance/theano-users/MxPMjrt-ZB8/930HYOa6BAAJ
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...