dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 37 forks source link

Flow Solver Memory Allocation Fix #217

Closed jbrillon closed 1 year ago

jbrillon commented 1 year ago

PR to incorporate fixes that @AlexanderCicchino discovered in terms of DG's and explicit ODE solver's allocation. This fix also now passes the necessary flags to allocate_system within Flow Solver. On the current version of master, for a viscous TGV simulation a total of 4^3 elements, the maximum polynomial degree I could get the code to allocate/run locally (32GB of ram, 8 processors), was P5. With these changes, I am now able to run P15 with the same number of elements on the same computer (32GB of ram, 8 processors). This is expected to solve the memory allocation issues I've been having on the cluster.