Skip to content

Commit

Permalink
example how to run a session
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jan 10, 2025
1 parent 0fbbf6f commit 190a43b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions examples/test_session1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#! /usr/bin/env bash
#
# Bench Example of running bench1 in a new session
# This should emulate the workflow the webrun (pipeline_web) operates.
# Takes about 1 minute to run.

set +x

# define the PID (ProjectID) and the PIS (Session number)
PID=2014ARSRCommissioning
PIS=1

# start from scratch
export WORK_LMT=$WORK_LMT_BASE/$PID/Session-$PIS
mkdir -p $WORK_LMT
cd $WORK_LMT

# get the infrastructure set up just for this PID
lmtoy_run $PID
cd lmtoy_run/lmtoy_$PID
make runs

# no parameter editing here, this is just proof of concept

# run some pipelines and a combo
SLpipeline.sh obsnum=33551 linecheck=1 restart=1
SLpipeline.sh obsnum=33552 linecheck=1 restart=1
SLpipeline.sh obsnums=33551,33552 restart=1
make summary

0 comments on commit 190a43b

Please sign in to comment.