Skip to content

Commit

Permalink
Merge branch 'kemmler/particle_coupling_GPU' into 'master'
Browse files Browse the repository at this point in the history
Merge kemmler/particle_coupling_GPU (particle coupling using code generation for PSM) into master

See merge request walberla/walberla!696
  • Loading branch information
Ravi Ayyala committed Dec 9, 2024
2 parents b54b65c + 6c7516d commit 8baf82f
Show file tree
Hide file tree
Showing 73 changed files with 7,402 additions and 91 deletions.
24 changes: 14 additions & 10 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,18 @@ IncludeCategories:
- Regex: '^"core/'
Priority: 4
- Regex: '^"domain_decomposition/'
Priority: 6
Priority: 5
- Regex: '^"executiontree/'
Priority: 7
Priority: 6
- Regex: '^"fft/'
Priority: 8
Priority: 7
- Regex: '^"field/'
Priority: 9
Priority: 8
- Regex: '^"gather/'
Priority: 10
Priority: 9
- Regex: '^"geometry/'
Priority: 10
- Regex: '^"gpu/'
Priority: 11
- Regex: '^"gpu/'
Priority: 12
Expand All @@ -97,16 +99,18 @@ IncludeCategories:
Priority: 21
- Regex: '^"simd/'
Priority: 22
- Regex: '^"stencil/'
- Regex: '^"sqlite/'
Priority: 23
- Regex: '^"timeloop/'
- Regex: '^"stencil/'
Priority: 24
- Regex: '^"vtk/'
- Regex: '^"timeloop/'
Priority: 25
- Regex: '^<boost/'
- Regex: '^"vtk/'
Priority: 26
- Regex: '^<'
- Regex: '^<boost/'
Priority: 27
- Regex: '^<'
Priority: 28
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWidth: 3
Expand Down
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ stages:
-DWALBERLA_BUILD_WITH_CODEGEN=$WALBERLA_BUILD_WITH_CODEGEN
-DWALBERLA_STL_BOUNDS_CHECKS=$WALBERLA_STL_BOUNDS_CHECKS
-DWALBERLA_LOGLEVEL=$WALBERLA_LOGLEVEL
-DCMAKE_CUDA_ARCHITECTURES=60
- cmake . -LA
- make -j $NUM_BUILD_CORES -l $NUM_CORES
- ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
Expand Down
2 changes: 2 additions & 0 deletions apps/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ add_subdirectory( DEM )
add_subdirectory( MeshDistance )
add_subdirectory( CouetteFlow )
add_subdirectory( FreeSurfaceAdvection )
add_subdirectory( FluidizedBed )
add_subdirectory( FluidParticleCoupling )
add_subdirectory( FluidParticleCouplingWithLoadBalancing )
add_subdirectory( ForcesOnSphereNearPlaneInShearFlow )
add_subdirectory(Percolation)
add_subdirectory( GranularGas )
add_subdirectory( IntegratorAccuracy )
add_subdirectory( LennardJones )
Expand Down
4 changes: 1 addition & 3 deletions apps/benchmarks/FluidParticleCoupling/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,5 @@ waLBerla_add_executable ( NAME ObliqueWetCollision FILES ObliqueWetCollision.cpp

endif()



waLBerla_add_executable ( NAME ObliqueDryCollision FILES ObliqueDryCollision.cpp
DEPENDS blockforest core mesa_pd postprocessing )
DEPENDS blockforest core mesa_pd postprocessing )
6 changes: 6 additions & 0 deletions apps/benchmarks/FluidizedBed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
waLBerla_link_files_to_builddir("*.prm")

if (WALBERLA_BUILD_WITH_GPU_SUPPORT AND WALBERLA_BUILD_WITH_CODEGEN AND (CMAKE_CUDA_ARCHITECTURES GREATER_EQUAL 60 OR WALBERLA_BUILD_WITH_HIP))
waLBerla_add_executable(NAME FluidizedBed_PSM_GPU FILES FluidizedBedGPU.cpp
DEPENDS blockforest boundary core gpu domain_decomposition field lbm lbm_mesapd_coupling mesa_pd timeloop vtk PSMCodegenPython_srt_sc1)
endif ()
Loading

0 comments on commit 8baf82f

Please sign in to comment.