Use augrie solver in opengl version

parent a39337f1
......@@ -309,16 +309,6 @@ if 'libSDLDir' in env:
env.Append(LIBPATH=[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
if env['asagi'] == True:
env.Append(CPPDEFINES=['ASAGI'])
......@@ -338,6 +328,17 @@ if env['asagi'] == True:
if 'asagiInputDir' in env:
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
if env['xmlRuntime'] == True: #TODO
print 'xml runtime parameters are not implemented so far.'
......
......@@ -27,12 +27,16 @@
#
# Build options
parallelization='mpi'
solver='fwave'
#solver='augrie'
parallelization='cuda'
#solver='fwave'
solver='augrie'
asagi='yes'
writeNetCDF='yes'
# OpenGL
openGL='yes'
openGL_instr='yes'
# Directory containing ASAGI input files (needs to be set)
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