549 |
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 |
550 |
if env['usemkl'] and not conf.CheckFunc('pardiso'): env['usemkl'] = 0 |
if env['usemkl'] and not conf.CheckFunc('pardiso'): env['usemkl'] = 0 |
551 |
|
|
552 |
|
|
553 |
# Add MKL to environment env if it was found |
# Add MKL to environment env if it was found |
554 |
if env['usemkl']: |
if env['usemkl']: |
555 |
env = conf.Finish() |
env = conf.Finish() |
621 |
env.Append(LIBPATH = '/usr/lib/atlas') |
env.Append(LIBPATH = '/usr/lib/atlas') |
622 |
env.Append(LIBS = [env['lapack_libs']]) |
env.Append(LIBS = [env['lapack_libs']]) |
623 |
if env['lapack_type']=='mkl': |
if env['lapack_type']=='mkl': |
624 |
env.AppendUnique(CPPDEFINES='MKL_LAPACK') |
if not env['usemkl']: |
625 |
|
env['uselapack']=0 |
626 |
|
print "mkl_lapack requires mkl" |
627 |
|
else: |
628 |
|
env.AppendUnique(CPPDEFINES='MKL_LAPACK') |
629 |
|
|
630 |
|
|
631 |
|
|
632 |
############ Add the compiler flags ############################ |
############ Add the compiler flags ############################ |
633 |
|
|
752 |
else: print " Not using ParMETIS (requires MPI)" |
else: print " Not using ParMETIS (requires MPI)" |
753 |
if env['usepapi']: print " Using PAPI" |
if env['usepapi']: print " Using PAPI" |
754 |
else: print " Not using PAPI" |
else: print " Not using PAPI" |
755 |
|
if env['uselapack']: print " Using Lapack" |
756 |
|
else: print " Not using Lapack" |
757 |
if env['usedebug']: print " Compiling for debug" |
if env['usedebug']: print " Compiling for debug" |
758 |
else: print " Not compiling for debug" |
else: print " Not compiling for debug" |
759 |
print " Installing in", prefix |
print " Installing in", prefix |