Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
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
iwr
amdis
Commits
4d6c7303
Commit
4d6c7303
authored
15 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
New script to make some statistics from AMDiS output.
parent
5a469373
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
AMDiS/other/scripts/create_statistics
+15
-0
15 additions, 0 deletions
AMDiS/other/scripts/create_statistics
with
15 additions
and
0 deletions
AMDiS/other/scripts/create_statistics
0 → 100755
+
15
−
0
View file @
4d6c7303
#!/bin/bash
grep
"for vecphase->space->feSpace"
${
1
}
&> tmp_dof
awk
'BEGIN {A = 0} {if (A == 0) { print $1; A = 1;} else A = 0}'
tmp_dof &> tmp_dof0
awk
'BEGIN {A = 1} {if (A == 0) { print $1; A = 1;} else A = 0}'
tmp_dof &> tmp_dof1
grep
"timestep = "
${
1
}
|
awk
'{sub(/,/, "", $3); print $3}'
&> tmp_time
grep
"buildAfterCoarsen needed"
${
1
}
|
awk
'{print $3}'
&> tmp_asm_time
grep
"solution of discrete system needed"
${
1
}
|
awk
'{print $6}'
&> tmp_sol_time
grep
"estimation of the error needed"
${
1
}
|
awk
'BEGIN {A = 0} {if (A == 0) A = 1; else print $6}'
&> tmp_est_time
printf
"# time dofs in fe0 dofs in fe1 time asm time sol time est
\n
"
paste
tmp_time tmp_dof0 tmp_dof1 tmp_asm_time tmp_sol_time tmp_est_time
rm
-f
tmp_time tmp_dof0 tmp_dof1 tmp_asm_time tmp_sol_time tmp_est_time
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