Re: [petsc-users] Nonconforming object sizes in axpy

2019-02-28 Thread Marius Buerkle via petsc-users
Thanks a lot, now it is working.   I see the error now. You should pass SUBSET_NONZERO_PATTERN as MatStructure argument to MatAXPY DIFFERENT_NONZERO_PATTERN now triggers preallocation, and MATELEMENTAL does not support MatGetRow.   On Feb 27, 2019, at 3:59 PM, Marius Buerkle

Re: [petsc-users] What's the correct syntax for PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true"); ?

2019-02-28 Thread Balay, Satish via petsc-users
On Thu, 28 Feb 2019, Klaus Burkart via petsc-users wrote: > Hello, > I try to use the Hypre boomeramg preconditioner but I keep getting type > conversion errors like this one for PetscOptionsSetValue(...): > Fehler: »const char*« kann nicht nach »PetscOptions« {aka »_n_PetscOptions*«} >

[petsc-users] What's the correct syntax for PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true"); ?

2019-02-28 Thread Klaus Burkart via petsc-users
Hello, I try to use the Hypre boomeramg preconditioner but I keep getting type conversion errors like this one for PetscOptionsSetValue(...): Fehler: »const char*« kann nicht nach »PetscOptions« {aka »_n_PetscOptions*«} umgewandelt werden

Re: [petsc-users] Direct PETSc to use MCDRAM on KNL and other optimizations for KNL

2019-02-28 Thread Zhang, Hong via petsc-users
On Feb 28, 2019, at 6:10 AM, Sajid Ali mailto:sajidsyed2...@u.northwestern.edu>> wrote: Hi Hong, Thanks for the advice. I see that the example takes ~180 seconds to run but I can't see the DRAM vs MCDRAM info from Intel APS. I'll try to fix the profiling and get back with further

Re: [petsc-users] Problem in loading Matrix Market format

2019-02-28 Thread Zhang, Junchao via petsc-users
Eda, An update to ex72 is merged to PETSc master branch just now. It now can read matrices either symmetric or non-symmetric in Matrix Market format, and output a petsc binary matrix in MATSBAIJ format (for symmetric) or MATAIJ format (for non-symmetric). See help in source code for usage.

Re: [petsc-users] Direct PETSc to use MCDRAM on KNL and other optimizations for KNL

2019-02-28 Thread Sajid Ali via petsc-users
Hi Hong, Thanks for the advice. I see that the example takes ~180 seconds to run but I can't see the DRAM vs MCDRAM info from Intel APS. I'll try to fix the profiling and get back with further questions. Also, the intel-mpi manpages say that the use of tmi is now deprecated :

Re: [petsc-users] About DMDA (and extracting its ordering)

2019-02-28 Thread Appel, Thibaut via petsc-users
Hi Matthew, I’ve just attached on that page https://bitbucket.org/petsc/petsc/issues/262 the same source code written in C that runs just fine from what I can see. Which means there’s either a bug in ISLocalToGlobalMappingGetIndicesF90 or something missing in the documentation. Best, Thibaut

Re: [petsc-users] Problem in loading Matrix Market format

2019-02-28 Thread Jose E. Roman via petsc-users
Don't know why it should cause problems. I'd rather try before asking. > El 28 feb 2019, a las 9:21, Eda Oktay escribió: > > Dear Professor Roman, > > Thank you for your answer. I used PetscBinaryWrite.m file and converted > matrices into binary format but I have a question: > > When I look

Re: [petsc-users] Problem in loading Matrix Market format

2019-02-28 Thread Eda Oktay via petsc-users
Dear Professor Roman, Thank you for your answer. I used PetscBinaryWrite.m file and converted matrices into binary format but I have a question: When I look at Properties of the binary files Petsc have, their type is stated as "Program (application/octet-stream)", however when I checked the

[petsc-users] Error in using MatTranspose

2019-02-28 Thread Eda Oktay via petsc-users
Hello, I am trying to use MatTranspose function as in below (last row) but I get an error like this: [0]PETSC ERROR: - Error Message -- [0]PETSC ERROR: Object is in wrong state [0]PETSC ERROR: Not for unassembled