Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
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
multiscale
lammps
Commits
31dd4cc6
Commit
31dd4cc6
authored
16 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@1887
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
08416eaf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bench/README
+9
-15
9 additions, 15 deletions
bench/README
bench/in.eam
+8
-4
8 additions, 4 deletions
bench/in.eam
bench/in.lj
+8
-4
8 additions, 4 deletions
bench/in.lj
with
25 additions
and
23 deletions
bench/README
+
9
−
15
View file @
31dd4cc6
...
...
@@ -76,25 +76,19 @@ mpirun -np 8 lmp_foo < in.rhodo
Parallel scaled-size runs (on 16 procs in this case):
mpirun -np 16 lmp_foo -var x
40
-var y
40
-var z
80
< in.lj
mpirun -np 16 lmp_foo -var x
2
-var y
2
-var z
4
< in.lj
mpirun -np 16 lmp_foo -var x 2 -var y 2 -var z 4 < in.chain.scaled
mpirun -np 16 lmp_foo -var x
40
-var y
40
-var z
80
< in.eam
mpirun -np 16 lmp_foo -var x
2
-var y
2
-var z
4
< in.eam
mpirun -np 16 lmp_foo -var x 4 -var y 4 < in.chute.scaled
mpirun -np 16 lmp_foo -var x 2 -var y 2 -var z 4 < in.rhodo.scaled
For each of the scaled-size runs you must set 3 variables as -var
command line switches. The variables are used in the input scripts to
scale up the problem size in each dimension. Imagine the P processors
arrayed as a 3d grid, so that P = Px * Py * Pz. For P = 16, you might
use Px = 2, Py = 2, Pz = 4. To scale up equally in all dimensions you
roughly want Px = Py = Pz.
For LJ and Eam runs, use Px,Py,Pz multiplied by 20 to set the variable
values of x,y,z, as in the example mpirun commands above.
For Chain and Rhodo runs, use Px,Py,Pz directly to set the variable
values of x,y,z, as in the example mpirun commands above.
command line switches. The variables x,y,z are used in the input
scripts to scale up the problem size in each dimension. Imagine the P
processors arrayed as a 3d grid, so that P = Px * Py * Pz. For P =
16, you might use Px = 2, Py = 2, Pz = 4. To scale up equally in all
dimensions you roughly want Px = Py = Pz. Using the var switches, set
x = Px, y = Py, and z = Pz.
For Chute runs, you must have Pz = 1. Therefore P = Px * Py and you
only need to set variables x and y. Use Px,Py directly to set the
values of x,y, as in the example mpirun command above.
only need to set variables x and y.
This diff is collapsed.
Click to expand it.
bench/in.eam
+
8
−
4
View file @
31dd4cc6
# bulk Cu lattice
variable x index 20
variable y index 20
variable z index 20
variable x index 1
variable y index 1
variable z index 1
variable xx equal 20*$x
variable yy equal 20*$y
variable zz equal 20*$z
units metal
atom_style atomic
lattice fcc 3.615
region box block 0 $
x 0 $y 0 $z
region box block 0 $
{xx} 0 ${yy} 0 ${zz}
create_box 1 box
create_atoms 1 box
...
...
This diff is collapsed.
Click to expand it.
bench/in.lj
+
8
−
4
View file @
31dd4cc6
# 3d Lennard-Jones melt
variable x index 20
variable y index 20
variable z index 20
variable x index 1
variable y index 1
variable z index 1
variable xx equal 20*$x
variable yy equal 20*$y
variable zz equal 20*$z
units lj
atom_style atomic
lattice fcc 0.8442
region box block 0 $
x 0 $y 0 $z
region box block 0 $
{xx} 0 ${yy} 0 ${zz}
create_box 1 box
create_atoms 1 box
mass 1 1.0
...
...
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