-
Notifications
You must be signed in to change notification settings - Fork 15
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
project site feedback #11
Comments
On Servers
#!/bin/sh -e
sleep 30
_IP=$(hostname -I)
printf "My IP address is %s\n" "$_IP"
dispynode.py -i $_IP --daemon
On client
import dispy, random, socket
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("8.8.8.8", 80))
cluster = dispy.JobCluster(compute,ip_addr=s.getsockname()[0], nodes='192.168.1.*') |
Another few additions: On Servers
-d to enable debugging On client
loglevel=dispy.logger.DEBUG to update the log level. This was very helpful as I worked through some issues with the older project site instructions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
URL: /en/projects/build-an-octapi/5 This doesn't work with the latest version of Raspbian (July 2019). It seems dispy and pycos only work really with Python2.7 or Python3.1. The latest Raspbian comes with Python3.7. From here ... https://github.com/pgiri/dispy I switched to using Python2.7 and I don't get the errors I was getting before, but it still doesn't work. I wondered if you had any more information? I'm trying to get this running for my daughter's school project. Appreciate any help if you've gone through this already. ([email protected])
The text was updated successfully, but these errors were encountered: