Skip to content

Commit 7c382df

Browse files
committedDec 27, 2015
Several updates and cleanups for analytical REXI benchmarks
1 parent c52a63e commit 7c382df

File tree

113 files changed

+579
-15065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+579
-15065
lines changed
 

‎SConstruct

+3-12
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ if env['compiler'] == 'gnu':
386386
# be pedantic to avoid stupid programming errors
387387
# env.Append(CXXFLAGS=' -pedantic')
388388

389-
# SSE 4.2
390-
env.Append(CXXFLAGS=' -msse4.2')
391-
392389
# speedup compilation - remove this when compiler slows down or segfaults by running out of memory
393390
env.Append(CXXFLAGS=' -pipe')
394391

@@ -450,7 +447,6 @@ elif env['compiler'] == 'intel':
450447

451448
# SSE 4.2
452449
env.Replace(CXX = 'icpc')
453-
# env.Append(CXXFLAGS=' -msse4.2')
454450
env.Replace(LINK='icpc')
455451

456452
if env['fortran_source'] == 'enable':
@@ -479,9 +475,6 @@ elif env['compiler'] == 'pgi':
479475
# be pedantic to avoid stupid programming errors
480476
# env.Append(CXXFLAGS=' -pedantic')
481477

482-
# SSE 4.2
483-
# env.Append(CXXFLAGS=' -msse4.2')
484-
485478
# speedup compilation - remove this when compiler slows down or segfaults by running out of memory
486479
# env.Append(CXXFLAGS=' -pipe')
487480

@@ -508,9 +501,6 @@ elif env['compiler'] == 'llvm':
508501
# be pedantic to avoid stupid programming errors
509502
env.Append(CXXFLAGS=' -pedantic')
510503

511-
# SSE 4.2
512-
env.Append(CXXFLAGS=' -msse4.2')
513-
514504
# speedup compilation - remove this when compiler slows down or segfaults by running out of memory
515505
env.Append(CXXFLAGS=' -pipe')
516506

@@ -563,7 +553,7 @@ elif env['mode'] == 'release':
563553
if env['compiler'] == 'gnu':
564554
env.Append(CXXFLAGS=' -O3 -mtune=native')
565555

566-
if env['compiler'] == 'llvm':
556+
elif env['compiler'] == 'llvm':
567557
env.Append(CXXFLAGS=' -O3 -mtune=native')
568558

569559
elif env['compiler'] == 'intel':
@@ -636,7 +626,7 @@ if env['sweet_mpi'] == 'enable':
636626
env.Replace(CXX = 'mpiicpc')
637627
env.Replace(LINK = 'mpiicpc')
638628

639-
if env['threading'] != 'off':
629+
if env['threading'] != 'off' and env['compiler'] == 'intel':
640630
env.Append(CXXFLAGS=' -mt_mpi')
641631
env.Append(LINKFLAGS=' -mt_mpi')
642632

@@ -661,6 +651,7 @@ exec_name += '_'+env['mode']
661651

662652
if env['threading'] == 'omp':
663653
env.Append(CXXFLAGS=' -fopenmp')
654+
env.Append(LINKFLAGS=' -fopenmp')
664655
env.Append(CXXFLAGS=' -DSWEET_THREADING=1')
665656
else:
666657
env.Append(CXXFLAGS=' -DSWEET_THREADING=0')

‎benchmarks/rexi_tests/2015_09_01_compare_new_coefficients_a/README

-4
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.