Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread INTURU SRINIVAS 20PHD0548 via petsc-users
Based on the suggestions given by Sathish, I have tried to configure petsc 3.13.4 with Matlab-R2020b. But, it was not successful. After running make -j 10 test command I have got the following error message. not ok tao_leastsquares_tutorials_matlab-matlab_ls_test # Error code: 124 # Running proble

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread INTURU SRINIVAS 20PHD0548 via petsc-users
Thank you Sathish.I will try this On Fri, Sep 1, 2023, 22:53 Satish Balay wrote: > yes [and remove fblaslapack. don't know if hypre will work here]. > > i.e: > > ./configure --with-mpi-dir=/home/vit/sfw/linux/openmpi/4.1.4 COPTFLAGS=-O3 > CXXOPTFLAGS=-O3 FOPTFLAGS=-O3 PETSC_ARCH=linux-opt --with

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread Satish Balay via petsc-users
yes [and remove fblaslapack. don't know if hypre will work here]. i.e: ./configure --with-mpi-dir=/home/vit/sfw/linux/openmpi/4.1.4 COPTFLAGS=-O3 CXXOPTFLAGS=-O3 FOPTFLAGS=-O3 PETSC_ARCH=linux-opt --with-debugging=0 --with-x=0 \ --with-matlab-dir=/usr/local/MATLAB/R2020b --with-matlab-engine=1

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread INTURU SRINIVAS 20PHD0548 via petsc-users
Hi Satish, -with-blaslapack-dir=/path/to/matlab_dir --known-64-bit-blas-indices=1 Is this what you are suggesting? On Fri, Sep 1, 2023, 20:42 Satish Balay wrote: > Also: > > '-known-64-bit-blas-indices=1', > > Note: most externalpackages might not work in this mode. > > [we can't really ov

Re: [petsc-users] performance regression with GAMG

2023-09-01 Thread Mark Adams
Fantastic! I fixed a memory free problem. You should be OK now. I am pretty sure you are good but I would like to wait to get any feedback from you. We should have a release at the end of the month and it would be nice to get this into it. Thanks, Mark On Fri, Sep 1, 2023 at 7:07 AM Stephan Kra

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread Satish Balay via petsc-users
Also: '-known-64-bit-blas-indices=1', Note: most externalpackages might not work in this mode. [we can't really over come such dependency/conflicts across packages] Satish On Fri, 1 Sep 2023, Satish Balay via petsc-users wrote: > Here is the matlab test that runs in CI > > https://gitla

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread Satish Balay via petsc-users
Here is the matlab test that runs in CI https://gitlab.com/petsc/petsc/-/jobs/4904566768 config/examples/arch-ci-linux-matlab-ilp64.py # Note: regular BLAS [with 32-bit integers] conflict with # MATLAB BLAS - hence requiring -known-64-bit-blas-indices=1 Ah - so you need to use the ilp64 blas/l

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread INTURU SRINIVAS 20PHD0548 via petsc-users
Hi Amneet, Without libmesh, even for PETSc with MATLAB is not working. It is showing error for both 3.13.4 and 3.17.5 versions. I am trying to install IBAMR in HPC cluster with libmesh and this is for general usage not only for WEC. This I tried without linking Matlab with PETSc. Here also I got

Re: [petsc-users] Error while building PETSc with MATLAB

2023-09-01 Thread Amneet Bhalla
Hi Srinivas, As discussed earlier you don’t need libMesh for the WEC application. You can just work with PETSc 3.17.5 that builds with Matlab. Do you have a specific reason for wanting to build libMesh? Thanks, —Amneet On Thu, Aug 31, 2023 at 10:16 PM INTURU SRINIVAS 20PHD0548 via petsc-users <

Re: [petsc-users] Configuring PETSc on Mac M1

2023-09-01 Thread Satish Balay via petsc-users
please send the correspond configure.log for this failure - perhaps to petsc-maint [to avoid sending large files to petsc-users mailing list] BTW: We normally use xcode clang/clang++ with brew gfortran (with system blas/lapack) for MacOS builds Satish On Fri, 1 Sep 2023, Giselle Sosa Jones wro

Re: [petsc-users] Configuring PETSc on Mac M1

2023-09-01 Thread Matthew Knepley
You need to send us configure.log so that we can see what the failure message is. Thanks, Matt On Fri, Sep 1, 2023 at 9:56 AM Giselle Sosa Jones wrote: > Hello, > > I am trying to install PETSc on my M1 Mac and I keep encountering the > following error when configuring: > > Unknown Fortr

[petsc-users] Configuring PETSc on Mac M1

2023-09-01 Thread Giselle Sosa Jones
Hello, I am trying to install PETSc on my M1 Mac and I keep encountering the following error when configuring: Unknown Fortran name mangling: Are you sure the C and Fortran compilers are compatible? Perhaps one is 64 bit and one is 32 bit? Any ideas on how to fix this? All my compilers are 6

Re: [petsc-users] performance regression with GAMG

2023-09-01 Thread Stephan Kramer
Hi Mark Sorry took a while to report back. We have tried your branch but hit a few issues, some of which we're not entirely sure are related. First switching off minimum degree ordering, and then switching to the old version of aggressive coarsening, as you suggested, got us back to the coar