[petsc-users] question about installing petsc3.11

2019-09-20 Thread Povolotskyi, Mykhailo via petsc-users
Hello, I'm upgrading petsc from 3.8 to 3.11. In doing so, I see an error message:  UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details): --- Cannot use SuperLU_DIST with 64 bit BLAS/Lapack indices

Re: [petsc-users] Reading in the full matrix in one process and then trying to solve in parallel with PETSc

2019-09-20 Thread Jed Brown via petsc-users
Matthew Knepley via petsc-users writes: > On Fri, Sep 20, 2019 at 7:54 AM Bao Kai via petsc-users < > petsc-users@mcs.anl.gov> wrote: > >> Hi, >> >> I understand that PETSc is not designed to be used this way, while I >> am wondering if someone have done something similar to this. >> >> We have

Re: [petsc-users] question about installing petsc3.11

2019-09-20 Thread Balay, Satish via petsc-users
--with-64-bit-indices=1 => PetscInt = int64_t --known-64-bit-blas-indices=1 => blas specified uses 64bit indices. What is your requirement (use case)? Satish On Fri, 20 Sep 2019, Povolotskyi, Mykhailo via petsc-users wrote: > Does it mean I have to configure petsc with --with-64-bit-indices=1

Re: [petsc-users] question about installing petsc3.11

2019-09-20 Thread Povolotskyi, Mykhailo via petsc-users
I have to apologize. By mistake I was installing the new version in the directory where the old version already existed. After I cleaned everything, I do not see that error message anymore. Yes, the error message was somewhat misleading, but I will not be able to reproduce it. Michael. On

[petsc-users] reproduced the problem

2019-09-20 Thread Povolotskyi, Mykhailo via petsc-users
Dear Matthew and Satish, I just wrote that the error disappeared, but it still exists (I had to wait longer). The configuration log can be accessed here: https://www.dropbox.com/s/tmkksemu294j719/configure.log?dl=0 Sorry for the last e-mail. Michael. On 09/20/2019 03:53 PM, Balay, Satish

Re: [petsc-users] reproduced the problem

2019-09-20 Thread Povolotskyi, Mykhailo via petsc-users
Hello Satish, I did what you suggested, now the error is different:     UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details): --- Cannot use SuperLU_DIST without enabling C++11, see

Re: [petsc-users] reproduced the problem

2019-09-20 Thread Balay, Satish via petsc-users
> TEST checkRuntimeIssues from config.packages.BlasLapack(/depot/kildisha/apps/brown/nemo5/libs/petsc/build-real3.11/config/BuildSystem/config/packages/BlasLapack.py:579) TESTING: checkRuntimeIssues from

Re: [petsc-users] question about installing petsc3.11

2019-09-20 Thread Povolotskyi, Mykhailo via petsc-users
Does it mean I have to configure petsc with --with-64-bit-indices=1 ? On 09/20/2019 03:41 PM, Matthew Knepley wrote: On Fri, Sep 20, 2019 at 1:55 PM Povolotskyi, Mykhailo via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Hello, I'm upgrading petsc from 3.8 to 3.11. In doing so, I see an

Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Smith, Barry F. via petsc-users
Oh yes, I didn't notice that. The stubs and interfaces cannot be generated automatically, but cut, paste, and make a mistake will work. > On Sep 20, 2019, at 9:35 PM, Jed Brown wrote: > > "Smith, Barry F. via petsc-users" writes: > >> Currently none of the XXXViewFromOptions() have

Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Jed Brown via petsc-users
"Smith, Barry F. via petsc-users" writes: >Currently none of the XXXViewFromOptions() have manual pages or Fortran > stubs/interfaces. It is probably easier to remove them as inline functions > and instead write them as full functions which just call > PetscObjectViewFromOptions() with

[petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Mark Adams via petsc-users
DMViewFromOptions does not seem to have Fortran bindings and I don't see it on the web page for DM methods. I was able to get it to compile using PetscObjectViewFromOptions FYI, It seems to be an inlined thing, thus missing the web page and Fortran bindings:

Re: [petsc-users] Undefined symbols for architecture x86_64: "_dmviewfromoptions_",

2019-09-20 Thread Smith, Barry F. via petsc-users
Currently none of the XXXViewFromOptions() have manual pages or Fortran stubs/interfaces. It is probably easier to remove them as inline functions and instead write them as full functions which just call PetscObjectViewFromOptions() with manual pages then the Fortran stubs/interfaces

Re: [petsc-users] reproduced the problem

2019-09-20 Thread Balay, Satish via petsc-users
As the message says - you need to use configure option --with-cxx-dialect=C++11 with --download-superlu_dist [this requirement is automated in petsc/master so extra configure option is no longer required] Satish On Fri, 20 Sep 2019, Povolotskyi, Mykhailo via petsc-users wrote: > Hello

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-20 Thread Jose E. Roman via petsc-users
I have tried with slepc-master and it works: $ mpiexec -n 2 ./ex1 -eps_ciss_partitions 2 matrix size 774 (-78.7875,8.8022) (-73.9569,-42.2401) (-66.9942,-7.50907) (-62.262,-2.71603) (-58.9716,0.60) (-57.9883,0.298729) (-57.8323,1.06041) (-56.5317,1.10758) (-56.0234,45.2405) (-54.4058,2.88373)