Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
Praetorius, Simon
dune-gfe
Commits
7f371c00
Commit
7f371c00
authored
14 years ago
by
Oliver Sander
Committed by
sander@FU-BERLIN.DE
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
support for parallel computations
[[Imported from SVN: r6820]]
parent
3250a985
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dirneu_testsuite/testsuite.sh
+15
-4
15 additions, 4 deletions
dirneu_testsuite/testsuite.sh
with
15 additions
and
4 deletions
dirneu_testsuite/testsuite.sh
+
15
−
4
View file @
7f371c00
...
...
@@ -116,7 +116,7 @@ instrumented = 0
## Dirichlet values
#dirichletValue = 0.125 0.125 2.5
#dirichletAxis
X
= 0 0 1
#dirichletAxis = 0 0 1
#dirichletAngle = 0
...
...
@@ -133,12 +133,14 @@ instrumented = 0
#rodA = 1
# Geometric moments (here: square of edge length one)
#rod
J1 = 0.0833333
#rod
J2 = 0.0833333
#rodJ1 = 0.0833333
#rodJ2 = 0.0833333
# Material parameters
#rodE = 2.5e5
#rodNu = 0.3
#E = 1e6
#nu = 0.3
## Dirichlet values
#dirichletValue = 0.5 1.5 10
...
...
@@ -194,6 +196,7 @@ EOF
# run problems
MAXPROCS
=
4
for
level
in
2
;
do
#for level in 1 2 3 4; do
...
...
@@ -205,14 +208,22 @@ for level in 2; do
fi
for
damping
in
0.6
;
do
# for damping in 0.1 0.6 0.9; do
# for damping in 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3; do
echo
"Computing on "
${
level
}
" levels with damping factor "
${
damping
}
runComputation
$LEVELDIR
$level
$damping
runComputation
$LEVELDIR
$level
$damping
&
# Append convergence rate of this run to overall list for this level
#cat convrate >> ${LEVELDIR}/convrates
# Never have more than MAXPROCS processes
NPROC
=
$((
$NPROC
+
1
))
if
[
"
$NPROC
"
-ge
"
$MAXPROCS
"
]
;
then
wait
NPROC
=
0
fi
done
done
\ No newline at end of file
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