Skip to content

Commit

Permalink
Merge branch 'hotfix/0.12.3'
Browse files Browse the repository at this point in the history
* hotfix/0.12.3:
  Version 0.12.3
  Fix ninja warning
  Fix bamboo leap42 again
  Fix bamboo leap42 link fail to boost/cgal
  Fix bamboo leap42
  ATLAS-146 Fix OpenMP stubs with clang
  ATLAS-146 Fix OpenMP stubs
  • Loading branch information
wdeconinck committed Jan 26, 2018
2 parents e38b9b8 + c2b70cb commit 0599b8a
Show file tree
Hide file tree
Showing 12 changed files with 174 additions and 306 deletions.
2 changes: 1 addition & 1 deletion VERSION.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# granted to it by virtue of its status as an intergovernmental organisation nor
# does it submit to any jurisdiction.

set ( ${PROJECT_NAME}_VERSION_STR "0.12.2" )
set ( ${PROJECT_NAME}_VERSION_STR "0.12.3" )

7 changes: 6 additions & 1 deletion bamboo/CLANG-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
if [[ ! $(command -v module > /dev/null 2>&1) ]]; then
. /usr/local/apps/module/init/bash
fi

module unload grib_api
module unload eccodes
module switch gnu clang/3.6.2
module unload emos
module unload fftw
module unload libemos

module switch gnu clang
1 change: 1 addition & 0 deletions bamboo/CLANG-flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ set( ENABLE_MPI OFF CACHE BOOL "Disable MPI under Clang compilat
set( ENABLE_TRANS ON CACHE BOOL "Enable TRANS" )
set( ENABLE_ATLAS_TEST_GRIDSPEC ON CACHE BOOL "Enable atlas_test_gridspec")
set( ENABLE_BOUNDSCHECKING ON CACHE BOOL "Enable bounds checking")
set( ENABLE_TESSELATION OFF CACHE BOOL "Disable CGAL" ) # cgal is old in leap42
1 change: 1 addition & 0 deletions bamboo/INTEL-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ module unload eccodes
module unload emos
module unload fftw
module unload libemos

module switch gnu intel/16.0.3
1 change: 1 addition & 0 deletions bamboo/INTEL-flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ set( ENABLE_MPI OFF CACHE BOOL "Disable MPI under Intel compilat
set( ENABLE_TRANS ON CACHE BOOL "Enable TRANS" )
set( ENABLE_ATLAS_TEST_GRIDSPEC ON CACHE BOOL "Enable atlas_test_gridspec")
set( ENABLE_BOUNDSCHECKING ON CACHE BOOL "Enable bounds checking")
set( ENABLE_TESSELATION OFF CACHE BOOL "Disable CGAL" ) # cgal is old in leap42
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ set( ENABLE_MPI OFF CACHE BOOL "Disable MPI" )
set( ENABLE_TRANS ON CACHE BOOL "Enable TRANS" )
set( ENABLE_ATLAS_TEST_GRIDSPEC ON CACHE BOOL "Enable atlas_test_gridspec")
set( ENABLE_BOUNDSCHECKING ON CACHE BOOL "Enable bounds checking")
set( ENABLE_TESSELATION OFF CACHE BOOL "Disable CGAL" ) # cgal is old in leap42
4 changes: 2 additions & 2 deletions src/apps/atlas-benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void AtlasBenchmark::execute(const Args& args)
haloexchange_timer = TimerStats("halo-exchange");

if( omp_threads > 0 )
omp_set_num_threads(omp_threads);
atlas_omp_set_num_threads(omp_threads);

Log::info() << "atlas-benchmark\n" << endl;
Log::info() << Library::instance().info() << endl;
Expand All @@ -219,7 +219,7 @@ void AtlasBenchmark::execute(const Args& args)
Log::info() << " niter: " << niter << endl;
Log::info() << endl;
Log::info() << " MPI tasks: "<<parallel::mpi::comm().size()<<endl;
Log::info() << " OpenMP threads per MPI task: " << omp_get_max_threads() << endl;
Log::info() << " OpenMP threads per MPI task: " << atlas_omp_get_max_threads() << endl;
Log::info() << endl;

Log::info() << "Timings:" << endl;
Expand Down
Loading

0 comments on commit 0599b8a

Please sign in to comment.