Skip to content
GitLab
Explore
Sign in
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
0942bb05
Commit
0942bb05
authored
15 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
bug 1362: production rundir is now /opt/lofar/share
parent
09f63d04
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
RTCP/Run/src/LOFAR/Locations.py
+29
-25
29 additions, 25 deletions
RTCP/Run/src/LOFAR/Locations.py
RTCP/Run/src/runOLAP.py
+1
-1
1 addition, 1 deletion
RTCP/Run/src/runOLAP.py
with
30 additions
and
26 deletions
RTCP/Run/src/LOFAR/Locations.py
+
29
−
25
View file @
0942bb05
...
@@ -33,6 +33,31 @@ class Locations:
...
@@ -33,6 +33,31 @@ class Locations:
"
Storage
"
:
"
gnu_openmpi-opt
"
,
"
Storage
"
:
"
gnu_openmpi-opt
"
,
}
)
}
)
self
.
files
.
update
(
{
# allows ${HOME} to be resolved in other paths
"
home
"
:
homeDir
(),
# the parset that will be written by us and read by the sections
# the observation ID is included to allow parallel observations
"
parset
"
:
"
${RUNDIR}/RTCP-${MSNUMBER}.parset
"
,
# where to store logs
"
logdir
"
:
"
/log/L${YEAR}_${MSNUMBER}
"
,
# where to start the executables. rundir needs to be reachable
# for all sections.
"
rundir
"
:
"
${BASEDIR}
"
,
# locations of the observation id counter and tables
"
mslist
"
:
"
/log/MSList
"
,
"
nextmsnumber
"
:
"
/log/nextMSNumber
"
,
}
)
self
.
nodes
.
update
(
{
# on which node to start the mpirun for Storage
"
storagemaster
"
:
"
listfen
"
,
}
)
if
self
.
isproduction
:
if
self
.
isproduction
:
self
.
files
.
update
(
{
self
.
files
.
update
(
{
# the base directory most paths will be related to
# the base directory most paths will be related to
...
@@ -42,6 +67,10 @@ class Locations:
...
@@ -42,6 +67,10 @@ class Locations:
"
cnproc
"
:
"
${BASEDIR}/bin/CN_Processing
"
,
"
cnproc
"
:
"
${BASEDIR}/bin/CN_Processing
"
,
"
ionproc
"
:
"
${BASEDIR}/bin/IONProc
"
,
"
ionproc
"
:
"
${BASEDIR}/bin/IONProc
"
,
"
storage
"
:
"
${BASEDIR}/bin/Storage
"
,
"
storage
"
:
"
${BASEDIR}/bin/Storage
"
,
# where to start the executables. rundir needs to be reachable
# for all sections.
"
rundir
"
:
"
${BASEDIR}/share
"
,
}
)
}
)
self
.
nodes
.
update
(
{
self
.
nodes
.
update
(
{
...
@@ -66,31 +95,6 @@ class Locations:
...
@@ -66,31 +95,6 @@ class Locations:
"
logserver
"
:
""
,
"
logserver
"
:
""
,
}
)
}
)
self
.
files
.
update
(
{
# allows ${HOME} to be resolved in other paths
"
home
"
:
homeDir
(),
# the parset that will be written by us and read by the sections
# the observation ID is included to allow parallel observations
"
parset
"
:
"
${RUNDIR}/RTCP-${MSNUMBER}.parset
"
,
# where to store logs
"
logdir
"
:
"
/log/L${YEAR}_${MSNUMBER}
"
,
# where to start the executables. rundir needs to be reachable
# for all sections.
"
rundir
"
:
"
${BASEDIR}
"
,
# locations of the observation id counter and tables
"
mslist
"
:
"
/log/MSList
"
,
"
nextmsnumber
"
:
"
/log/nextMSNumber
"
,
}
)
self
.
nodes
.
update
(
{
# on which node to start the mpirun for Storage
"
storagemaster
"
:
"
listfen
"
,
}
)
def
setFilename
(
self
,
name
,
path
):
def
setFilename
(
self
,
name
,
path
):
self
.
files
[
name
]
=
path
self
.
files
[
name
]
=
path
...
...
This diff is collapsed.
Click to expand it.
RTCP/Run/src/runOLAP.py
+
1
−
1
View file @
0942bb05
...
@@ -139,7 +139,7 @@ if __name__ == "__main__":
...
@@ -139,7 +139,7 @@ if __name__ == "__main__":
psgroup
.
add_option
(
"
-s
"
,
"
--starttime
"
,
psgroup
.
add_option
(
"
-s
"
,
"
--starttime
"
,
dest
=
"
starttime
"
,
dest
=
"
starttime
"
,
type
=
"
string
"
,
type
=
"
string
"
,
default
=
"
+0
0:00:15
"
,
default
=
"
+
3
0
"
,
help
=
"
set the start time (syntax: timestamp, [YYYY-MM-DD] HH:MM[:SS], +seconds or +HH:MM[:SS]) [%default]
"
)
help
=
"
set the start time (syntax: timestamp, [YYYY-MM-DD] HH:MM[:SS], +seconds or +HH:MM[:SS]) [%default]
"
)
psgroup
.
add_option
(
"
-r
"
,
"
--runtime
"
,
psgroup
.
add_option
(
"
-r
"
,
"
--runtime
"
,
...
...
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