Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
f8a9eef7
Commit
f8a9eef7
authored
Oct 26, 2015
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Modified the running scripts to use the new executable names.
parent
7ce42890
No related branches found
No related tags found
1 merge request
!52
Cleaning up of the main file
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/runs.sh
+6
-6
6 additions, 6 deletions
examples/runs.sh
examples/runs_mpi_cv.sh
+8
-8
8 additions, 8 deletions
examples/runs_mpi_cv.sh
with
14 additions
and
14 deletions
examples/runs.sh
+
6
−
6
View file @
f8a9eef7
...
@@ -34,31 +34,31 @@ do
...
@@ -34,31 +34,31 @@ do
# Sod-Shock runs
# Sod-Shock runs
if
[
!
-e
SodShock_mindt_
${
cpu
}
.dump
]
if
[
!
-e
SodShock_mindt_
${
cpu
}
.dump
]
then
then
./
tes
t_mindt
-c
1.0
-t
$cpu
-f
SodShock/sodShock.hdf5
-m
0.01
-w
5000
-d
1.0
>
SodShock_
${
cpu
}
.dump
./
swif
t_mindt
-c
1.0
-t
$cpu
-f
SodShock/sodShock.hdf5
-m
0.01
-w
5000
-d
1.0
>
SodShock_
${
cpu
}
.dump
fi
fi
if
[
!
-e
SodShock_fixed_
${
cpu
}
.dump
]
if
[
!
-e
SodShock_fixed_
${
cpu
}
.dump
]
then
then
./
tes
t_fixdt
-r
1000
-t
$cpu
-f
SodShock/sodShock.hdf5
-m
0.01
-w
5000
-d
1e-4
>
SodShock_fixed_
${
cpu
}
.dump
./
swif
t_fixdt
-r
1000
-t
$cpu
-f
SodShock/sodShock.hdf5
-m
0.01
-w
5000
-d
1e-4
>
SodShock_fixed_
${
cpu
}
.dump
fi
fi
# Sedov blast
# Sedov blast
if
[
!
-e
SedovBlast_mindt_
${
cpu
}
.dump
]
if
[
!
-e
SedovBlast_mindt_
${
cpu
}
.dump
]
then
then
./
tes
t_mindt
-c
0.2
-t
$cpu
-f
SedovBlast/sedov.hdf5
-m
0.02
-w
5000
-d
1e-10
>
SedovBlast_
${
cpu
}
.dump
./
swif
t_mindt
-c
0.2
-t
$cpu
-f
SedovBlast/sedov.hdf5
-m
0.02
-w
5000
-d
1e-10
>
SedovBlast_
${
cpu
}
.dump
fi
fi
if
[
!
-e
SedovBlast_fixed_
${
cpu
}
.dump
]
if
[
!
-e
SedovBlast_fixed_
${
cpu
}
.dump
]
then
then
./
tes
t_fixdt
-r
4096
-t
$cpu
-f
SedovBlast/sedov.hdf5
-m
0.02
-w
5000
-d
5e-5
>
SedovBlast_fixed_
${
cpu
}
.dump
./
swif
t_fixdt
-r
4096
-t
$cpu
-f
SedovBlast/sedov.hdf5
-m
0.02
-w
5000
-d
5e-5
>
SedovBlast_fixed_
${
cpu
}
.dump
fi
fi
# Cosmological volume
# Cosmological volume
if
[
!
-e
CosmoVolume_mindt_
${
cpu
}
.dump
]
if
[
!
-e
CosmoVolume_mindt_
${
cpu
}
.dump
]
then
then
./
tes
t_mindt
-c
0.01
-t
$cpu
-f
CosmoVolume/cosmoVolume.hdf5
-m
0.6
-w
5000
-d
0.01
>
CosmoVolume_
${
cpu
}
.dump
./
swif
t_mindt
-c
0.01
-t
$cpu
-f
CosmoVolume/cosmoVolume.hdf5
-m
0.6
-w
5000
-d
0.01
>
CosmoVolume_
${
cpu
}
.dump
fi
fi
if
[
!
-e
CosmoVolume_fixed_
${
cpu
}
.dump
]
if
[
!
-e
CosmoVolume_fixed_
${
cpu
}
.dump
]
then
then
./
tes
t_fixdt
-r
256
-t
$cpu
-f
CosmoVolume/cosmoVolume.hdf5
-m
0.6
-w
5000
-d
1e-8
>
CosmoVolume_fixed_
${
cpu
}
.dump
./
swif
t_fixdt
-r
256
-t
$cpu
-f
CosmoVolume/cosmoVolume.hdf5
-m
0.6
-w
5000
-d
1e-8
>
CosmoVolume_fixed_
${
cpu
}
.dump
fi
fi
done
done
...
...
...
...
This diff is collapsed.
Click to expand it.
examples/runs_mpi_cv.sh
+
8
−
8
View file @
f8a9eef7
...
@@ -23,43 +23,43 @@ for cpu in $(seq 1 $CPN)
...
@@ -23,43 +23,43 @@ for cpu in $(seq 1 $CPN)
do
do
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_1x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_1x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_1x
${
cpu
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-n
1
-R
"span[ptile=1]"
./
tes
t_fixdt
-r
$RUNS
-t
$cpu
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_1x
${
cpu
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-n
1
-R
"span[ptile=1]"
./
swif
t_fixdt
-r
$RUNS
-t
$cpu
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
done
done
# Multi-node runs
# Multi-node runs
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_2x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_2x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_2x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
2
-R
"span[ptile=1]"
mpirun
-np
2 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 1 1"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_2x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
2
-R
"span[ptile=1]"
mpirun
-np
2 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 1 1"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_4x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_4x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_4x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
4
-R
"span[ptile=1]"
mpirun
-np
4 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 2 1"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_4x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
4
-R
"span[ptile=1]"
mpirun
-np
4 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 2 1"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_8x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_8x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_8x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
8
-R
"span[ptile=1]"
mpirun
-np
8 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 2 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_8x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
8
-R
"span[ptile=1]"
mpirun
-np
8 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"2 2 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_16x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_16x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_16x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
16
-R
"span[ptile=1]"
mpirun
-np
16 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 2 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_16x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
16
-R
"span[ptile=1]"
mpirun
-np
16 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 2 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_32x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_32x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_32x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
32
-R
"span[ptile=1]"
mpirun
-np
32 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 4 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_32x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
32
-R
"span[ptile=1]"
mpirun
-np
32 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 4 2"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_64x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_64x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_64x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
64
-R
"span[ptile=1]"
mpirun
-np
64 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 4 4"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_64x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
64
-R
"span[ptile=1]"
mpirun
-np
64 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"4 4 4"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_128x
${
cpu
}
.dump
]
if
[
!
-e
${
PREFIX
}
_
${
QUEUE
}
_128x
${
cpu
}
.dump
]
then
then
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_128x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
128
-R
"span[ptile=1]"
mpirun
-np
128 ./
tes
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"8 4 4"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
bsub
-oo
${
PREFIX
}
_
${
QUEUE
}
_128x
${
CPN
}
.dump
-q
${
QUEUE
}
-P
${
PROJECT
}
-x
-W
02:00
-n
128
-R
"span[ptile=1]"
mpirun
-np
128 ./
swif
t_fixdt_mpi
-r
$RUNS
-t
$CPN
-g
"8 4 4"
-f
${
INPUT
}
-m
0.705
-w
6000
-z
300
-d
1e-8
fi
fi
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
sign in
to comment