About 889,000 results
Open links in new tab
  1. Error while installing petsc4py "Could not build wheels for petsc"

    May 18, 2024 · Collecting petsc<3.22,>=3.21 Using cached petsc-3.21.1.tar.gz (17.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements …

  2. Reading PETSc binary matrix in Python - Stack Overflow

    Jun 4, 2024 · I am trying to read a sparse PETSc matrix saved from a Fortran code into a binary file like so: CALL PetscViewerBinaryOpen(PETSC_COMM_SELF, TRIM(ADJUSTL(filename)), …

  3. python - Issue installing petsc4py with Anaconda using pip, to indicate ...

    Apr 4, 2020 · I) The issue I cannot install petsc4py in my Anaconda environment using pip. Installing with conda doesn't work because it won't check my predefined PETSC_DIR and PETSC_ARCH …

  4. How to solve 'fatal error: mpi.h: No such file or directory' during ...

    May 15, 2019 · How to solve 'fatal error: mpi.h: No such file or directory' during PETSc compilation in WSL Asked 6 years, 7 months ago Modified 6 years, 7 months ago Viewed 3k times

  5. PETSc-MUMPS Not Properly Responding To Command-Line Option

    Dec 1, 2025 · I have installed PETSc and MUMPS (MacOS 15.6.1, M2), and confirmed that they seem to work fine; i.e., I run the exceutable from the command line: ./mypetscapp and it runs without issue. …

  6. Why the PETSC code run in 1 process and doesn't run in 2 processes?

    Jun 9, 2023 · This is a simple code from the book PETSc for Partial Differential Equations: Numerical Solutions in C and Python. It computes the zero of atan(x). If I run it in one process, it runs properly. …

  7. compiling cpp code includes PETSc with Cmake - Stack Overflow

    Jun 7, 2021 · Have you checked whether /opt/petsc/linux-c-opt/include contains in fact the petsc.h file which the compiler claims to be missing?

  8. c++ - How to solve the problem "Fortran Error! mpi_init () could not be ...

    Sep 19, 2024 · There should probably be include and lib* subdirectories under that have .h files and .so files for mpi. How does petsc know to look there (e.g. a config option)? Or should Intel fortran "just …

  9. openmp - PETSc: OMP+MKL in MatShell - Stack Overflow

    Apr 6, 2023 · I am trying to use a custom matvec operator with PETSc MatShell in Fortran and inside of it, I want to use a mix of OpenMP and MKL multithreading (blas). The OpenMP and MKL threads are …

  10. c - PETSc - MatLUFactor - Problem for `mpiaij` matrix and replace by ...

    Oct 13, 2021 · [0]PETSC ERROR: No support for this operation for this object type [0]PETSC ERROR: Mat type mpiaij I've found a similar question in this answer but after downloading and configuring the …