@classmethod
def qsubResourceArg(cls, nCores, memMb):
    """
        When a task is launched using qsub in sge mode, it will call this
        function to specify the requested number of threads and megabytes
        of memory. The returned argument list will be appended to the qsub
        arguments.

        nCores -- number of threads requested
        memMb -- memory requested (in megabytes)
        """
    nCores = int(nCores)
    memMb = int(memMb)
    return cls._qsubResourceArgConfig(nCores, memMb)
