sfilippone / psblas3

A library of parallel sparse linear algebra on high performance computer.
Other
56 stars 12 forks source link

Compiling issues with gcc10 (Type mismatch between actual argument) #18

Closed AliE89 closed 2 years ago

AliE89 commented 2 years ago

Ciao Salvatore,

I am trying to compile psblas and amg4psblas to give them a try in my CFD code.

I am getting the following issue while compiling with gcc-10.2.0 and openmpi-4.1.0 (screenshot attached):

image

What do you think the issue might be?

Cheers

AliE89 commented 2 years ago

So It looks like that this is something starting to appear from gcc-10 and a possible work around is to add "-fallow-argument-mismatch" to the FFLAGS. However, I am happy if you want to check on your side as I am not sure what can happen run-time.

sfilippone commented 2 years ago

Yes, that is correct, -fallow-arguments-mismatch solves this and other issues down the line. I am actually designing and working on version 4, which is going to have a slightly different internal setup, so that that compiler flag will no longer be needed.

As for PSBLAS3, if you download the development branch, the fix was already included in the configure script; pls let me know if it works for you

Salvatore

sfilippone commented 2 years ago

Yes, that is correct, -fallow-arguments-mismatch solves this and other issues down the line. I am actually designing and working on version 4, which is going to have a slightly different internal setup, so that that compiler flag will no longer be needed.

As for PSBLAS3, if you download the development branch, the fix was already included in the configure script; pls let me know if it works for you

Salvatore

I plan to publish shortly version 3.8, which will contain some changes/enhancements in the matrix build procedure, so this fix will be included in the next release; it would be appreciated if you could verify it works. Thanks

sfilippone commented 2 years ago

Version 3.8.0 published, should be fixed by now.

sfilippone commented 2 years ago

Yes, that is correct, -fallow-arguments-mismatch solves this and other issues down the line. I am actually designing and working on version 4, which is going to have a slightly different internal setup, so that that compiler flag will no longer be needed.

As for PSBLAS3, if you download the development branch, it should be already fixed in the configure script; pls let me know if it works for you

Salvatore

On Thu, May 19, 2022 at 10:11 AM AliE89 @.***> wrote:

So It looks like that this is something starting to appear from gcc-10 and a work aroud is to add "-fallow-argument-mismatch" to the FFLAGS. However, I am ahppy if you want to check on your side :)

— Reply to this email directly, view it on GitHub https://github.com/sfilippone/psblas3/issues/18#issuecomment-1131379619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD274T5IGQKCENKCVAXLFRDVKXZSRANCNFSM5WLJ77BA . You are receiving this because you are subscribed to this thread.Message ID: @.***>