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

Blank space in remote_environment variable generates blank export command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master, 4.8.1
    • Fix Version/s: master, 4.9.0, 4.8.2
    • Component/s: None
    • Labels:
      None

      Description

      For example:

      ```
      +remote_environment = "LD_PRELOAD=/usr/local/lib/libdarshan.so CONDOR_JOBID=$(cluster).$(process) PEGASUS_WF_UUID=fd20139e-83e0-40e2-b818-eb72400ad9ce PEGASUS_WF_LABEL=namd_monitoring_test PEGASUS_DAG_JOB_ID=namd_ID0000001 PEGASUS_SITE=local-slurm _PEGASUS_SCRATCH_DIR=/shared/shared-scratch/panorama/pegasus/namd_monitoring_test/run0001 PEGASUS_SCRATCH_DIR=/shared/shared-scratch/panorama/pegasus/namd_monitoring_test/run0001 PEGASUS_NODES=1 PEGASUS_RUNTIME=30000 PEGASUS_CORES=4 PEGASUS_QUEUE=debug "
      ```

      would generate a SLURM submit file with:
      ```
      export ""
      ```

      which results in an execution error for slurm

        Attachments

          Activity

            People

            • Assignee:
              vahi Karan Vahi
              Reporter:
              rafsilva Rafael FerreiraDaSilva
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: