Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Junchao Zhang
Hi, Danyang, Send the configure.log. Also, PETSc does not need MPI_Win_allocate etc to work. I will have a look. --Junchao Zhang On Sat, Apr 10, 2021 at 2:47 PM Danyang Su wrote: > Hi Barry, > > > > I tried this option before but get ‘Error running configure on OpenMPI’ > > > > >

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Junchao Zhang
Danyang, Could you try branch jczhang/fix-mpi3-win with your old configuration (i.e., use system mpicc)? Note the MR 3849 is based off latest petsc-3.15 release Thanks. --Junchao Zhang On Sat, Apr 10, 2021 at 4:36 PM Junchao Zhang

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Danyang Su
Hi Junchao, Thanks. I will test this branch and get back to you later. All the best, Danyang From: Junchao Zhang Date: Saturday, April 10, 2021 at 3:32 PM To: Danyang Su Cc: Barry Smith , "petsc-users@mcs.anl.gov" Subject: Re: [petsc-users] Undefined reference in PETSc 3.13+

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Junchao Zhang
You sent a wrong one. This configure.log was from a successful configuration. Note FOPTFLAGS="-O3 -march=native -mtune=nativels" looks suspicious. --Junchao Zhang On Sat, Apr 10, 2021 at 5:32 PM Danyang Su wrote: > > > Hi Junchao, > > > > Thanks for looking into this problem. The

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Danyang Su
Hi Junchao, The configuration is successful. The error comes from the last step when I run make PETSC_DIR=/home/danyangs/soft/petsc/petsc-3.13.6 PETSC_ARCH=linux-intel-openmpi check ***Error detected during compile or link!*** See

Re: [petsc-users] Newbie question: Strange failure when calling PetscIntView from slepc application

2021-04-10 Thread Barry Smith
I have submitted a MR that adds a Fortran interface for these functions so it will automatically error at compile time if you do not include the appropriate arguments. Barry > On Apr 9, 2021, at 5:35 AM, dazza simplythebest wrote: > > Dear Pierre and Stefano, >

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Danyang Su
Hi Junchao, I cannot configure your branch with same options due to the error in sowing. I had similar error before on other clusters with very old openmpi version. Problem was solved when openmpi was updated to a newer one. At this moment, I configured a PETSc version with Openmpi

[petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Danyang Su
Dear PETSc developers and users, I am trying to install the latest PETSc version on an ancient cluster. The OpenMPI version is 1.6.5 and Compiler is Intel 14.0, which are the newest on that cluster. I have no problem to install PETSc up to version 3.12.5. However, if I try to use PETSc

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Barry Smith
Depending on the network you can remove the ./configure options --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 and use instead --with-cc=icc --with-cxx=icpc and--with-fc=ifort --download-openmpi Barry > On Apr 10, 2021, at 12:18 PM, Danyang Su wrote: > > Dear PETSc developers and

Re: [petsc-users] PETSc log

2021-04-10 Thread Mark Adams
You can use -log_view and not change your code instead of adding this (this is the first time I have seen PetscLogDefaultBegin). The default PETSc timers will give you data on parts of the GAMG setup. (look for "GAMG" and PAPt). There is also a line in the log data for KSPSetup. This is mostly

Re: [petsc-users] Undefined reference in PETSc 3.13+ with old MPI version

2021-04-10 Thread Danyang Su
Hi Barry, I tried this option before but get ‘Error running configure on OpenMPI’ *** UNABLE to CONFIGURE with GIVEN OPTIONS(see configure.log for details):