JuliaGeodynamics / LaMEM.jl

Julia interface to LaMEM (Lithosphere and Mantle Evolution Model)
GNU General Public License v3.0
28 stars 12 forks source link

Added save_grid function #3

Closed IskanderI closed 1 year ago

IskanderI commented 1 year ago

Added new function run_lamem_save_grid("ParamFile",Cores) that calls lamem with option -mode save_grid and then returns the name of generated processor partitioning file. It was done by parsing of lamem output. Maybe not very elegant but did not required to change lamem and surely gives the name of just generated processor partitioning file if there is multiple of them in the directory.

boriskaus commented 1 year ago

Thanks - can you please add a test for this as well (see runtests.jl)

boriskaus commented 1 year ago

There are still some tests failing in windows when superlu_dist is used with one core. Those are however not related to this PR. Thanks for adding!