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

User supplied env setup script for lite


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

      We need a way to control the environment in Pegasus Lite. This could be used to set up the extra environment needed for some transfer clients.

      It needs be able to handle dynamic cases based on the node the jobs starts on, which implies sourcing a script.

      The script needs to be transferred with transfer_input_files as it is needed to setup the environment for other transfers. This is similar to how we transfer credentials.

      One approach would be env var in the site catalog (PEGASUS_LITE_ENV_SCRIPT?), which is then transferred to the site, and if Pegasus Lite sees the script, sources it early on in the process.

            vahi Karan Vahi
            rynge Mats Rynge
            3 Start watching this issue