Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
example_app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jean-Noël Grad
example_app
Commits
4cf0a4b4
Commit
4cf0a4b4
authored
3 years ago
by
Jean-Noël Grad
Browse files
Options
Downloads
Patches
Plain Diff
Fix regression
parent
6d7c6300
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#37118
passed
3 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
apps/example_app_codegen/CMakeLists.txt
+1
-1
1 addition, 1 deletion
apps/example_app_codegen/CMakeLists.txt
apps/example_app_codegen/Readme.md
+1
-1
1 addition, 1 deletion
apps/example_app_codegen/Readme.md
with
3 additions
and
2 deletions
CMakeLists.txt
+
1
−
0
View file @
4cf0a4b4
...
@@ -11,6 +11,7 @@ if(NOT CCACHE)
...
@@ -11,6 +11,7 @@ if(NOT CCACHE)
endif
()
endif
()
message
(
STATUS
"Found ccache
${
CCACHE
}
"
)
message
(
STATUS
"Found ccache
${
CCACHE
}
"
)
set
(
CMAKE_CXX_COMPILER_LAUNCHER
${
CCACHE
}
CACHE STRING
"ccache executable"
)
set
(
CMAKE_CXX_COMPILER_LAUNCHER
${
CCACHE
}
CACHE STRING
"ccache executable"
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
# Extends cmake module path - so that FindwaLBerla.cmake in the current directory is found
# Extends cmake module path - so that FindwaLBerla.cmake in the current directory is found
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
your_project_name_SOURCE_DIR
}
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
your_project_name_SOURCE_DIR
}
)
...
...
This diff is collapsed.
Click to expand it.
apps/example_app_codegen/CMakeLists.txt
+
1
−
1
View file @
4cf0a4b4
...
@@ -10,4 +10,4 @@ waLBerla_add_executable ( NAME ExampleAppCodegen
...
@@ -10,4 +10,4 @@ waLBerla_add_executable ( NAME ExampleAppCodegen
FILES ExampleApp.cpp
FILES ExampleApp.cpp
DEPENDS blockforest core field lbm geometry timeloop gui
DEPENDS blockforest core field lbm geometry timeloop gui
LatticeModelGenerated
)
LatticeModelGenerated
)
target_compile_options
(
ExampleAppCodegen PRIVATE -mavx2
)
This diff is collapsed.
Click to expand it.
apps/example_app_codegen/Readme.md
+
1
−
1
View file @
4cf0a4b4
...
@@ -16,7 +16,7 @@ VERSION=0.4.4 DEPS="/work/jgrad/walberla_deps" PYTHONPATH="${DEPS}/${VERSION}/lb
...
@@ -16,7 +16,7 @@ VERSION=0.4.4 DEPS="/work/jgrad/walberla_deps" PYTHONPATH="${DEPS}/${VERSION}/lb
Then compile the AVX binary separately with:
Then compile the AVX binary separately with:
```
sh
```
sh
(
cd
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen
&&
/usr/bin/ccache /usr/bin/clang++
-DBOOST_ALL_NO_LIB
-I
/work/jgrad/walberla_deps/devel/example_app/build/walberla/src
-I
/work/jgrad/walberla_deps/devel/walberla/src
-I
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen/default_codegen
-isystem
/work/jgrad/walberla_deps/devel/example_app/src
-isystem
/work/jgrad/walberla_deps/devel/example_app/build/src
-isystem
/work/jgrad/walberla_deps/0.4.4/pystencils/pystencils/include
-isystem
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
-isystem
/usr/lib/x86_64-linux-gnu/openmpi/include
-Wall
-Wconversion
-Wshadow
-Wno-c
++11-extensions
-Qunused-arguments
-pthread
-pthread
-g
-std
=
gnu++17
-DWALBERLA_BUILD_WITH_AVX
-o
CMakeFiles/ExampleAppCodegen.dir/ExampleAppAVX.cpp.o
-c
/work/jgrad/walberla_deps/devel/example_app/apps/example_app_codegen/ExampleApp.cpp
)
(
cd
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen
&&
/usr/bin/ccache /usr/bin/clang++
-DBOOST_ALL_NO_LIB
-I
/work/jgrad/walberla_deps/devel/example_app/build/walberla/src
-I
/work/jgrad/walberla_deps/devel/walberla/src
-I
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen/default_codegen
-isystem
/work/jgrad/walberla_deps/devel/example_app/src
-isystem
/work/jgrad/walberla_deps/devel/example_app/build/src
-isystem
/work/jgrad/walberla_deps/0.4.4/pystencils/pystencils/include
-isystem
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
-isystem
/usr/lib/x86_64-linux-gnu/openmpi/include
-Wall
-Wconversion
-Wshadow
-Wno-c
++11-extensions
-Qunused-arguments
-pthread
-pthread
-g
-std
=
gnu++17
-DWALBERLA_BUILD_WITH_AVX
-mavx2
-o
CMakeFiles/ExampleAppCodegen.dir/ExampleAppAVX.cpp.o
-c
/work/jgrad/walberla_deps/devel/example_app/apps/example_app_codegen/ExampleApp.cpp
)
(
cd
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen
&&
/tikhome/jgrad/.local/lib/python3.8/site-packages/cmake/data/bin/cmake
-E
cmake_link_script CMakeFiles/ExampleAppCodegen.dir/link.txt
--verbose
=
1
(
cd
/work/jgrad/walberla_deps/devel/example_app/build/apps/example_app_codegen
&&
/tikhome/jgrad/.local/lib/python3.8/site-packages/cmake/data/bin/cmake
-E
cmake_link_script CMakeFiles/ExampleAppCodegen.dir/link.txt
--verbose
=
1
/usr/bin/clang++
-Wall
-Wconversion
-Wshadow
-Wno-c
++11-extensions
-Qunused-arguments
-pthread
-pthread
-g
CMakeFiles/ExampleAppCodegen.dir/ExampleAppAVX.cpp.o
-o
ExampleAppCodegenAVX
-Wl
,-rpath,/usr/lib/x86_64-linux-gnu/openmpi/lib ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/libpfft.so /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so ../../walberla/extern/lodepng/liblodepng.a /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/libpfft.so /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so
)
/usr/bin/clang++
-Wall
-Wconversion
-Wshadow
-Wno-c
++11-extensions
-Qunused-arguments
-pthread
-pthread
-g
CMakeFiles/ExampleAppCodegen.dir/ExampleAppAVX.cpp.o
-o
ExampleAppCodegenAVX
-Wl
,-rpath,/usr/lib/x86_64-linux-gnu/openmpi/lib ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a ../../walberla/src/blockforest/libblockforest.a ../../walberla/src/core/libcore.a ../../walberla/src/field/libfield.a ../../walberla/src/lbm/liblbm.a ../../walberla/src/geometry/libgeometry.a ../../walberla/src/timeloop/libtimeloop.a ../../walberla/src/gui/libgui.a libLatticeModelGenerated.a ../../walberla/src/domain_decomposition/libdomain_decomposition.a ../../walberla/src/vtk/libvtk.a ../../walberla/src/boundary/libboundary.a /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/libpfft.so /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so ../../walberla/extern/lodepng/liblodepng.a /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/libpfft.so /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so
)
```
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment