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
085f8a30
Commit
085f8a30
authored
Oct 07, 2013
by
Sebastian Rettenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use augrie solver in opengl version
parent
a39337f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
SConstruct
SConstruct
+11
-10
SWE_gnu_cuda_asagi_openGL.py
build/options/SWE_gnu_cuda_asagi_openGL.py
+7
-3
No files found.
SConstruct
View file @
085f8a30
...
@@ -309,16 +309,6 @@ if 'libSDLDir' in env:
...
@@ -309,16 +309,6 @@ if 'libSDLDir' in env:
env
.
Append
(
LIBPATH
=
[
env
[
'libSDLDir'
]
+
'/lib'
])
env
.
Append
(
LIBPATH
=
[
env
[
'libSDLDir'
]
+
'/lib'
])
env
.
Append
(
RPATH
=
[
env
[
'libSDLDir'
]
+
'/lib'
])
env
.
Append
(
RPATH
=
[
env
[
'libSDLDir'
]
+
'/lib'
])
# set the precompiler flags and includes for netCDF
if
env
[
'writeNetCDF'
]
==
True
:
env
.
Append
(
CPPDEFINES
=
[
'WRITENETCDF'
])
env
.
Append
(
LIBS
=
[
'netcdf'
])
# set netCDF location
if
'netCDFDir'
in
env
:
env
.
Append
(
CPPPATH
=
[
env
[
'netCDFDir'
]
+
'/include'
])
env
.
Append
(
LIBPATH
=
[
os
.
path
.
join
(
env
[
'netCDFDir'
],
'lib'
)])
env
.
Append
(
RPATH
=
[
os
.
path
.
join
(
env
[
'netCDFDir'
],
'lib'
)])
# set the precompiler flags, includes and libraries for ASAGI
# set the precompiler flags, includes and libraries for ASAGI
if
env
[
'asagi'
]
==
True
:
if
env
[
'asagi'
]
==
True
:
env
.
Append
(
CPPDEFINES
=
[
'ASAGI'
])
env
.
Append
(
CPPDEFINES
=
[
'ASAGI'
])
...
@@ -338,6 +328,17 @@ if env['asagi'] == True:
...
@@ -338,6 +328,17 @@ if env['asagi'] == True:
if
'asagiInputDir'
in
env
:
if
'asagiInputDir'
in
env
:
env
.
Append
(
CPPFLAGS
=
[
'
\'
-DASAGI_INPUT_DIR="'
+
env
[
'asagiInputDir'
]
+
'"
\'
'
])
env
.
Append
(
CPPFLAGS
=
[
'
\'
-DASAGI_INPUT_DIR="'
+
env
[
'asagiInputDir'
]
+
'"
\'
'
])
# set the precompiler flags and includes for netCDF
if
env
[
'writeNetCDF'
]
==
True
:
env
.
Append
(
CPPDEFINES
=
[
'WRITENETCDF'
])
# TODO Check weather we need to link with hdf5
env
.
Append
(
LIBS
=
[
'netcdf'
])
# set netCDF location
if
'netCDFDir'
in
env
:
env
.
Append
(
CPPPATH
=
[
env
[
'netCDFDir'
]
+
'/include'
])
env
.
Append
(
LIBPATH
=
[
os
.
path
.
join
(
env
[
'netCDFDir'
],
'lib'
)])
env
.
Append
(
RPATH
=
[
os
.
path
.
join
(
env
[
'netCDFDir'
],
'lib'
)])
# xml runtime parameters
# xml runtime parameters
if
env
[
'xmlRuntime'
]
==
True
:
#TODO
if
env
[
'xmlRuntime'
]
==
True
:
#TODO
print
'xml runtime parameters are not implemented so far.'
print
'xml runtime parameters are not implemented so far.'
...
...
build/options/SWE_gnu_cuda_asagi_openGL.py
View file @
085f8a30
...
@@ -27,12 +27,16 @@
...
@@ -27,12 +27,16 @@
#
#
# Build options
# Build options
parallelization
=
'
mpi
'
parallelization
=
'
cuda
'
solver
=
'fwave'
#
solver='fwave'
#
solver='augrie'
solver
=
'augrie'
asagi
=
'yes'
asagi
=
'yes'
writeNetCDF
=
'yes'
writeNetCDF
=
'yes'
# OpenGL
openGL
=
'yes'
openGL_instr
=
'yes'
# Directory containing ASAGI input files (needs to be set)
# Directory containing ASAGI input files (needs to be set)
asagiInputDir
=
''
asagiInputDir
=
''
...
...
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