Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
6fe16501
Commit
6fe16501
authored
15 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
bug 1362: start/stopBGL now work for any specified partition
parent
601e87a7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAC/APL/Appl_Controller/startBGL.sh
+2
-1
2 additions, 1 deletion
MAC/APL/Appl_Controller/startBGL.sh
MAC/APL/Appl_Controller/stopBGL.sh
+5
-1
5 additions, 1 deletion
MAC/APL/Appl_Controller/stopBGL.sh
with
7 additions
and
2 deletions
MAC/APL/Appl_Controller/startBGL.sh
+
2
−
1
View file @
6fe16501
...
@@ -14,11 +14,12 @@
...
@@ -14,11 +14,12 @@
# startBGL starts specific CEP run scripts directly
# startBGL starts specific CEP run scripts directly
PARSET
=
/opt/lofar/share/CNProc.parset
PARSET
=
/opt/lofar/share/CNProc.parset
PARTITION
=
$2
sed
-i
's/.*OLAP.CNProc.integrationSteps.*//'
$PARSET
sed
-i
's/.*OLAP.CNProc.integrationSteps.*//'
$PARSET
sed
-i
's/.*OLAP.IONProc.integrationSteps.*//'
$PARSET
sed
-i
's/.*OLAP.IONProc.integrationSteps.*//'
$PARSET
/opt/lofar/bin/runParset.py
-P
R00
parset
=
$PARSET
>>
/globalhome/lofarsystem/log/run.runParset.py.log 2>&1 &
/opt/lofar/bin/runParset.py
-P
$PARTITION
parset
=
$PARSET
>>
/globalhome/lofarsystem/log/run.runParset.py.log 2>&1 &
#echo "executing /usr/local/bin/submitjob $2 $3 $4 virtual_node_mode BGLMPI_SIZE=$6 ACC $5" > startBGL.output
#echo "executing /usr/local/bin/submitjob $2 $3 $4 virtual_node_mode BGLMPI_SIZE=$6 ACC $5" > startBGL.output
#/usr/local/bin/submitjob $2 $3 $4 virtual_node_mode BGLMPI_SIZE=$6 ACC $5 2>&1 | awk '{split($1, a, "="); print a[2];}' > $1.jobID
#/usr/local/bin/submitjob $2 $3 $4 virtual_node_mode BGLMPI_SIZE=$6 ACC $5 2>&1 | awk '{split($1, a, "="); print a[2];}' > $1.jobID
...
...
This diff is collapsed.
Click to expand it.
MAC/APL/Appl_Controller/stopBGL.sh
+
5
−
1
View file @
6fe16501
...
@@ -7,4 +7,8 @@
...
@@ -7,4 +7,8 @@
#echo -n "Killing job " $2
#echo -n "Killing job " $2
#killjob $1 `cat $2.jobID`
#killjob $1 `cat $2.jobID`
#rm -f $2.pid $2.ps
#rm -f $2.pid $2.ps
/opt/lofar/bin/commandOLAP.py
-P
R00 cancel
$2
JOB
=
$2
PARTITION
=
$1
/opt/lofar/bin/commandOLAP.py
-P
$PARTITION
cancel
$JOB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment