Run gridnet

def gridnet(np, pfile, plenfile, tlenfile, gordfile, outlet=None, workingdir=None,
                mpiexedir=None, exedir=None, log_file=None, runtime_file=None, hostfile=None):
        """Run gridnet"""
        fname = TauDEM.func_name('gridnet')
        return TauDEM.run(FileClass.get_executable_fullpath(fname, exedir),
                          {'-p': pfile, '-o': outlet}, workingdir,
                          None,
                          {'-plen': plenfile, '-tlen': tlenfile, '-gord': gordfile},
                          {'mpipath': mpiexedir, 'hostfile': hostfile, 'n': np},
                          {'logfile': log_file, 'runtimefile': runtime_file})