This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Getting error while running old program

0 votes

Lastly I update the latest version of fenics while I am running old program I am getting the following error

bcs=bc, reassemble_lhs=False)
File "/home/palraj/Desktop/work/cbc/pdesys/PDESubSystems.py", line 324, in init
PDESubSystemBase.init(self, solver_namespace, sub_system, bcs, normalize, **kwargs)
File "/home/palraj/Desktop/work/cbc/pdesys/PDESubSystems.py", line 61, in __init__
self.query_args(sub_system)
File "/home/palraj/Desktop/work/cbc/pdesys/PDESubSystems.py", line 99, in query_args
self.work = self.get_work_vector()
File "/home/palraj/Desktop/work/cbc/pdesys/PDESubSystems.py", line 288, in get_work_vector
info_green('Creating new work vector for {0:s}'.format(self.name))
File "/home/palraj/Desktop/work/cbc/pdesys/PDESubSystems.py", line 909, in info_green
if MPI.process_number()==0:
AttributeError: type object 'MPI' has no attribute 'process_number'

closed with the note: Please send this question to the fenics-support mailing list: http://fenicsproject.org/mailman/listinfo/fenics-support
asked Jan 28, 2015 by palraj j FEniCS Novice (190 points)
closed Jan 28, 2015 by johannr
...