1 | initial version |
I've been in touch with the CoCalc staff about this error. It seems to be due to the implementation of Pythran in CoCalc's version of SageMath 10.1 and this might be fixed when SageMath 10.2 (to be released soon) will be installed in CoCalc.
Fortunately, there is an easy workaround: select the kernel "SageMath 10.0" to run the notebook, instead of the default "SageMath 10.1". To do this, it suffices to click on the blue "SageMath 10.1" in the top right menu and select "SageMath 10.0" at the bottom of the page. Then move to the "Kernel" button of the top menu and select "Restart kernel and run all". I've tried this solution on my CoCalc account and it works nicely for this notebook.
Note that the notebook is memory demanding and you might want to first try the lower resolution configuration
n_cpu = 4 # 4 Go Ram minimum
n_geod = 100
nx, ny = 180, 90
at the top of the notebook.