I am testing a setup that avoids loading the floors package (floors/on = false) and also fofc/on = true.
However I get a segmentation fault at the very first step.
I think the issue is that even though the floors package is not loaded at all, the function KHARMADriver::AddFOFC in
kharma/driver/kharma_driver.cpp
calls
auto t_mark_floors = tl.AddTask(t_guess_prims, Floors::DetermineGRMHDFloors, guess, IndexDomain::entire, fofc_floors, fofc_floors_inner);
calling the floors package without performing a check.
Maybe the floors package should be loaded anyway, and something like this should be implemented in kharma/kharma.cpp?
bool floors_on = pin->GetOrAddBoolean("floors", "on", floors_on_default);
if (!floors_on) {
pin->SetBoolean("floors", "disable_call", true);
}
I am testing a setup that avoids loading the floors package (floors/on = false) and also fofc/on = true.
However I get a segmentation fault at the very first step.
I think the issue is that even though the floors package is not loaded at all, the function KHARMADriver::AddFOFC in
kharma/driver/kharma_driver.cpp
calls
auto t_mark_floors = tl.AddTask(t_guess_prims, Floors::DetermineGRMHDFloors, guess, IndexDomain::entire, fofc_floors, fofc_floors_inner);calling the floors package without performing a check.
Maybe the floors package should be loaded anyway, and something like this should be implemented in kharma/kharma.cpp?