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

    May 18, 2024 · I'm trying to install petsc4py for python. I'm currently using WSL (Ubuntu) but I've tried in Windows as well and the result is always the same. The installation of e.g. numpy or …

  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 …

    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 …

  4. 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?

  5. Why the PETSC code run in 1 process and doesn't run in 2 …

    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, …

  6. 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, 6 months ago Modified 6 years, 6 months ago Viewed 3k …

  7. makefile - Compiling a C++ code including PETSc libraries. make: …

    Apr 20, 2021 · The former ommand is the path to the directory where PETSc is installed on your local machine and the latter is the build name of PETSc. Once the above-mentioned …

  8. fortran - Compile petsc included code using a makefile, failed for ...

    Aug 17, 2020 · I'm leaning petsc (3.13.1) on a Linux virtual machine. The compiler is mpich-3.2.1 compiled with gfortran. While going through the tutorials I found the extensinos are .F90, the …

  9. c++ - How to solve the problem "Fortran Error! mpi_init () could …

    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 …

  10. 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 …