Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
2b470fd3
Commit
2b470fd3
authored
Jul 08, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ModSim ass4 taddeus: Added comparison script for sequential-parallel.
parent
21db2b12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
modsim/ass4_taddeus/vibstring/diff.sh
modsim/ass4_taddeus/vibstring/diff.sh
+7
-0
modsim/ass4_taddeus/vibstring/par.sh
modsim/ass4_taddeus/vibstring/par.sh
+4
-11
No files found.
modsim/ass4_taddeus/vibstring/diff.sh
0 → 100755
View file @
2b470fd3
#!/bin/bash
args
=
${
@
:2:
$#}
./seq
$args
> out_seq.txt
#mpirun -np
$1
./par
$args
bash par.sh
$@
python combine.py
$1
> out_par.txt
diff out_{seq,par
}
.txt
modsim/ass4_taddeus/vibstring/par.sh
View file @
2b470fd3
#!/bin/bash
NUM_PROCESSES
=
${
1
-4
}
# Default: 4 processes
RSH_AGENT
=
rsh
MPI_HOSTFILE
=
~/.mpirun.machines
PROGRAM_EXEC
=
./par
ARGS
=
sinus 1001 1 .01 1 1
#mpirun -np $NUM_PROCESSES ./par sinus 100 1 .01 1 1
mpirun
-np
$NUM_PROCESSES
./par sinus 50 1 .01 1 1
#mpirun -np $NUM_PROCESSES $PROGRAM_EXEC $ARGS
#mpirun -np $NUM_PROCESSES --mca pls_rsh_agent $RSH_AGENT \
# --hostfile $MPI_HOSTFILE $PROGRAM_EXEC
mpirun
-np
${
1
-4
}
./par
${
@
:2:
$#}
#mpirun -np
${
1
-4
}
./par sinus 100 1 .01 1 1
#mpirun -np
${
1
-4
}
--mca pls_rsh_agent rsa \
# --hostfile ~/.mpirun.machines ./par
${
@
:2:
$#}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment