Blank space in remote_environment variable generates blank export command

XMLWordPrintable

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

      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

            Assignee:
            Karan Vahi
            Reporter:
            Rafael Ferreira Da Silva (Inactive)
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: