Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Jacob Faibussowitsch
>> We just cannot cope with spaces in paths. Can you use the shortened >> contiguous name instead of "Program File"? FYI: Program Files or Program Files(x86) is where windows installs all of its applications (from OS or installed by user). It is best to install your MPI and other packages in

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Satish Balay via petsc-users
On Mon, 30 Mar 2020, Matthew Knepley wrote: > On Mon, Mar 30, 2020 at 9:28 PM Qin Lu wrote: > > > Hi, > > > > I installed Intel-MPI 2019, and configured petsc-3.12.4 using > > --with-mpi-dir="/cygdrive/c/Program Files > > (x86)/IntelSWTools/mpi/2019.6.166/intel64", it didn't work. So I change

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Matthew Knepley
On Mon, Mar 30, 2020 at 9:28 PM Qin Lu wrote: > Hi, > > I installed Intel-MPI 2019, and configured petsc-3.12.4 using > --with-mpi-dir="/cygdrive/c/Program Files > (x86)/IntelSWTools/mpi/2019.6.166/intel64", it didn't work. So I change to > use --with-mpi-include and --with-mpi-lib, still didn't

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Matthew Knepley
On Mon, Mar 30, 2020 at 4:43 PM Qin Lu via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi Satish, > > The ex2.exe works with "mpiexec -np 2" when I ran it from command line. > Then I ran "which mpiexec", it actually points to Intel-MPI instead of > MPICH2, probably because I have set the

Re: [petsc-users] Construct Matrix based on row and column values

2020-03-30 Thread Elias Karabelas
Dear Jed, Thanks I will try to keep you updated. So I managed to get my stuff running with one process but it fails with more than one. The matrix assembly as you described it works fine but I forgot that in the FCT algorithm one also needs to assemble a matrix D that looks kinda like D_ij

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Qin Lu via petsc-users
Hi Satish, The ex2.exe works with "mpiexec -np 2" when I ran it from command line. Then I ran "which mpiexec", it actually points to Intel-MPI instead of MPICH2, probably because I have set the former's path in environment variable PATH in Win-10. I will try to reinstall Intel-MPI and build

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Satish Balay via petsc-users
Please preserve cc: to the list > shared libraries: disabled So PETSc is correctly built as static. > > C:/Program Files/mpich2x64/bin/mpiexec.exe: error while loading shared > > libraries: ?: cannot open shared object file: No such file or directory So its not clear which shared library

[petsc-users] AIJ vs BAIJ when using ILU factorization

2020-03-30 Thread Fande Kong
Hi All, There is a system of equations arising from the discretization of 3D incompressible Navier-Stoke equations using a finite element method. 4 unknowns are placed on each mesh point, and then there is a 4x4 saddle point block on each mesh vertex. I was thinking to solve the linear equations

Re: [petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Satish Balay via petsc-users
MPICH is unsupported - and we haven't tested with it for a long time. And petsc-3.4.2 is from 2013 - and untested with current gen os/compilers/libraries. Can you send logs from Petsc-3.12.4 build [or try latest Petsc-3.13.0]? We recommend 64bit MSMPI for windows. Satish On Mon, 30 Mar 2020,

Re: [petsc-users] duplicate PETSC options

2020-03-30 Thread Randall Mackie
Hi Matt, Yes I just submitted an issue. Thanks very much. Randy M. > On Mar 30, 2020, at 9:15 AM, Matthew Knepley wrote: > > On Mon, Mar 30, 2020 at 11:46 AM Randall Mackie > wrote: > When PETSc reads in a list of options (like PetscOptionsGetReal, etc), we >

[petsc-users] Petsc not work in Windows-10

2020-03-30 Thread Qin Lu via petsc-users
Hello, I am trying to build Petsc-3.4.2 in my Windows-10 workstation using Cygwin, with Intel-2018 compilers and MKL, and MPICH2. The configuration/compilation/installation seem to finish without problem, but test program (ex19) failed since it could not find a shared lib. Then I linked the

Re: [petsc-users] duplicate PETSC options

2020-03-30 Thread Matthew Knepley
On Mon, Mar 30, 2020 at 11:46 AM Randall Mackie wrote: > When PETSc reads in a list of options (like PetscOptionsGetReal, etc), we > have noticed that if there are duplicate entries, that PETSc takes the last > one entered as the option to use. This can happen if the user didn’t notice > there

[petsc-users] duplicate PETSC options

2020-03-30 Thread Randall Mackie
When PETSc reads in a list of options (like PetscOptionsGetReal, etc), we have noticed that if there are duplicate entries, that PETSc takes the last one entered as the option to use. This can happen if the user didn’t notice there were two lines with the same options name (but different values

Re: [petsc-users] PETSc 3.13 release

2020-03-30 Thread Satish Balay via petsc-users
Sorry - this subject should have said: PETSc 3.13 release Satish On Mon, 30 Mar 2020, Satish Balay wrote: > > We are pleased to announce the release of PETSc version 3.13 at > http://www.mcs.anl.gov/petsc > > The major changes and updates can be found at >

[petsc-users] PETSc 3.12 release

2020-03-30 Thread Satish Balay via petsc-users
We are pleased to announce the release of PETSc version 3.13 at http://www.mcs.anl.gov/petsc The major changes and updates can be found at http://www.mcs.anl.gov/petsc/documentation/changes/313.html The final update to petsc-3.12 i.e petsc-3.12.5 is also available We recommend upgrading to

Re: [petsc-users] Question about DMPLEX/P4EST with different Sections

2020-03-30 Thread Berend van Wachem
Dear Matt, I am still not having success with the different sections on the DMForest. The example you sent works only if the two sections are the same. But, if the first section stores the data at the cell centers and the second section stores the data at the cell faces, the code crashes.