Hello,
I've recently installed fenics on a cluster. I can now execute my code with "python myscript.py" and "mpirun python myscript.py" and a bash script containing any of them. However, when I try to run this bash script through "sbatch -A myaccount -p myqueue bashscript", python is not able to find dolfin at all. I always get:
Traceback (most recent call last):
File "kk.py", line 1, in
from dolfin import *
ImportError: No module named dolfin
I tried exporting all environment variables (especially those from fenics.conf) through sbatch and mpirun, but no luck. I know this may not be a directly related question to fenics issues, but I'm writing in case anyone had a simillar issue (it's my last step to have a fully functioning fenics on a cluster)
Thank you very much for your help.