Use augrie solver in opengl version

parent a39337f1
...@@ -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.'
......
...@@ -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=''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment