Skip to content

Commit

Permalink
fix when using FFB, actually call makepeds_psana on analysis system o…
Browse files Browse the repository at this point in the history
…f choice
  • Loading branch information
silkenelson committed Mar 25, 2021
1 parent ad80c58 commit 81e23d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/makepeds
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,15 @@ else
if [[ $USER =~ "opr" ]]; then
printf "Please enter user name (cannot run as from operator account): \n"; read USER
fi
if [[ $FFB -eq 0 ]]; then

if [[ $FFB == 1 ]]; then
echo calling on FFB system: makepeds_psana $@
echo ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@"
#ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@"
ssh -Y $USER@psdev ssh -Y psffb "$DIR/makepeds_psana $@"
else
echo calling on offline system: makepeds_psana $@
echo ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@"
#ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@"
ssh -Y $USER@psdev ssh -Y psana "$DIR/makepeds_psana $@"
fi
fi

Expand Down

0 comments on commit 81e23d0

Please sign in to comment.