Hi Gabriele,
Good to hear from you! I will echo Moise's suggestion about using
the Windows Subsystem for Linux if your Windows machine is running
Windows 10 or 11. There are actually two versions of WSL -- you
should opt for WSL2. As one of the core PETSc developers, I have
found that WSL2 works very well as a PETSc development platform.
We do have several PETSc users that use it under Windows via either
Cygwin or MinGW, and I have used Cygwin extensively in the past for
this. It should be fairly easy to configure PETSc and PFLOTRAN with
Cygwin once it is set up. If you want to build PFLOTRAN as a
"native" Windows app, you can probably also do so with MinGW (a GCC
compiler designed to run natively on Windows), though I have not
tried this. With MinGW it can be a bit hard to support some of the
third party libraries that PETSc can use, though PFLOTRAN doesn't
depend on anything too exotic so this might be OK.
If you run into specific issues with getting PETSc to build on
Windows, please let the PETSc team know at
petsc...@mcs.anl.gov
and we can help you.
Best regards,
Richard