-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/0.21.0: (145 commits) Version 0.21.0 ATLAS-300 Fix plugin install ATLAS-301 Support for ORCA grid patches at pole using quads ATLAS-300 Atlas plugin support Grid::footprint() API (unimplemented) Compatibility with eckit < 1.12 Fix minor memory issue in test Increase timeout for atlas_test_fvm_nabla_validation travis: 300s timeout for tests Assertions Increase timeout for test Improve performance for debug builds with new ATLAS_ALWAYS_INLINE macro travis: Remove addons for osx travis: ATLAS_TRACE=1 Fix clang-tidy warnings Use Serial partitioner in StructuredMeshGenerator if possible. travis: 60s timeout for tests Fix warnings Remove unused subroutine atlas_write_to_fortran_unit ATLAS-299 (Github #42) Factor 2 speedup in BandsDistribution by using int32_t for its arithmetics if we are sure no overflow will occur. This helps L40000x20000 with 'regular_bands' partitioner ...
- Loading branch information
Showing
308 changed files
with
14,515 additions
and
1,816 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ CMakeLists.txt.user* | |
doc/html | ||
doc/latex | ||
*.sublime-workspace | ||
*.swp | ||
.nfs* | ||
build/* | ||
install/* | ||
env.sh | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.20.2 | ||
0.21.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
################################################################################ | ||
# documentation | ||
if( ENABLE_DOCS ) | ||
find_package(Latex) | ||
if( ENABLE_DOCS ) | ||
find_package(LATEX COMPONENTS PDFLATEX BIBTEX OPTIONAL_COMPONENTS MAKEINDEX HTLATEX) | ||
endif() | ||
ecbuild_add_option( FEATURE DOCS | ||
DESCRIPTION "Atlas documentation" | ||
DEFAULT OFF | ||
CONDITION Latex_FOUND ) | ||
CONDITION LATEX_FOUND ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* (C) Copyright 2013 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation | ||
* nor does it submit to any jurisdiction. | ||
*/ | ||
|
||
|
||
// This test mirrors functionality from src/atlas/parallel/omp/sort.h | ||
// It appears that on some installations / compilers the "untied if" in the | ||
// openmp pragma compiles but leads to runtime errors. This executable is | ||
// added to allow compiler introspection for this feature. | ||
|
||
#include <algorithm> | ||
#include <vector> | ||
#include <omp.h> | ||
|
||
template <typename RandomAccessIterator> | ||
void merge_sort_recursive( const RandomAccessIterator& iterator, size_t begin, size_t end ) { | ||
auto size = end - begin; | ||
if ( size >= 2 ) { // should be much larger in real case (e.g. 256) | ||
auto mid = begin + size / 2; | ||
{ | ||
#pragma omp task shared( iterator ) untied if ( size >= ( 1 << 15 ) ) | ||
merge_sort_recursive( iterator, begin, mid ); | ||
#pragma omp task shared( iterator ) untied if ( size >= ( 1 << 15 ) ) | ||
merge_sort_recursive( iterator, mid, end ); | ||
#pragma omp taskwait | ||
} | ||
std::inplace_merge( iterator + begin, iterator + mid, iterator + end ); | ||
} | ||
else { | ||
std::sort( iterator + begin, iterator + end ); | ||
} | ||
} | ||
|
||
template <typename RandomAccessIterator> | ||
void omp_sort( RandomAccessIterator first, RandomAccessIterator last ) { | ||
#pragma omp parallel | ||
#pragma omp single | ||
merge_sort_recursive( first, 0, std::distance( first, last ) ); | ||
} | ||
|
||
int main() { | ||
auto integers = std::vector<int>(8); | ||
omp_sort( integers.begin(), integers.end() ); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.