Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
esde
machine-learning
MLAir
Commits
1aa97e17
Commit
1aa97e17
authored
5 years ago
by
Felix Kleinert
Browse files
Options
Downloads
Patches
Plain Diff
include check for JUWELS compute and login nodes
parent
da93a945
No related branches found
No related tags found
3 merge requests
!125
Release v0.10.0
,
!124
Update Master to new version v0.10.0
,
!97
Felix issue106 hpc modules for juwels
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
requirements_JUWELS_outcommented.txt
+1
-1
1 addition, 1 deletion
requirements_JUWELS_outcommented.txt
src/helpers.py
+4
-2
4 additions, 2 deletions
src/helpers.py
src/run_modules/experiment_setup.py
+1
-1
1 addition, 1 deletion
src/run_modules/experiment_setup.py
with
6 additions
and
4 deletions
requirements_JUWELS_outcommented.txt
+
1
−
1
View file @
1aa97e17
...
...
@@ -22,7 +22,7 @@ importlib-metadata==1.5.0
# kiwisolver==1.1.0 # in SciPy-Stack
# locket==0.2.0 # in Jupyter
# Markdown==3.2.1 # in TF
#
matplotlib==3.2.0 # in SciPy-Stack
matplotlib==3.2.0 # in SciPy-Stack
# mock==4.0.1 # in Python
# more-itertools==8.2.0 # in Python
# numpy==1.18.1 # in SciPy-Stack
...
...
This diff is collapsed.
Click to expand it.
src/helpers.py
+
4
−
2
View file @
1aa97e17
...
...
@@ -8,6 +8,7 @@ import datetime as dt
import
logging
import
math
import
os
import
getpass
import
socket
import
sys
import
time
...
...
@@ -104,7 +105,8 @@ def get_host():
def
prepare_host
(
create_new
=
True
,
sampling
=
"
daily
"
):
hostname
=
socket
.
gethostname
()
try
:
user
=
os
.
getlogin
()
# user = os.getlogin()
user
=
getpass
.
getuser
()
except
OSError
:
user
=
"
default
"
if
hostname
==
"
ZAM144
"
:
...
...
@@ -115,7 +117,7 @@ def prepare_host(create_new=True, sampling="daily"):
path
=
f
"
/home/
{
user
}
/machinelearningtools/data/toar_
{
sampling
}
/
"
elif
(
len
(
hostname
)
>
2
)
and
(
hostname
[:
2
]
==
"
jr
"
):
path
=
f
"
/p/project/cjjsc42/
{
user
}
/DATA/toar_
{
sampling
}
/
"
elif
(
len
(
hostname
)
>
2
)
and
(
hostname
[:
2
]
==
"
jw
"
):
elif
(
len
(
hostname
)
>
2
)
and
(
hostname
[:
2
]
in
[
'
jw
'
,
'
ju
'
]
):
path
=
f
"
/p/home/jusers/
{
user
}
/juwels/intelliaq/DATA/toar_
{
sampling
}
/
"
elif
"
runner-6HmDp9Qd-project-2411-concurrent
"
in
hostname
:
path
=
f
"
/home/
{
user
}
/machinelearningtools/data/toar_
{
sampling
}
/
"
...
...
This diff is collapsed.
Click to expand it.
src/run_modules/experiment_setup.py
+
1
−
1
View file @
1aa97e17
...
...
@@ -24,7 +24,7 @@ DEFAULT_VAR_ALL_DICT = {'o3': 'dma8eu', 'relhum': 'average_values', 'temp': 'max
DEFAULT_TRANSFORMATION
=
{
"
scope
"
:
"
data
"
,
"
method
"
:
"
standardise
"
,
"
mean
"
:
"
estimate
"
}
DEFAULT_PLOT_LIST
=
[
"
PlotMonthlySummary
"
,
"
PlotStationMap
"
,
"
PlotClimatologicalSkillScore
"
,
"
PlotTimeSeries
"
,
"
PlotCompetitiveSkillScore
"
,
"
PlotBootstrapSkillScore
"
,
"
plot_conditional_quantiles
"
]
DEFAULT_HPC_HOST_LIST
=
[
"
jw
"
,
"
jr
"
]
#first part of node names for Juwels (jw) and Jureca(jr).
DEFAULT_HPC_HOST_LIST
=
[
"
jw
"
,
"
ju
"
,
"
jr
"
]
#first part of node names for Juwels (jw
[comp], ju[login]
) and Jureca(jr).
class
ExperimentSetup
(
RunEnvironment
):
...
...
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