On 2/18/12 1:27 AM, albert wrote: > I am trying to run modeller with following scrips, but it said in terminal: > > ----log------------ > EV/1% Traceback (most recent call last): > File "model.py", line 6, in <module> > j = job() > File "/usr/lib64/python2.7/site-packages/modeller/parallel/job.py", line > 24, in __init__ > self.host = socket.gethostbyname_ex(socket.gethostname())[-1][0] > socket.gaierror: [Errno -2] Name or service not known
Replace j = job() with j = job(host='localhost')
By default, Modeller tries to determine the hostname of your machine so that slaves on other machines can connect to it. If you don't have network connectivity, this will fail with an error like the above.
See also http://salilab.org/modeller/9.10/manual/node436.html
Ben Webb, Modeller Caretaker