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

pegasus-cluster does not run binaries without path

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master, 4.0
    • master, 4.0
    • None
    • None

    Description

      pegasus lite requires that we do not put full paths in the wrapper, as the location of the worker package is determined at run time. Example from a job:

      pegasus-cluster 1>&2 << EOF
      #@ 1 mProjectPP:3.3 ID000156
      pegasus-kickstart -n mProjectPP:3.3 -N ID000156 -R CCG -L montage -T 2011-11-04T18:39:56-07:00 /ccg/software/montage/Montage_v3.3_mats/bin/mProjectPP -X -x 0.99376 2mass-atlas-990502s-j1430127.fits p2mass-atlas-990502s-j1430127.fits big_region_20111104_155810_30472.hdr
      EOF

      This fails because pegasus-cluster is not checking the PATH for pegasus-kickstart:

      $ which pegasus-kickstart
      /ccg/software/pegasus/dev/trunk/bin/pegasus-kickstart
      $ echo pegasus-kickstart | /ccg/software/pegasus/dev/trunk/bin/pegasus-cluster
      pegasus-cluster: exec pegasus-kickstart: 2: No such file or directory
      [seqexec-task id=1, start="2011-11-04T18:56:54.917-07:00", duration=0.000, status=32512, line=1, pid=19524, app="pegasus-kickstart"]
      [seqexec-summary stat="ok", lines=1, tasks=1, succeeded=0, failed=1, extra=0, duration=0.000, start="2011-11-04T18:56:54.917-07:00", pid=19523, app="/ccg/software/pegasus/dev/trunk/bin/pegasus-cluster"]


      Attachments

        Activity

          People

            rynge-page Mats Rynge [X] (Inactive)
            rynge-page Mats Rynge [X] (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m