It’s bizarre that this error appears during JIT compilation. It’s a pretty standard UMFPACK error where you’ve hit the (very low) default memory limit. Try changing your solver to mumps, or running in parallel, and see if you hit the same issue.
For now I just do python script.py and it appears to use all the cores I have, so I think it does run in parallel (also same script runs faster on larger number of cores). Is there anything extra I should do to run in parallel?
Also the problem is nonlinear, will adding the follwing actually help?
maybe you’re running an antiquated version of FEniCS which has crude support for concurrency. Try setting the environment variable export OMP_NUM_THREADS=1 and then rerunning in serial to make sure you’re not using more than one process.
FEniCS versions 2018 and beyond should not have this problem.
The latest version of fenics on conda-forge is fenics=2019.1.0=py39hf3d152e_19 which
gives the original UMFPACK error. Which version of fenics should I use?