Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • startR startR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • startRstartR
  • Issues
  • #207
Closed
Open
Issue created Jan 08, 2025 by vagudets@vagudetsMaintainer

ByChunks(): Execution of 'autosubmit expid' is not consistent with 'autosubmit create' and 'autosubmit run'

ByChunks_autosubmit.R has the parameter autosubmit_server:

#'@param autosubmit_server A character vector indicating the login node of the 
#'  autosubmit machine. It can be "bscesautosubmit01" or "bscesautosubmit02". 
#'  The default value is NULL, and the node will be randomly chosen.

When an experiment is run, the function connects via ssh to the autosubmit_server and runs the autosubmit create <expid> and autosubmit run <expid> commands.

If an Autosubmit expid is not specified, the function is supposed to create an experiment for the user by running the autosubmit expid command. However, this command is run locally, without connecting to autosubmit_server first, and therefore it will not work if the autosubmit module is not already available.

These differences lead to the workflow not running smoothly if the experiment is not previously created.

Since there are also cases where one can run autosubmit outside of the bscesautosubmit0x machines, which will be decomissioned at some point in the future, ByChunks() should be modified to:

  1. If autosubmit_server is NULL, the commands should be run locally instead of ssh-ing to one of the machines randomly.
  2. Run the expid, create and run commands in a consistent way on the same machine.
Edited Feb 13, 2025 by vagudets
Assignee
Assign to
Time tracking