msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.29k stars 1.22k forks source link

Does libscotch.dll from scotch-int64 and mingw-scotch-int64 packages really provide int64 interface? #22540

Open ChessMastery opened 3 hours ago

ChessMastery commented 3 hours ago

Description / Steps to reproduce the issue

I downloaded mingw-w64-x86_64-mumps package, and used it correctly with libscotch.dll from mingw-w64-x86_64-scotch package. Then I downloaded mingw-w64-x86_64-scotch-int64 and mingw-w64-ucrt-x86_64-scotch-int64, and these packages also provide libscotch.dll, but when I replace old libscotch.dll with the one provided by these packages, mumps still works correctly. From the other hand, when I try to link "int64" libscotch.dll to 64-bit integer mumps, it return error -52 that means it thinks 32-bit scotch was provided. How should I check which functions does libscotch.dll export and are they 32-bit-int or 64-bit-int?

Expected behavior

Expected behaviour: I guess mumps-int32 should not work fine with scotch-int64.

Actual behavior

Actual behaviour: mumps-int32 works fine with libscotch.dll obtained from scotch-in64 and ucrt-scotch-int64 packages.

Verification

Windows Version

Windows 10 Pro 22H2

MINGW environments affected

Are you willing to submit a PR?

No response

Biswa96 commented 2 hours ago

@3rav could you look into this issue please?