Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
supercomputer_lab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
supercomputer_lab
Commits
797c08cd
Commit
797c08cd
authored
May 09, 2012
by
Gaurav Kukreja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autoparallel, num-threads=8
Signed-off-by:
Gaurav Kukreja
<
mailme.gaurav@gmail.com
>
parent
11603e91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
heat-parallel/Makefile
+1
-1
relax_jacobi.c
heat-parallel/relax_jacobi.c
+1
-1
No files found.
heat-parallel/Makefile
View file @
797c08cd
# Intel compiler
# Intel compiler
CC
=
icc
CC
=
icc
CFLAGS
=
-g
-parallel
-par-report3
-fargument-noalias
CFLAGS
=
-g
-parallel
-par-report3
-fargument-noalias
-O3
-par-num-threads
=
8
MPICC
=
mpicc
MPICC
=
mpicc
...
...
heat-parallel/relax_jacobi.c
View file @
797c08cd
...
@@ -45,7 +45,7 @@ double relax_jacobi_return_residual( double *u, double *utmp,
...
@@ -45,7 +45,7 @@ double relax_jacobi_return_residual( double *u, double *utmp,
int
i
,
j
;
int
i
,
j
;
double
unew
,
diff
,
sum
=
0
.
0
;
double
unew
,
diff
,
sum
=
0
.
0
;
#pragma parallel
#pragma parallel
always
for
(
i
=
1
;
i
<
sizey
-
1
;
i
++
)
for
(
i
=
1
;
i
<
sizey
-
1
;
i
++
)
{
{
for
(
j
=
1
;
j
<
sizex
-
1
;
j
++
)
for
(
j
=
1
;
j
<
sizex
-
1
;
j
++
)
...
...
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