351 |
conf.env.AppendUnique(LIBS = [env['python_libs']]) |
conf.env.AppendUnique(LIBS = [env['python_libs']]) |
352 |
|
|
353 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['python_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['python_lib_path']) # The wrapper script needs to find these libs |
354 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
355 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
356 |
|
|
357 |
if not conf.CheckCHeader('Python.h'): |
if not conf.CheckCHeader('Python.h'): |
358 |
print "Cannot find python include files (tried 'Python.h' in directory %s)" % (env['python_path']) |
print "Cannot find python include files (tried 'Python.h' in directory %s)" % (env['python_path']) |
376 |
conf.env.AppendUnique(LIBS = [env['boost_libs']]) |
conf.env.AppendUnique(LIBS = [env['boost_libs']]) |
377 |
|
|
378 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['boost_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['boost_lib_path']) # The wrapper script needs to find these libs |
379 |
|
#ensure that our path entries remain at the front |
380 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
381 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
382 |
|
|
383 |
if not conf.CheckCXXHeader('boost/python.hpp'): |
if not conf.CheckCXXHeader('boost/python.hpp'): |
384 |
print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path']) |
print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path']) |
413 |
conf.env.AppendUnique(LIBPATH = [env['netCDF_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env['netCDF_lib_path']]) |
414 |
conf.env.AppendUnique(LIBS = [env['netCDF_libs']]) |
conf.env.AppendUnique(LIBS = [env['netCDF_libs']]) |
415 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['netCDF_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['netCDF_lib_path']) # The wrapper script needs to find these libs |
416 |
|
#ensure that our path entries remain at the front |
417 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
418 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
419 |
|
|
420 |
if env['usenetcdf'] and not conf.CheckCHeader('netcdf.h'): env['usenetcdf'] = 0 |
if env['usenetcdf'] and not conf.CheckCHeader('netcdf.h'): env['usenetcdf'] = 0 |
421 |
if env['usenetcdf'] and not conf.CheckFunc('nc_open'): env['usenetcdf'] = 0 |
if env['usenetcdf'] and not conf.CheckFunc('nc_open'): env['usenetcdf'] = 0 |
437 |
conf.env.AppendUnique(LIBPATH = [env['papi_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env['papi_lib_path']]) |
438 |
conf.env.AppendUnique(LIBS = [env['papi_libs']]) |
conf.env.AppendUnique(LIBS = [env['papi_libs']]) |
439 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['papi_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['papi_lib_path']) # The wrapper script needs to find these libs |
440 |
|
#ensure that our path entries remain at the front |
441 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
442 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
443 |
|
|
444 |
if env['usepapi'] and not conf.CheckCHeader('papi.h'): env['usepapi'] = 0 |
if env['usepapi'] and not conf.CheckCHeader('papi.h'): env['usepapi'] = 0 |
445 |
if env['usepapi'] and not conf.CheckFunc('PAPI_start_counters'): env['usepapi'] = 0 |
if env['usepapi'] and not conf.CheckFunc('PAPI_start_counters'): env['usepapi'] = 0 |
461 |
conf.env.AppendUnique(LIBPATH = [env['mkl_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env['mkl_lib_path']]) |
462 |
conf.env.AppendUnique(LIBS = [env['mkl_libs']]) |
conf.env.AppendUnique(LIBS = [env['mkl_libs']]) |
463 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['mkl_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['mkl_lib_path']) # The wrapper script needs to find these libs |
464 |
|
#ensure that our path entries remain at the front |
465 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
466 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
467 |
|
|
468 |
if env['usemkl'] and not conf.CheckCHeader('mkl_solver.h'): env['usemkl'] = 0 |
if env['usemkl'] and not conf.CheckCHeader('mkl_solver.h'): env['usemkl'] = 0 |
469 |
if env['usemkl'] and not conf.CheckFunc('pardiso_'): env['usemkl'] = 0 |
if env['usemkl'] and not conf.CheckFunc('pardiso_'): env['usemkl'] = 0 |
494 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['umf_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['umf_lib_path']) # The wrapper script needs to find these libs |
495 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['amd_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['amd_lib_path']) # The wrapper script needs to find these libs |
496 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['blas_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['blas_lib_path']) # The wrapper script needs to find these libs |
497 |
|
#ensure that our path entries remain at the front |
498 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
499 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
500 |
|
|
501 |
if env['useumfpack'] and not conf.CheckFunc('umfpack_di_symbolic'): env['useumfpack'] = 0 |
if env['useumfpack'] and not conf.CheckFunc('umfpack_di_symbolic'): env['useumfpack'] = 0 |
502 |
if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0 |
if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0 |
567 |
conf.env.AppendUnique(LIBPATH = [env_mpi['mpi_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env_mpi['mpi_lib_path']]) |
568 |
conf.env.AppendUnique(LIBS = [env_mpi['mpi_libs']]) |
conf.env.AppendUnique(LIBS = [env_mpi['mpi_libs']]) |
569 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['mpi_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['mpi_lib_path']) # The wrapper script needs to find these libs |
570 |
|
#ensure that our path entries remain at the front |
571 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
572 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
573 |
|
|
574 |
if env_mpi['usempi'] and not conf.CheckCHeader('mpi.h'): env_mpi['usempi'] = 0 |
if env_mpi['usempi'] and not conf.CheckCHeader('mpi.h'): env_mpi['usempi'] = 0 |
575 |
if env_mpi['usempi'] and not conf.CheckFunc('MPI_Init'): env_mpi['usempi'] = 0 |
if env_mpi['usempi'] and not conf.CheckFunc('MPI_Init'): env_mpi['usempi'] = 0 |
595 |
conf.env.AppendUnique(LIBPATH = [env_mpi['parmetis_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env_mpi['parmetis_lib_path']]) |
596 |
conf.env.AppendUnique(LIBS = [env_mpi['parmetis_libs']]) |
conf.env.AppendUnique(LIBS = [env_mpi['parmetis_libs']]) |
597 |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['parmetis_lib_path']) # The wrapper script needs to find these libs |
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['parmetis_lib_path']) # The wrapper script needs to find these libs |
598 |
|
#ensure that our path entries remain at the front |
599 |
|
conf.env.PrependENVPath('PYTHONPATH', prefix) |
600 |
|
conf.env.PrependENVPath('LD_LIBRARY_PATH', env['libinstall']) |
601 |
|
|
602 |
if env_mpi['useparmetis'] and not conf.CheckCHeader('parmetis.h'): env_mpi['useparmetis'] = 0 |
if env_mpi['useparmetis'] and not conf.CheckCHeader('parmetis.h'): env_mpi['useparmetis'] = 0 |
603 |
if env_mpi['useparmetis'] and not conf.CheckFunc('ParMETIS_V3_PartGeomKway'): env_mpi['useparmetis'] = 0 |
if env_mpi['useparmetis'] and not conf.CheckFunc('ParMETIS_V3_PartGeomKway'): env_mpi['useparmetis'] = 0 |