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
9455e879
There was a problem fetching the pipeline summary.
Commit
9455e879
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
keep fine tuning the how-to-dlcs
parent
09407ce5
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/howto-make-dlcs.md
+8
-10
8 additions, 10 deletions
docs/howto-make-dlcs.md
with
8 additions
and
10 deletions
docs/howto-make-dlcs.md
+
8
−
10
View file @
9455e879
...
...
@@ -199,26 +199,24 @@ Method A: Generating htc input files on the cluster
Use ssh (Linux, Mac) or putty (MS Windows) to connect to the cluster.
With qsub-wrap.py the user can wrap a PBS launch script around any executable or
Python/Matlab/... script. In doing so, the executable/Python script will be
immediately submitted to the cluster for execution. By default, the Anaconda
Python environment in ```/home/MET/STABCON/miniconda``` will be activated. The
Anaconda Python environment is not relevant, and can be safely ignored, if the
executable does not have anything to do with Python.
In order to see the different options of this qsub-wrap utility, do:
With qsub-wrap.py will be used to create a job for the cluster that will run
the htc file generator within the correct environment Python environment. A
emplate for such a file, which works for standard DLBs, can be found here:
```
g-000 $ qsub-wrap.py --help
/home/MET/STABCON/repositories/toolbox/WindEnergyToolbox/wetb/prepost/dlctemplate.py
```
For example, in order to generate the default IEC DLCs:
```
g-000 $ cd path/to/HAWC2/model # folder where the hawc2 model is located
g-000 $ qsub-wrap.py -f /home/MET/STABCON/repositories/prepost/dlctemplate.py
-c python
--prep
g-000 $ qsub-wrap.py -f /home/MET/STABCON/repositories/
toolbox/WindEnergyToolbox/wetb/
prepost/dlctemplate.py --prep
```
You could consider copying the template into the HAWC2 model folder to avoid
typing such a long command over and over again.
Note that the following folder structure for the HAWC2 model is assumed:
```
...
...
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