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