Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-661

PMC code generator should generate PBS script

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • master, 4.2
    • Affects Version/s: master
    • Component/s: None
    • None

      For now, so that users know how to submit PMC in a PBS job, when Pegasus plans the workflow in PMC-only mode can Pegasus generate a PBS script that looks like this?:

      #!/bin/bash
      #PBS -l nodes=1:ppn=2
      #PBS -l walltime=1:00:00
      #PBS -o /path/to/submit/dir/WORKFLOW.out
      #PBS -e /path/to/submit/dir/WORKFLOW.err
      #PBS -N WORKFLOW
      cd /path/to/submit/dir
      mpiexec /path/to/pegasus/bin/pegasus-mpi-cluster --jobstate-log --per-task-stdio --max-wall-time 60 WORKFLOW.dag

      Call it WORKFLOW.pbs, where WORKFLOW is the name of the workflow from the DAX and save it in the submit directory. The user can modify it for their environment manually. The important thing is to add the 3 arguments: --jobstate-log, --per-task-stdio, and --max-wall-time.

            Assignee:
            vahi Karan Vahi
            Reporter:
            gideon Gideon Juve (Inactive)
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: