On Wed Jan 28 2015 at 08:48:13 Palraj J <[email protected]> wrote:

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

Change MPI::process_number()  -> MPI::rank()

Garth


> 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'
> --
> *J. Palraj,*
> Research Scholar,
> Department of Mathematics,
> PSG College of Arts & Science,
> Coimbatore - 641 014,
> Tamilnadu, India.
>  _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to