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
ba3207f2
Commit
ba3207f2
authored
Apr 19, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed makefile and added start mpirun script.
parent
ee14bc60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
modsim/ass4_sander/part1/.gitignore
modsim/ass4_sander/part1/.gitignore
+1
-0
modsim/ass4_sander/part1/Makefile
modsim/ass4_sander/part1/Makefile
+3
-2
modsim/ass4_sander/part1/start.sh
modsim/ass4_sander/part1/start.sh
+7
-0
No files found.
modsim/ass4_sander/part1/.gitignore
0 → 100644
View file @
ba3207f2
main
modsim/ass4_sander/part1/Makefile
View file @
ba3207f2
CFLAGS
+=
-std
=
c99
-Wall
-Wextra
-g
-O2
LDFLAGS
+=
-lmpi
CFLAGS
+=
-std
=
c99
-Wall
-Wextra
-g
-O2
-pthread
LDFLAGS
+=
-pthread
-lmpi
-lopen-rte
-lopen-pal
-ldl
-Wl
,--export-dynamic
\
-lnsl
-lutil
-lm
-ldl
MAIN
=
main
OFILES
=
interval.o slave.o master.o main.o
...
...
modsim/ass4_sander/part1/start.sh
0 → 100755
View file @
ba3207f2
#!/bin/sh
NUM_PROCESSES
=
4
RSH_AGENT
=
rsh
HOSTS
=
localhost
PROGRAM_EXEC
=
main
mpirun
-np
$NUM_PROCESSES
-H
$HOSTS
$PROGRAM_EXEC
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