Hello:
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
----------scrips--------------------------------
from modeller import * from modeller.automodel import * from modeller.parallel import *
j = job()
j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave()) j.append(local_slave())
env = environ(rand_seed=-6666, restyp_lib_file='$(LIB)/restyp.lib', copy=None) log.verbose()
# Give less weight to all soft-sphere restraints: env.schedule_scale = physical.values(default=1.0, soft_sphere=0.7) env.io.atom_files_directory = ['/usr/lib/modeller9.10/bin', '/media/sf_Documents/EPFL/02-modeller/EV/1']
# Read in HETATM records from template PDBs env.io.hetatm = True
a = automodel(env, alnfile='test.ali', knowns=('MyA'), sequence='test', a.starting_model = 1 a.ending_model = 200
a.use_parallel_job(j) a.make()