Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
toolbox
WindEnergyToolbox
Commits
e01df4e2
Commit
e01df4e2
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
prepost.dlctemplate: remove confusing launch_param method
parent
43de7cde
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wetb/prepost/dlctemplate.py
+0
-40
0 additions, 40 deletions
wetb/prepost/dlctemplate.py
with
0 additions
and
40 deletions
wetb/prepost/dlctemplate.py
+
0
−
40
View file @
e01df4e2
...
...
@@ -249,46 +249,6 @@ def launch_dlcs_excel(sim_id, silent=False, verbose=False, pbs_turb=True,
mann64
.
gen_pbs
(
cases
)
def
launch_param
(
sim_id
):
"""
Launch parameter variations defined according to the Simulations syntax
"""
# MODEL SOURCES, exchanche file sources
# p_local = '/mnt/vea-group/AED/STABCON/SIM/NREL5MW'
# p_local = '%s/%s' % (P_SOURCE, PROJECT)
# target run dir (is defined in the master_tags)
# p_root = '/mnt/gorm/HAWC2/NREL5MW'
iter_dict
=
dict
()
iter_dict
[
'
[Windspeed]
'
]
=
[
False
]
opt_tags
=
[]
runmethod
=
'
gorm
'
# runmethod = 'local'
# runmethod = 'linux-script'
# runmethod = 'windows-script'
# runmethod = 'jess'
master
=
master_tags
(
sim_id
,
runmethod
=
runmethod
)
master
.
tags
[
'
[hawc2_exe]
'
]
=
'
hawc2-latest
'
master
.
tags
[
'
[sim_id]
'
]
=
sim_id
master
.
output_dirs
.
append
(
'
[Case folder]
'
)
master
.
output_dirs
.
append
(
'
[Case id.]
'
)
# TODO: copy master and DLC exchange files to p_root too!!
# all tags set in master_tags will be overwritten by the values set in
# variable_tag_func(), iter_dict and opt_tags
# values set in iter_dict have precedence over opt_tags
# variable_tag_func() has precedense over iter_dict, which has precedence
# over opt_tags. So opt_tags comes last
sim
.
prepare_launch
(
iter_dict
,
opt_tags
,
master
,
variable_tag_func
,
write_htc
=
True
,
runmethod
=
runmethod
,
verbose
=
False
,
copyback_turb
=
False
,
msg
=
''
,
update_cases
=
False
,
ignore_non_unique
=
False
,
run_only_new
=
False
,
pbs_fname_appendix
=
False
,
short_job_names
=
False
)
def
post_launch
(
sim_id
,
statistics
=
True
,
rem_failed
=
True
,
check_logs
=
True
,
force_dir
=
False
,
update
=
False
,
saveinterval
=
2000
,
csv
=
False
,
m
=
[
1
,
3
,
4
,
5
,
6
,
8
,
10
,
12
,
14
],
neq
=
None
,
no_bins
=
46
,
...
...
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