mesos/mesos — Issue #171: Error in torque scripts
Author: tel574
Created: 2011-12-15 14:05:52+00:00
State: open

Hi

I'm trying to running the torque framework, but when I execute the script torquesched.py it doesn't work. I have looked the code and i think the problem is that torque scripts use the older API for framework. I have tried with the following lines:

frameworkDir = os.path.dirname(args[0])
execPath = os.path.join(frameworkdir, "satart_pbs_mom.sh")
execInfo = mesos_pb2.ExecutorInfo()
execInfo.executor_id.value = "default"
execInfo.uri = execPath
mesos.MesosSchedulerDriver(sched, "Torque", execinfo, args[0]).run()

But I don't know how to change the resourceOffers funtion or if i have to change something more.

Thanks