[petsc-users] PETSc with SuperLU_dist
Satish Balay
balay at mcs.anl.gov
Wed Nov 3 15:05:43 CDT 2021
Yes deleting current build-files/PETSC_ARCH should also work!
Satish
On Wed, 3 Nov 2021, Ghosh, Debojyoti via petsc-users wrote:
> Thanks, Satish! I was able to configure successfully with a different PETSC_ARCH.
>
> And yes, I looked at the timestamps in my "/usr/WS2/ghosh5/Codes/petsc/arch-opt-quartz/externalpackages/git.superlu_dist" directory, and some files are from a few months back. I'll now delete my original PETSC_ARCH and retry; I assume it should work.
>
> On 11/3/21, 12:38 PM, "Satish Balay" <balay at mcs.anl.gov> wrote:
>
> 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