Do you really need this combination of pkgs? Matlab is distributed with ILP64 MKL - so it doesn't really work with LP64 blas/lapack that most external packages require - i.e you can't really use use matlab and other external-packages.
[also it might not work with complex] To get a successful matlab build - try: ./configure PETSC_ARCH=arch-linux-matlab --download-mpich --with-matlab-dir=/usr/local/matlab --with-matlab-engine=1 --with-blaslapack-dir=/usr/local/matlab --known-64-bit-blas-indices=1 Satish On Fri, 24 Nov 2023, maitri ksh wrote: > Hi Satish, > Yes, that simple build works with no error. I configured petsc again with > the configure options: > > PETSC_ARCH=linux-gnu-c-debug -start-in-debugger[noxterm] > --with-cc=/usr/local/gcc11/bin/gcc --with-cxx=/usr/local/gcc11/bin/g++ > --with-fc=gfortran --with-debugging=1 --with-scalar-type=complex > --download-mpich --download-fblaslapack --with-matlab-dir=/usr/local/matlab > --download-superlu --download-superlu_dist --download-hdf5 --download-mumps > --download-scalapack --download--parmetis --download-metis > --download-ptscotch --download-bison --download-cmake --download-make > > Now, it runs the superLU_dist test successfully but it gives an error with > MATLAB engine 'Possible error running C/C++ src/vec/vec/tutorials/ex31 with > MATLAB engine' and also an error with MAKE check. > > > > On Thu, Nov 23, 2023 at 10:26 PM Satish Balay <ba...@mcs.anl.gov> wrote: > > > Can you do a simple build with only superlu-dist and see if the error > > persists? > > > > ./configure PETSC_ARCH=linux-slu --with-cc=/usr/local/gcc11/bin/gcc > > --with-cxx=/usr/local/gcc11/bin/g++ --with-fc=gfortran --with-debugging=1 > > --with-scalar-type=complex --download-mpich --download-fblaslapack > > --download-superlu_dist > > make > > make PETSC_ARCH=linux-slu check > > > > Satish > > > > On Thu, 23 Nov 2023, maitri ksh wrote: > > > > > Hi, > > > I ran into an error while using SuperLU_DIST in ex 19.c, I am not sure > > how > > > to debug this, can anyone please help. The 'configure.log' file is > > attached > > > for your reference. > > > Thanks, > > > Maitri > > > > > > > >