Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
SWE
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
SWE
Commits
a6a8d6a2
Commit
a6a8d6a2
authored
Jan 21, 2014
by
Gaurav Kukreja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified SConstruct to fix bug with scalasca compilation
Signed-off-by:
Gaurav Kukreja
<
gaurav.kukreja@tum.de
>
parent
1e812ed6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
SConstruct
SConstruct
+3
-0
SWE_intel_fwavevec_omp_vec.py
build/options/SWE_intel_fwavevec_omp_vec.py
+1
-1
swe_mpi.cpp
src/examples/swe_mpi.cpp
+8
-2
No files found.
SConstruct
View file @
a6a8d6a2
...
@@ -244,6 +244,9 @@ if env['loop_openmp']:
...
@@ -244,6 +244,9 @@ if env['loop_openmp']:
if
env
[
'write_output'
]:
if
env
[
'write_output'
]:
env
.
Append
(
CCFLAGS
=
[
'-DWRITE_OUTPUT'
])
env
.
Append
(
CCFLAGS
=
[
'-DWRITE_OUTPUT'
])
if
env
[
'scalasca_instrument'
]:
env
.
Append
(
CCFLAGS
=
[
'-DSCALASCA_INSTRUMENT'
])
# Vectorization?
# Vectorization?
if
env
[
'compileMode'
]
==
'release'
and
env
[
'vectorize'
]:
if
env
[
'compileMode'
]
==
'release'
and
env
[
'vectorize'
]:
env
.
Append
(
CPPDEFINES
=
[
'VECTORIZE'
])
env
.
Append
(
CPPDEFINES
=
[
'VECTORIZE'
])
...
...
build/options/SWE_intel_fwavevec_omp_vec.py
View file @
a6a8d6a2
...
@@ -35,7 +35,7 @@ solver='fwavevec'
...
@@ -35,7 +35,7 @@ solver='fwavevec'
#solver='augrie'
#solver='augrie'
#writeNetCDF='yes'
#writeNetCDF='yes'
write_output
=
'no'
write_output
=
'no'
scalasca_instrument
=
'
yes
'
scalasca_instrument
=
'
no
'
# Library paths (only required of not installed in default path)
# Library paths (only required of not installed in default path)
#netCDFDir=''
#netCDFDir=''
src/examples/swe_mpi.cpp
View file @
a6a8d6a2
...
@@ -35,7 +35,9 @@
...
@@ -35,7 +35,9 @@
#include <string>
#include <string>
#include <vector>
#include <vector>
#ifdef SCALASCA_INSTRUMENT
#include "epik_user.h"
#include "epik_user.h"
#endif
#ifndef CUDA
#ifndef CUDA
#include "blocks/SWE_WavePropagationBlock.hh"
#include "blocks/SWE_WavePropagationBlock.hh"
...
@@ -444,7 +446,9 @@ int main( int argc, char** argv ) {
...
@@ -444,7 +446,9 @@ int main( int argc, char** argv ) {
unsigned
int
l_iterations
=
0
;
unsigned
int
l_iterations
=
0
;
EPIK_FUNC_START
();
#ifdef SCALASCA_INSTRUMENT
EPIK_FUNC_START
();
#endif
// loop over checkpoints
// loop over checkpoints
for
(
int
c
=
1
;
c
<=
l_numberOfCheckPoints
;
c
++
)
{
for
(
int
c
=
1
;
c
<=
l_numberOfCheckPoints
;
c
++
)
{
...
@@ -513,7 +517,9 @@ int main( int argc, char** argv ) {
...
@@ -513,7 +517,9 @@ int main( int argc, char** argv ) {
progressBar
.
update
(
l_t
);
progressBar
.
update
(
l_t
);
}
}
EPIK_FUNC_END
();
#ifdef SCALASCA_INSTRUMENT
EPIK_FUNC_END
();
#endif // SCALASCA_INSTRUMENT
#ifdef WRITE_OUPUT
#ifdef WRITE_OUPUT
// print current simulation time
// print current simulation time
...
...
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