Hi!
I am currently trying to get scoop to work on my desktop+laptop. (Scoop: 0.7.1, Python 2.7.6)
I try to launch scoop this way:
python -m scoop --hostfile scoop_hostfile deap_tutorial.py
However I get:
[2014-06-25 00:09:41,820] __main__ INFO Worker(s) launched using /bin/zsh
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/bootstrap/__main__.py", line 302, in <module>
b.main()
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/bootstrap/__main__.py", line 92, in main
self.run()
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/bootstrap/__main__.py", line 290, in run
futures_startup()
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/bootstrap/__main__.py", line 271, in futures_startup
run_name="__main__"
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/futures.py", line 64, in _startup
result = _controller.switch(rootFuture, *args, **kargs)
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/_control.py", line 176, in runController
execQueue = FutureQueue()
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/_types.py", line 256, in __init__
self.socket = Communicator()
File "/home/szebenyib/.virtualenvs/gp/lib/python2.7/site-packages/scoop/_comm/scoopzmq.py", line 62, in __init__
s.connect((scoop.BROKER.externalHostname, scoop.BROKER.task_port))
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -2] Name or service not known
[2014-06-25 00:09:51,063] launcher (
127.0.0.1:60534) INFO Finished cleaning spawned subprocesses.
I can log in with ssh using .ssh/config as described in the tutorial. After login I can run on the remote machine the necessary python files (tested it, because I had previously permission failures, but solved those by putting my .virtualenvs directory there readable for the separate user I created for scoop). I have also tried to use the same user (same virtualenv, same directory structure) on both machines - to no avail. In my ssh config I connect directly by ip on my local network, so I guess this cannot be a router problem.
I really don't know why there is a networking problem here.
Can you please help me with it?