Re: [deal.II] Re: Problems in solving two PDE systems using MPI+Thread parallel computing

2017-05-20 Thread Bruno Turcksin
 Jack,

2017-05-19 22:06 GMT-04:00 Jack :
> I should update my OpenMPI to the latest version and such problem will be
> avoided and I do not need to change my code for initialization of MPI and
> TBB myself?
Unfortunately, you wil need to initialize MPI yourself or you can
change this line
https://github.com/dealii/dealii/blob/master/source/base/mpi.cc#L321
in
dealii/source/base/mpi.cc (replace MPI_THREAD_SERIALIZED by
MPI_THREAD_MULTIPLE) and recompile deal. Here is some explanation on
the different options available
https://www.open-mpi.org/doc/current/man3/MPI_Init_thread.3.php If you
still have the problem then you can try to update you version of
OpenMPI.

Best,

Bruno

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: "operator+=" error in the assemble_system()

2017-05-20 Thread hanks0227
Dear Jean-Paul,


> Firstly (and just so that we're all clear on what you're trying to 
> implement), was I correct that your comment that I linked contained the 
> description of the integral that you are trying to compute?
>  
>

Yes it is. that is something I have to do.


> No, this is not true. Here is this function's documentation 
> .
>  
> This is different from what is returned 
> 
>  
> if you use a FEValuesExtractor::Vector 
> 
> .
>  
>
>> sol_grad is also vector
>>
>
> Yes, since your original solution field is a scalar I think that this is 
> correct. 
>
> Is it now clear as to why you're seeing this error?
>
>
>
Thank you very much. Due to your help, I solved my problem.

Thank you again!!

Kyusik. 

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.