Re: [deal.II] Step-17 -PETSc () -- MPI -- Versions Conflict on Mac

2021-10-25 Thread Ahmed Galal
Do you have a suggestion for how to address it?

Thanks!

On Sunday, October 24, 2021 at 8:28:21 PM UTC-5 Wolfgang Bangerth wrote:

> On 10/23/21 1:01 PM, Ahmed Galal wrote:
> > PETSc Error --- Application was linked against both OpenMPI and MPICH 
> based 
> > MPI libraries and will not run correctly
>
> This is the error you need to address.
>
> Best
> W.
>
>
>
> -- 
> 
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c27b47d4-24df-44db-8fcf-dcd6360d766dn%40googlegroups.com.


[deal.II] Step-17 -PETSc () -- MPI -- Versions Conflict on Mac

2021-10-23 Thread Ahmed Galal
 

I tried to run Step-17 but I got the following error. Given I have two 
versions of PETSc. I use the other one for another software.

I googled and found that the issue is solved by commenting out the line 
"ADD_FLAGS(DEAL_II_LINKER_FLAGS "-fuse-ld=gold")" in 
"cmake/checks/check_01_compiler_features.cmake", make test, worked.
---
https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1

---

Any suggestions for how to get around that in the new version of DealII.9.3 
as I could not find a .cmake similar file to edit?

Thanks in advance!
Ahmed

Error:


PETSc Error --- Application was linked against both OpenMPI and MPICH based 
MPI libraries and will not run correctly

[] *** Process received signal ***

[]  Signal: Segmentation fault: 11 (11)

[]  Signal code: Address not mapped (1)

[] Failing at address: 0x68

[]  [ 0] 0   libsystem_platform.dylib0x7fff2041cd7d 
_sigtramp + 29

[]  [ 1] 0   ??? 0x60b9d791 0x0 
+ 1622792081

[]  [ 2] 0   libsystem_c.dylib   0x7fff202edfcc 
vfprintf_l + 28

[]  [ 3] 0   libsystem_c.dylib   0x7fff202e69a2 
fprintf + 160

[]  [ 4] 0   libpetsc.3.15.dylib 0x00014c224f0d 
PetscVFPrintfDefault + 685

 [ 5] 0   libpetsc.3.15.dylib 0x00014c2280d6 
PetscFPrintf + 726

 [ 6] 0   libpetsc.3.15.dylib 0x00014c21d537 
PetscErrorPrintfDefault + 375

[ 7] 0   libpetsc.3.15.dylib 0x00014c21d66a 
PetscTraceBackErrorHandler + 154

 [ 8] 0   libpetsc.3.15.dylib 0x00014c21713c PetscError 
+ 716

 [ 9] 0   libslepc.3.15.dylib 0x00014bc9cc8c 
SlepcInitialize + 428

 [10] 0   libdeal_II.g.9.3.0.dylib0x0001151ae627 
_ZN6dealii9Utilities3MPI16MPI_InitFinalizeC2ERiRPPcj + 135

 [11] 0   libdeal_II.g.9.3.0.dylib0x0001151aece9 
_ZN6dealii9Utilities3MPI16MPI_InitFinalizeC1ERiRPPcj + 9

[12] 0   step-17 0x00010f244892 main + 82

 [13] 0   libdyld.dylib   0x7fff203f2f3d start + 1

[14] 0   ??? 0x0001 0x0 + 1

 *** End of error message ***

make[3]: *** [CMakeFiles/run] Segmentation fault: 11

make[2]: *** [CMakeFiles/run.dir/all] Error 2

make[1]: *** [CMakeFiles/run.dir/rule] Error 2

make: *** [run] Error 2

bash-3.2$ 


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/3084a484-f33e-4f0a-8832-ea902fd81e8dn%40googlegroups.com.


Re: [deal.II] Missing (block_sparse_matrix)

2021-10-23 Thread Ahmed Galal

Thanks Daniel, for the suggestion! 
Ahmed
On Friday, October 22, 2021 at 8:37:08 AM UTC-5 d.arnd...@gmail.com wrote:

> Ahmed,
>
> The file and the respective classes were deleted in 
> https://github.com/dealii/dealii/pull/9761 and deprecated in 
> https://github.com/dealii/dealii/pull/5352.
> If you need to replace BlockMatrixArray, you should have a look at the 
> documentation in the latter pull request to use BlockLinearOperator(
> https://www.dealii.org/current/doxygen/deal.II/classBlockLinearOperator.html) 
> instead.
>
> Best,
> Daniel
>
> Am Fr., 22. Okt. 2021 um 04:29 Uhr schrieb Ahmed Galal <
> ahmed.g...@gmail.com>:
>
>> I am trying to compile a deal.ii code but it failed because of 
>> missing .
>>
>> I do not know how to include it in the recent dealii version. I found it 
>> available deal.ii 8.5.0.
>>
>> Thanks in advance!
>>
>>
>> -- 
>> 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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/442d1ff2-fa5d-4d09-bbd1-c188f0d467bbn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dealii/442d1ff2-fa5d-4d09-bbd1-c188f0d467bbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/0cd0c624-20a5-488e-8b8a-5e59feb87010n%40googlegroups.com.


[deal.II] Missing (block_sparse_matrix)

2021-10-22 Thread Ahmed Galal
I am trying to compile a deal.ii code but it failed because of 
missing .

I do not know how to include it in the recent dealii version. I found it 
available deal.ii 8.5.0.

Thanks in advance!


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/442d1ff2-fa5d-4d09-bbd1-c188f0d467bbn%40googlegroups.com.