Running FEniCS on OS X vs Ubuntu
5 months ago by
I'm running simulations on some code that is similar to the code in https://github.com/hplgit/fenics-tutorial/blob/master/pub/python/vol1/ft09_reaction_system.py , the main difference being that the mesh in my code is much larger (2.2 million cell 3D mesh).
I'm using the GMRES solver with ILU preconditioner to solve the linear system (9.4 million x 9.4 million matrix). On OS X, installed via anaconda, it takes about 2 min per iteration, but the same code on Ubuntu takes 40 minutes per iteration. I get a message in the terminal that says 'PETSc Krylov solver starting to solve 9442208 x 9442208 system' and it moves to the next iteration after 40 minutes.
I'm using similar hardware - the Mac has an i5 processor with 8 GB RAM, and Ubuntu is running on a Dell with an i7 processor with 8 GB RAM. I'm able to run simulations on a model mesh that is smaller (1million x 1million linear system) on Ubuntu with no problems.
Has anyone else had a similar experience, or knows what the problem might be? Any help fixing this will be greatly appreciated.
Community: FEniCS Project
Please login to add an answer/comment or follow this question.