Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
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
Container registry
Model registry
Operate
Environments
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
TurTLE
TurTLE
Commits
9fdf9a0f
Commit
9fdf9a0f
authored
8 years ago
by
Berenger Bramas
Browse files
Options
Downloads
Patches
Plain Diff
ask a htlm report to scope timers and update batch control
parent
5a8d39be
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!21
Bugfix/nansampling
,
!3
Bugfix/event manager show html
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bfps/_code.py
+5
-2
5 additions, 2 deletions
bfps/_code.py
with
5 additions
and
2 deletions
bfps/_code.py
+
5
−
2
View file @
9fdf9a0f
...
...
@@ -130,6 +130,7 @@ class _code(_base):
#ifdef USE_TIMINGOUTPUT
global_timer_manager.show(MPI_COMM_WORLD);
global_timer_manager.showMpi(MPI_COMM_WORLD);
global_timer_manager.showHtml(MPI_COMM_WORLD);
#endif
MPI_Finalize();
return EXIT_SUCCESS;
...
...
@@ -353,7 +354,7 @@ class _code(_base):
'
\n
'
)
script_file
.
write
(
'
echo
"
Start time is `date`
"
\n
'
)
script_file
.
write
(
'
cd
'
+
self
.
work_dir
+
'
\n
'
)
script_file
.
write
(
'
cp -s ../*.h5 ./
\n
'
)
#
script_file.write('cp -s ../*.h5 ./\n')
script_file
.
write
(
'
poe
'
+
os
.
path
.
join
(
self
.
work_dir
,
...
...
@@ -424,7 +425,7 @@ class _code(_base):
'
\n
'
)
script_file
.
write
(
'
echo
"
This is step $LOADL_STEP_ID out of {0}
"
\n
'
.
format
(
njobs
))
script_file
.
write
(
'
echo
"
Start time is `date`
"
\n
'
)
script_file
.
write
(
'
cp -s ../*.h5 ./
\n
'
)
#
script_file.write('cp -s ../*.h5 ./\n')
script_file
.
write
(
'
cd
'
+
self
.
work_dir
+
'
\n
'
)
script_file
.
write
(
'
poe
'
+
os
.
path
.
join
(
...
...
@@ -531,6 +532,8 @@ class _code(_base):
'
:
'
.
join
([
bfps
.
lib_dir
]
+
bfps
.
install_info
[
'
library_dirs
'
])
+
'
\n
'
)
script_file
.
write
(
'
echo
"
Start time is `date`
"
\n
'
)
script_file
.
write
(
'
cd
'
+
self
.
work_dir
+
'
\n
'
)
script_file
.
write
(
'
export HTMLOUTPUT={}.html
\n
'
.
format
(
command_atoms
[
-
1
]))
script_file
.
write
(
'
srun {0}
\n
'
.
format
(
'
'
.
join
(
command_atoms
)))
script_file
.
write
(
'
echo
"
End time is `date`
"
\n
'
)
script_file
.
write
(
'
exit 0
\n
'
)
...
...
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