You never called MatCreate(comm, );
> On Jul 25, 2023, at 6:06 PM, maitri ksh wrote:
>
> I am using the following setup:
> 1. petsc-3.19.3 (on wsl-ubuntu22.04 platform)
> 2. MATLAB-R2022a
> 3. slepc-3.19.1
> 4. configured using: './configure --with-cc=gcc --with-cxx=g++
>
I am using the following setup:
1. petsc-3.19.3 (on wsl-ubuntu22.04 platform)
2. MATLAB-R2022a
3. slepc-3.19.1
4. configured using: './configure --with-cc=gcc --with-cxx=g++
--with-fc=gfortran --download-mpich --download-fblaslapack --with-matlab
--with-matlab-dir=/usr/local/MATLAB/R2022a
I think random matrices will produce misleading results. The chance of randomly
generating a matrix that resembles an application is effectively zero. I think
you'd be better off with some model problems varying parameters that control
the physical regime (e.g., shifts to a Laplacian, advection
Hello PETSc team,
My name is Yixuan, and I am a postdoc at MCS. We are working on a project where
we want to predict the preconditioners from the corresponding matrices. For
preliminary exploration purposes, we generated random matrices and their
preconditioners using PETSc. The current deep
I tried using '$PETSC_DIR/$PETSC_ARCH/bin/h5dump myfile.mat', but it gave
'h5dump error: unable to open file "/path/to/directory/myfile.mat"',
*saving* the *MATLAB file* with “*-v7.3*” option *solved* the issue.
Thank you, Matthew & Samar.
On Tue, Jul 25, 2023 at 12:18 PM Matthew Knepley
Another possibility is that the Matlab file wasn’t saved in HDF5. Try resaving
it with the “-v7.3” option.
Samar
On Jul 25, 2023, at 10:18 AM, Matthew Knepley wrote:
On Tue, Jul 25, 2023 at 3:12 AM maitri ksh
mailto:maitri@gmail.com>> wrote:
Hi,
I am new to Petsc, here are some details
On Tue, Jul 25, 2023 at 3:12 AM maitri ksh wrote:
> Hi,
> I am new to Petsc, here are some details of the relevant softwares I am
> using:
> 1. petsc-3.19.3 (on wsl-ubuntu22.04 platform)
> 2. MATLAB-R2022a
> 3. hdf5-1.10.7 (checked using 'pkg-config --modversion hdf5')
> 4. configured using:
Hi,
I am new to Petsc, here are some details of the relevant softwares I am
using:
1. petsc-3.19.3 (on wsl-ubuntu22.04 platform)
2. MATLAB-R2022a
3. hdf5-1.10.7 (checked using 'pkg-config --modversion hdf5')
4. configured using: './configure --with-cc=gcc --with-cxx=g++
--with-fc=gfortran