Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DON’t MERGE YET] Xbraid extension #471

Open
wants to merge 198 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 139 commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
5316b3f
Added gsXBraid extension
mmoelle1 Nov 3, 2020
ca17c7a
Added gsXBraid extension
mmoelle1 Nov 3, 2020
29477e1
Fixed bug in XBraid extension
mmoelle1 Nov 13, 2020
de93272
Updates gsXBraid extension and added xbraid_example
mmoelle1 Nov 20, 2020
420c38e
Fixed inconsistencies
mmoelle1 Nov 21, 2020
2939e4e
Added gsXBraid extension
mmoelle1 Nov 3, 2020
ae8cdf2
Fixed bug in XBraid extension
mmoelle1 Nov 13, 2020
514464c
Updates gsXBraid extension and added xbraid_example
mmoelle1 Nov 20, 2020
a518a57
Added dummy MPI_Comm in sequential mode
mmoelle1 Nov 21, 2020
ea07d15
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Nov 21, 2020
ac54a63
exort symbol from xbraid
filiatra Nov 21, 2020
976f6d7
Updated xbraid example application
mmoelle1 Nov 22, 2020
fdfd980
copy of heatEquation.cpp added (not yet adjusted)
roeltielen Nov 24, 2020
0006156
example deleted
roeltielen Nov 25, 2020
5de860c
Example using expression assembler added
roeltielen Nov 25, 2020
18ec8ae
heatEquation_example2 merged into xbraid_heatEquation_example
roeltielen Nov 27, 2020
d4782a1
Variables needed in Init,Step etc made private
roeltielen Dec 2, 2020
29bcc70
Complete implementation of gsXBraid extension
mmoelle1 Jan 19, 2021
d84d9ab
XBraid implementation of heat equation
mmoelle1 Jan 19, 2021
c4558f2
Small improvements of sequantial heat equation
mmoelle1 Jan 19, 2021
55f519d
Improvements of gsXBraid extension
mmoelle1 Jan 20, 2021
df032d6
Improvements of XBraid application
mmoelle1 Jan 20, 2021
6998f2b
Improved gsXBraid extension
mmoelle1 Jan 20, 2021
c01161f
Fixed minor bugs in XBraid example
mmoelle1 Jan 20, 2021
0bd46f9
Minor improvements of gsXBraid extension
mmoelle1 Jan 21, 2021
36b5d84
Improvements of XBraid heat equation example
mmoelle1 Jan 21, 2021
7d804ba
Improvements of XBraid heat equation example
mmoelle1 Mar 22, 2021
29bf530
Updated XBraid example
mmoelle1 Apr 21, 2021
ecf94b0
Updated README file
mmoelle1 May 5, 2021
c5bde47
Update README.md
mmoelle1 May 5, 2021
006e9bd
Updated XBraid example to use XML file for problem configuration
mmoelle1 May 5, 2021
d1343b5
Update README.md
mmoelle1 May 5, 2021
83c610f
Update README.md
mmoelle1 May 6, 2021
385053a
Updated XBraid example to use XML file for solver configuration
mmoelle1 May 6, 2021
927520e
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 May 6, 2021
aa88c40
[WIP] XBraid with p-multigrid
mmoelle1 May 13, 2021
475c1ab
[WIP] p-multigrid and MGRIT
roeltielen May 28, 2021
6e2d78e
Code cleanup
mmoelle1 Sep 27, 2021
9eac422
Updated CircleCI configuration
mmoelle1 Sep 27, 2021
8bbb591
Update config.yml
mmoelle1 Sep 27, 2021
ce8258d
Merge branch 'stable' into xbraid
mmoelle1 Sep 27, 2021
ae2e7e2
Fixed segfault in heatEquation_example2
mmoelle1 Nov 18, 2021
0a66c25
Renamed heatEquation_example2 into heatEquation2_example
mmoelle1 Nov 18, 2021
97b854b
Updated comment
mmoelle1 Nov 18, 2021
6dc3b34
Added initial version of a performance benchmark
mmoelle1 Nov 19, 2021
2afa1a0
Updated performance benchmark
mmoelle1 Nov 19, 2021
cda8eaa
Updated performance benchmark
mmoelle1 Nov 30, 2021
af12677
Updated performance benchmark
mmoelle1 Nov 30, 2021
0704922
Updated performance benchmark
mmoelle1 Nov 30, 2021
b6b7ad5
Updated performance benchmark
mmoelle1 Nov 30, 2021
31bbf2a
Added distinction between Clang and Apple Clang in printVersion()
mmoelle1 Nov 30, 2021
1dd58e9
Added function to specify the number of digits in util::to_string
mmoelle1 Dec 3, 2021
7c43e1c
Added OpenMP dummy implementation to be used if no omp.h is available
mmoelle1 Dec 3, 2021
80cdf76
Added functionality to retrieve compiler and system information
mmoelle1 Dec 3, 2021
acd0440
Updated performance benchmark application
mmoelle1 Dec 3, 2021
09ff7bf
Updated performance benchmark application
mmoelle1 Dec 3, 2021
280f266
Merge branch 'stable' into xbraid
mmoelle1 Dec 3, 2021
8fcc1c6
Fixed small bugs in getCpuInfo and getMemoryInfo under Linux/x86_64
mmoelle1 Dec 3, 2021
9b55dd7
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 3, 2021
349c3cd
Moved system information functionality from gsCmpLine into gsSysInfo
mmoelle1 Dec 5, 2021
ae149d1
New general benchmarking framework
mmoelle1 Dec 5, 2021
3c4c249
Included gsBenchmark.h and gsSysInfo.h in gismo.h
mmoelle1 Dec 5, 2021
63f03af
Updated handling of C++ standard
mmoelle1 Dec 5, 2021
84406e6
Migrated benchmark application to new gsBenchmark class
mmoelle1 Dec 5, 2021
ea4ddf8
fix compilation, moved gsOpenMp to the gsParallel folder
filiatra Dec 5, 2021
bee9785
add possibility to read/write string in gsFileData
filiatra Dec 5, 2021
a0a6876
Merge remote-tracking branch 'origin/stable' into xbraid
filiatra Dec 5, 2021
b3ed122
update syntax
filiatra Dec 5, 2021
662db95
small fix
filiatra Dec 5, 2021
90c137e
update cmake
filiatra Dec 5, 2021
ec9ce9f
small fix
filiatra Dec 5, 2021
8e39b85
fixes
filiatra Dec 5, 2021
4e47ad9
fix
filiatra Dec 5, 2021
bfcfcc9
fixes
filiatra Dec 5, 2021
f46c458
some fixes
filiatra Dec 6, 2021
f0c90a5
fix
filiatra Dec 6, 2021
b1d086b
small fix
mmoelle1 Dec 6, 2021
94148c9
small fix
filiatra Dec 6, 2021
e944623
remove 98 build
filiatra Dec 6, 2021
b0cd373
small fixes
mmoelle1 Dec 6, 2021
0542803
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 6, 2021
bb037f4
small fixes
mmoelle1 Dec 6, 2021
1957f17
fix for windows
filiatra Dec 6, 2021
a82b827
fix for macos
mmoelle1 Dec 9, 2021
c9283af
small fixes
mmoelle1 Dec 9, 2021
ed618f9
improved benchmark
mmoelle1 Dec 9, 2021
2bb7257
small fixes
mmoelle1 Dec 9, 2021
6903a76
allow different values for index_t and short_t
mmoelle1 Dec 9, 2021
f85fe90
small fixes
mmoelle1 Dec 9, 2021
1f7db1e
improved benchmark
mmoelle1 Dec 9, 2021
fb4b142
small improvements of benchmark
mmoelle1 Dec 9, 2021
a2ebc1b
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 9, 2021
bfafdff
small fixes
mmoelle1 Dec 9, 2021
689abfc
fix benchmark
mmoelle1 Dec 9, 2021
4aa98a5
dox documentation of performance benchmark
mmoelle1 Dec 9, 2021
4f10f00
Merge branch 'stable' into xbraid
mmoelle1 Dec 13, 2021
f2f3e1a
info about extra libs
mmoelle1 Dec 14, 2021
feca32b
print info about extra libs
mmoelle1 Dec 14, 2021
1a13c62
better implementation of averaged benchmark results
mmoelle1 Dec 14, 2021
4a7c727
C++ zip implementation to iterate over multiple iterators simultaneously
mmoelle1 Dec 14, 2021
025a2e2
small fixes
mmoelle1 Dec 16, 2021
126b306
small fixes
mmoelle1 Dec 16, 2021
ff3febd
util::to_string for std::tuples
mmoelle1 Dec 16, 2021
1158ef5
deleted trailing whitespaces
mmoelle1 Dec 17, 2021
70e762f
small fixes
mmoelle1 Dec 17, 2021
ae84e98
small fixes
mmoelle1 Dec 17, 2021
f41182d
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 17, 2021
92ace9e
small fixes
mmoelle1 Dec 17, 2021
c8ecddc
small fixes
mmoelle1 Dec 17, 2021
952c1cb
small fixes
mmoelle1 Dec 17, 2021
ff4f3fa
math::max and math::min with an arbitrary number of arguments
mmoelle1 Dec 19, 2021
ef8e659
GISMO_HAS_OPENMPxy with xy being the OpenMP version number 2.5-5.2
mmoelle1 Dec 19, 2021
dc7c1eb
small fixes
mmoelle1 Dec 19, 2021
1dc64b4
fixed small bug
mmoelle1 Dec 19, 2021
591661d
small fixes with GISMO_HAS_OPENMPxy
mmoelle1 Dec 20, 2021
c1f6f74
small fixes
mmoelle1 Dec 20, 2021
f14c71d
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 20, 2021
9f1e224
Merge branch 'stable' into xbraid
mmoelle1 Dec 21, 2021
7c97ce1
small bug fix
mmoelle1 Dec 21, 2021
814d9ad
Added support for Cray and Fujitsu
mmoelle1 Dec 21, 2021
82cf594
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Dec 21, 2021
82c2c00
Fixed bugs in Fujitsu support
mmoelle1 Dec 21, 2021
22aaf99
Fixed small bugs in Fujitsu support
mmoelle1 Dec 21, 2021
e555802
Fixed bug in Cray support
mmoelle1 Dec 21, 2021
f494955
Fixed bug in Cray support
mmoelle1 Dec 21, 2021
6047e77
Made private classes public
mmoelle1 Dec 26, 2021
40b1e06
small fixes
mmoelle1 Dec 26, 2021
8e7c624
Small fix for Fujitsu compiler in LLVM mode
mmoelle1 Dec 28, 2021
25bb3d6
Small fixes in benchmark
mmoelle1 Dec 28, 2021
94f73cf
Small fixes
mmoelle1 Dec 28, 2021
e74ca42
Small fix for Fujitsu compiler in LLVM mode
mmoelle1 Dec 28, 2021
1abb932
small fixes
mmoelle1 Dec 31, 2021
bf4d01b
Added XML input/output for benchmark framework
mmoelle1 Jan 5, 2022
aac53af
Updated performance benchmark application
mmoelle1 Jan 5, 2022
0078909
Merge branch 'stable' into xbraid
mmoelle1 Jan 10, 2022
571a979
code cleanup
mmoelle1 Jan 10, 2022
727142a
more performance benchmarks
mmoelle1 Jan 10, 2022
fdf8732
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Jan 10, 2022
57f1f6e
fixed duplicate symbol error
mmoelle1 Jan 10, 2022
28ba25c
small fix
filiatra Jan 11, 2022
2a81fc7
fixed small bug
mmoelle1 Jan 11, 2022
7245a63
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Jan 11, 2022
f846195
small bug in Circle CI configuration
mmoelle1 Jan 11, 2022
d0675ef
Aarch64 builds in Circle CI configuration
mmoelle1 Jan 11, 2022
7cdec6f
Updated config.yml
mmoelle1 Jan 11, 2022
1ae907a
Aarch64 builds in Circle CI configuration
mmoelle1 Jan 11, 2022
aad6772
Aarch64 builds in Circle CI configuration
mmoelle1 Jan 11, 2022
cc73117
Cleanup Circle CI configuration
mmoelle1 Jan 11, 2022
54fac62
Updated OFA
mmoelle1 Jan 13, 2022
442a7eb
Updated OFA
mmoelle1 Jan 13, 2022
f71c2d5
Updated OFA
mmoelle1 Jan 13, 2022
8e64aae
Updated OFA
mmoelle1 Jan 13, 2022
6c9d4d5
Updated OFA
mmoelle1 Jan 13, 2022
b8c6e2a
Updated OFA
mmoelle1 Jan 13, 2022
bddc0a4
Updated OFA
mmoelle1 Jan 14, 2022
1bf57e5
Updated OFA
mmoelle1 Jan 14, 2022
0fb727f
Merge branch 'stable' into xbraid
filiatra Jan 15, 2022
f81c595
Update OFA
mmoelle1 Jan 17, 2022
b3a476f
Update OFA
mmoelle1 Jan 17, 2022
ee1e287
Update OFA - x86 completed
mmoelle1 Jan 19, 2022
5c5259d
Update OFA - x86 completed
mmoelle1 Jan 19, 2022
43826bd
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Jan 19, 2022
1cc29b0
Updated Gitlab CI
mmoelle1 Jan 19, 2022
0922056
Merge with stable
mmoelle1 Jan 19, 2022
95927da
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Jan 19, 2022
40ce2c9
Update OFA - x86 completed
mmoelle1 Jan 20, 2022
075da69
Updated OFA
mmoelle1 Jan 21, 2022
c1895d2
Replaced benchmark namespace by utils
mmoelle1 Jan 21, 2022
3392061
Updated OFA
mmoelle1 Jan 23, 2022
3c2ac14
Fixed bug in gsBenchmark
mmoelle1 Jan 25, 2022
088f6f6
Update OFA - x86 completed
mmoelle1 Jan 25, 2022
6e8ea29
Fixed small bug in AddCXXCompilerOptions
mmoelle1 Jan 25, 2022
bf357b2
[ci skip] Fixed small bug on OFA - X86 checks
mmoelle1 Jan 26, 2022
599d11a
[ci skip] Updated OFA
mmoelle1 Jan 26, 2022
e8078ec
[ci skip] Updated OFA - cpuinfo x86 onder FreeBSD
mmoelle1 Jan 28, 2022
99f6d9c
System information for FreeBSD
mmoelle1 Jan 28, 2022
973909e
[ci skip] Updated OFA
mmoelle1 Jan 30, 2022
d736488
Merge branch 'xbraid' of https://github.com/gismo/gismo into xbraid
mmoelle1 Jan 30, 2022
29a58ca
[ci skip] Updated OFA
mmoelle1 Jan 31, 2022
03a299e
[ci skip] Update OFA - x86 completed
mmoelle1 Feb 1, 2022
10f9be6
[ci skip] Update OFA - x86 completed
mmoelle1 Feb 2, 2022
0ffa60b
Fixed broken CMake message
mmoelle1 Feb 2, 2022
304770e
[ci skip] Made OFA compatible to CMake 3.2
mmoelle1 Feb 2, 2022
c3d9790
[ci skip] Run OFA for CMake >= 3.2.0 only
mmoelle1 Feb 2, 2022
4917e78
[ci skip] Made OFA compatible to CMake 3.2
mmoelle1 Feb 2, 2022
a0f778b
[ci skip] Updated performance benchmark documentation
mmoelle1 Feb 2, 2022
ef05a6e
[ci skip] Updated README
mmoelle1 Feb 2, 2022
9b8a340
[ci skip] Removed obsolete code
mmoelle1 Feb 2, 2022
4c00996
[ci skip] Updated README
mmoelle1 Feb 2, 2022
c0b9b06
[ci skip] Removed obsolete code
mmoelle1 Feb 2, 2022
68cbeae
[ci skip] update OFA
mmoelle1 Feb 3, 2022
aa96027
[ci skip] fix OFA - macros for AMD
mmoelle1 Feb 3, 2022
9369705
[ci skip] update OFA
mmoelle1 Feb 10, 2022
6fc133b
Fixed ambigious naming of enums
mmoelle1 May 17, 2022
1b7231a
Changed some attributes from protected to public as they are needed b…
mmoelle1 May 17, 2022
c5600d4
Migrated the XBraid p-multigrid solver to the new assembler
mmoelle1 May 17, 2022
4c7898b
Updated configuration of the XBraid p-multigrid example
mmoelle1 May 17, 2022
e88a01b
Merge branch 'stable' into xbraid
mmoelle1 May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- checkout
- run:
name: Configure G+Smo on MacOS
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode10_cxx11_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=11 -DGISMO_WITH_ONURBS=ON
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode11_cxx11_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=11 -DGISMO_WITH_ONURBS=ON
- run:
name: Build and test G+Smo on MacOS
command: ctest -S cmake/ctest_script.cmake -D KEEPCONFIG=ON -D CTEST_BUILD_JOBS=$MAKEJOBS

macos_x86_64_xcode11_cxx14_release:
macos_x86_64_xcode12_cxx14_release:
mmoelle1 marked this conversation as resolved.
Show resolved Hide resolved
macos:
xcode: "11.7.0"
xcode: "12.5.1"
working_directory: ~/gismo
environment:
MAKEJOBS: 4
Expand All @@ -32,12 +32,12 @@ jobs:
- checkout
- run:
name: Configure G+Smo on MacOS
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode11_cxx14_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=14 -DGISMO_WITH_ONURBS=ON
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode12_cxx14_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=14 -DGISMO_WITH_ONURBS=ON
- run:
name: Build and test G+Smo on MacOS
command: ctest -S cmake/ctest_script.cmake -D KEEPCONFIG=ON -D CTEST_BUILD_JOBS=$MAKEJOBS

macos_x86_64_xcode12_cxx17_release:
macos_x86_64_xcode13_cxx17_release:
macos:
xcode: "12.5.1"
working_directory: ~/gismo
Expand All @@ -50,7 +50,7 @@ jobs:
- checkout
- run:
name: Configure G+Smo on MacOS
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode12_cxx17_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=17 -DGISMO_WITH_ONURBS=ON
command: cmake . -DCMAKE_QUIET=ON -DBUILDNAME="macos_x86_64_xcode13_cxx17_release" -DSITE="$CIRCLE_USERNAME-$CIRCLE_BRANCH [cci]" -DGISMO_INSOURCE_BUILD=ON -DGISMO_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=17 -DGISMO_WITH_ONURBS=ON
- run:
name: Build and test G+Smo on MacOS
command: ctest -S cmake/ctest_script.cmake -D KEEPCONFIG=ON -D CTEST_BUILD_JOBS=$MAKEJOBS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gismo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: ctest -S gismo/cmake/ctest_script.cmake -D CTEST_BUILD_NAME="actions_$GITHUB_RUN_NUMBER" -D CTEST_SITE="${{ matrix.os }}_[actions]" -D CMAKE_ARGS="-DCMAKE_BUILD_TYPE=$BUILD_TYPE;-DCMAKE_CXX_STANDARD=11;-DGISMO_EXTRA_DEBUG=ON;-DGISMO_WITH_ONURBS=ON;-DGISMO_BUILD_UNITTESTS=ON" -Q
run: ctest -S gismo/cmake/ctest_script.cmake -D CTEST_BUILD_NAME="actions_$GITHUB_RUN_NUMBER" -D CTEST_SITE="${{ matrix.os }}_[actions]" -D CMAKE_ARGS="-DCMAKE_BUILD_TYPE=$BUILD_TYPE;-DCMAKE_CXX_STANDARD=14;-DGISMO_EXTRA_DEBUG=ON;-DGISMO_WITH_ONURBS=ON;-DGISMO_BUILD_UNITTESTS=ON" -Q
37 changes: 27 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,26 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

if(NOT CMAKE_BUILD_TYPE)
# Set default build type to Release
set(CMAKE_BUILD_TYPE Release CACHE STRING
"Type of build (None Debug Release RelWithDebInfo MinSizeRel)" FORCE)
if(NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release"
"RelWithDebInfo" "MinSizeRel")
endif()
# Set default build type to Release
set(CMAKE_BUILD_TYPE Release CACHE STRING
"Type of build (None Debug Release RelWithDebInfo MinSizeRel)" FORCE)
if(NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release"
"RelWithDebInfo" "MinSizeRel")
endif()
endif()

if(NOT CMAKE_CXX_STANDARD)
# Set default C++ standard
if (NOT CMAKE_CXX_STANDARD_DEFAULT)
set(CMAKE_CXX_STANDARD 11 CACHE STRING
"C++ standard (98, 11, 14, 17, 20)" FORCE)
else()
set(CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD_DEFAULT} CACHE STRING
"C++ standard (98, 11, 14, 17, 20)" FORCE)
endif()
set_property(CACHE CMAKE_CXX_STANDARD PROPERTY STRINGS "98" "11" "14"
"17" "20")
endif()

set(gismo_VERSION_MAJOR 21) #year
Expand All @@ -59,9 +72,9 @@ if(CMAKE_QUIET)
function(message)
list(GET ARGV 0 MessageType)
if(MessageType STREQUAL FATAL_ERROR OR
MessageType STREQUAL SEND_ERROR OR
MessageType STREQUAL WARNING OR
MessageType STREQUAL AUTHOR_WARNING)
MessageType STREQUAL SEND_ERROR OR
MessageType STREQUAL WARNING OR
MessageType STREQUAL AUTHOR_WARNING)
list(REMOVE_AT ARGV 0)
_message(${MessageType} "${ARGV}")
endif()
Expand Down Expand Up @@ -269,6 +282,10 @@ if(GISMO_WITH_SMESH)
#include_directories(${SMESH_INCLUDE_DIR})
endif()

if(GISMO_WITH_XBRAID)
add_subdirectory(extensions/gsXBraid)
endif(GISMO_WITH_XBRAID)

#second time
include_directories(${GISMO_INCLUDE_DIRS})

Expand Down