[petsc-users] PETSc with SuperLU_dist

Satish Balay balay at mcs.anl.gov
Wed Nov 3 14:38:11 CDT 2021


hi Debo,

>>>
In file included from /g/g92/ghosh5/Codes/petsc/arch-opt-quartz/include/superlu_defs.h:113:0,
                 from /usr/WS2/ghosh5/Codes/petsc/arch-opt-quartz/externalpackages/git.superlu_dist/FORTRAN/superlu_c2f_wrap.c:14:
/usr/WS2/ghosh5/Codes/petsc/arch-opt-quartz/externalpackages/git.superlu_dist/FORTRAN/superlu_c2f_wrap.c: In function 'f_create_gridinfo3d_handle':
/usr/WS2/ghosh5/Codes/petsc/arch-opt-quartz/externalpackages/git.superlu_dist/FORTRAN/superlu_c2f_dwrap.c: In function 'f_dDestroy_LU_SOLVE_struct_3d':
/usr/WS2/ghosh5/Codes/petsc/arch-opt-quartz/externalpackages/git.superlu_dist/FORTRAN/superlu_c2f_wrap.c:57:43: error: 'gridinfo3d_t' undeclared (first use in this function)
    *handle = (fptr) SUPERLU_MALLOC(sizeof(gridinfo3d_t));
<<<<

Did you have a prior build of superlu or superlu_dist in this location?

Can you try a new build [say with a different PETSC_ARCH - and see if the issue persists?

Satish


On Wed, 3 Nov 2021, Ghosh, Debojyoti via petsc-users wrote:

> Hi,
> 
> I am trying to configure PETSc with SuperLU_dist, but the configure step exits with an error while compiling SuperLU_dist. I am doing this on LLNL's Quartz.
> 
> The configure command is:
> ./configure --with-batch --with-cc=mpicc --with-fc=mpif90 -with-cxx=mpicxx COPTFLAGS="-O2" FOPTFLAGS="-O2" CXXOPTFLAGS="-O2" --with-shared-libraries --with-debugging=0 --download-cmake --download-hypre --download-superlu --download-superlu_dist --download-parmetis --download-metis
> 
> I have appended the version information for my compilers below. Also attached is the configure.log. Can you please let me know what's going wrong?
> 
> Thanks,
> Debo
> 



More information about the petsc-users mailing list