preCICE and mingw packages

Hi,
I recently I added the preCICE package to the mingw (msys) environment:

Is it worth adding an MPI compilation flag (mingw currently has msmpi)?:
-DPRECICE_MPICommunication=ON

2 Likes

@rafal Thank you for contributing the package!

MPI communication is very useful to speed-up the intra-participant configuration, so enabling it will definitely pay off.

We don’t have a lot of experience with msmpi, but are definitely aiming to support it. Our long term goal is for preCICE to run natively on Windows and supporting the Microsoft MPI SDK is one item on the TODO list.

Could you try to build the package with MPI enabled?
Every crumb of information helps at this stage.

Hi,

Pull request accepted (enable mpi):

PETSc should also be added soon (to msys2/mingw64):

A post was split to a new topic: CalculiX adapter with MinGW

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

I reopened this (automatically closed) topic. Let’s use this as the central place to discuss package updates. (see Base Package: mingw-w64-precice - MSYS2 Packages)

1 Like

$ pacman -S mingw-w64-x86_64-precice
error: mingw32: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” is unknown
error: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” could not be looked up remotely
error: mingw64: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” is unknown
error: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” could not be looked up remotely
error: msys: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” is unknown
error: key “5F944B027F7FE2091985AA2EFA11531AA0AA7F57” could not be looked up remotely
error: database ‘mingw32’ is not valid (invalid or corrupted database (PGP signature))
error: database ‘mingw64’ is not valid (invalid or corrupted database (PGP signature))
error: database ‘msys’ is not valid (invalid or corrupted database (PGP signature))

sir ,getting this type of error, sir i am using msys2 openfoamv2012 on windows 8.1 and i just want to try foam to foam coupling.

Is your installation of mingw/msys up to date or do you use an older version? Could you tell us what happens if you update (pacman -Syu) and which version of mingw/msys you are using?

This looks like that you either use an old version where the current keys for signing packages are missing, something is wrong with your keyring or that msys2-keyring has been updated. I am not an expert at this and cannot test it myself at the moment so maybe somebody else knows more.

Thanks for replay

  1. Yes package is working on newest mingw

  2. Sir if its up-to-date then there is no problem of installation of that given command but problem is in migw version of openfoam from openfoam.com and that restricted updated of mingw.

Now i am trying to install calculix on mingw because i think su2 and calculix coupling may be done in windows, su2 is working fine but still i can’t figure out how to install calculix on mingw i have spent entire day but no success on that.

Regarding 1 and 2 one has to see what is the best/easiest solution. For the preCICE package to work with an old version of mingw the developers of preCICE would have to create a release that is signed with an old key. Alternatively one would have to upgrade OpenFOAM to a new mingw, but I do not know if that is possible.

Are you on Windows 10? Then you could try using the Windows subsystem for Linux which allows to install Linux (ideally Ubuntu) and integrate it into Windows. This would by far the easiest way. I this possible for you? I think it would also make it much easier to install SU2 and/or Calculix.

2 Likes