<div dir="ltr"><div><div><div><div><div><div><div>Dear All:<br><br></div>I am solving a huge system of AX=b, Matrix A is a sparse matrix but its number of non-zeros has been out of range of the upper limit of PETSC_INT (4 bytes). <br>
<br></div>In the online documents<br><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html</a><br>It shows:<br>
Its size can be configured with the option <span style="color:rgb(255,0,0)">--with-64-bit-indices</span> - to be either 32bit or 64bit [default 32 bits int]. <br></div>Also, in the document:<br><a href="http://www.mcs.anl.gov/petsc/petsc-current/include/petscsys.h.html#PetscInt">http://www.mcs.anl.gov/petsc/petsc-current/include/petscsys.h.html#PetscInt</a><br>
Looks need to configure BLAS and LAPACK lib with 64 bits options as well.<br><br></div>If I just change the PETSC_INT declaration in the driver to LONG INT, warnings prompt out when calling functions which used PETSC_INT data as its parameters.<br>
<br></div>Should I recompile (re-install) PETSC to add the 64 bits configurations? And for BLAS and LAPACK libs? Or, is there any other solutions?<br><br></div>Thanks<br><br></div>Qiyue Lu<br></div>