Re: [petsc-users] R: PETSc and Windows 10

2020-07-06 Thread Satish Balay via petsc-users
I was thinking in terms of: If using mingw-gcc from cygwin - then it could be used in the same way as mingw-gcc in msys2 is used - i.e with MS-MPI etc.. [one can install mingw-gcc in cygwin - which is different than cygwin native gcc - perhaps this is similar to mingw-gcc install in msys2] I

[petsc-users] R: PETSc and Windows 10

2020-07-06 Thread Paolo Lampitella
Dear Satish, Yes indeed, or at least that is my understanding. Still, my experience so far with Cygwin has been, let’s say, controversial. I wasn’t able to compile myself MPICH, with both gcc and mingw. When having PETSc compile also MPICH, I was successful only with gcc but not mingw. I

[petsc-users] R: PETSc and Windows 10

2020-07-05 Thread Paolo Lampitella
Dear all, I just want to update you on my journey to PETSc compilation in Windows under MSYS2+MINGW64 Unfortunately, I haven’t been able to compile petsc-slepc trough Freefem but, as my final goal required also Fortran bindings (but I only needed blas, lapack, metis and hypre), I decided to

[petsc-users] R: PETSc and Windows 10

2020-06-29 Thread Paolo Lampitella
Dear Pierre, thanks again for your time I guess there is no way for me to use the toolchain you are using (I don’t remember having any choice on which version of MSYS or GCC I could install) Paolo Inviato da Posta per Windows 10 Da: Pierre

Re: [petsc-users] R: PETSc and Windows 10

2020-06-29 Thread Matthew Knepley
On Mon, Jun 29, 2020 at 1:35 PM Paolo Lampitella < paololampite...@hotmail.com> wrote: > Dear Pierre, sorry to bother you, but I already have some issues. What I > did: > > > >- pacman -R mingw-w64-x86_64-python mingw-w64-x86_64-gdb (is gdb also >troublesome?) >- Followed points 6 and

[petsc-users] R: PETSc and Windows 10

2020-06-29 Thread Paolo Lampitella
I think I made the first step of having mingw64 from msys2 working with ms-mpi. I found that the issue I was having was related to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556 and, probably (but impossible to check now), I was using an msys2 and/or mingw mpi package before this fix:

[petsc-users] R: PETSc and Windows 10

2020-06-29 Thread Paolo Lampitella
As a follow up on the OpenMPI matter in Cygwin, I wasn’t actually able to use the cygwin version at all, not even compiling a simple mpi test. And PETSc fails in using it as well, as it seems unable to find MPI_Init. I might try with having PETSc install it as it did with MPICH, but just for

[petsc-users] R: PETSc and Windows 10

2020-06-28 Thread Paolo Lampitella
Hello Pierre, thank you very much. Knowing that you actually test it on a daily basis is already enough for me to then focus on the MSYS2-MinGw64 toolchain, which would be more straighforward to deploy (instead of having someone install cygwin) and valuable to reuse. I already had the

[petsc-users] R: PETSc and Windows 10

2020-06-28 Thread Paolo Lampitella
Dear Satish, let me first mention that using the OpenMPI runtime for running the executable built on top of the PETSc-mpich toolchain just came as an act of despair and was just a command away (despite knowing the ABI initiative is based on mpich). I already had OpenMPI in Cygwin because I was