Skip to content

Commit

Permalink
Merge pull request #11126 from todor-ivanov/feature_Add_T3_US_Lancuim…
Browse files Browse the repository at this point in the history
…_fix-11125

Add T3_US_Lancium to resource-control.
  • Loading branch information
amaltaro authored May 3, 2022
2 parents 5abb5af + dd24a37 commit eda31a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/addUSOpportunistic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PEND_JOBS=3000
RUNN_JOBS=3000
# default manage location
manage=/data/srv/wmagent/current/config/wmagent/manage
for site in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil};
for site in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_US_Lancium};
do
echo "Adding site: $site into the resource-control with $PEND_JOBS pending and $RUNN_JOBS running slots"
$manage execute-agent wmagent-resource-control --site-name=$site --cms-name=$site --ce-name=$site --pnn=$site --plugin=SimpleCondorPlugin --pending-slots=1000 --running-slots=1000;
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy-wmagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ echo "Done!" && echo
echo "*** Setting up US opportunistic resources ***"
if [[ "$HOSTNAME" == *fnal.gov ]]; then
sed -i "s+forceSiteDown = \[\]+forceSiteDown = \[$FORCEDOWN\]+" $MANAGE_DIR/config.py
for resourceName in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_ES_PIC_BSC};
for resourceName in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_US_Lancium,T3_ES_PIC_BSC};
do
./manage execute-agent wmagent-resource-control --plugin=SimpleCondorPlugin --opportunistic \
--pending-slots=$HPC_PEND_JOBS --running-slots=$HPC_RUNN_JOBS --add-one-site $resourceName
Expand Down

0 comments on commit eda31a4

Please sign in to comment.