Please send configure.log and make.log to petsc-ma...@mcs.anl.gov without the exact details we cannot determine what has gone wrong.
> On Jun 13, 2024, at 6:33 PM, s.pradeep kumar <spradeepmahad...@gmail.com> > wrote: > > This Message Is From an External Sender > This message came from outside your organization. > Dear Petsc Development Team, > > I am encountering an issue while trying to build Petsc library in our Cray > Cluster. Despite loading appropriate gcc and cray-mpich modules and > successfully configuring Petsc, I receive the following error (see A1). I > have also attached petsc configure statement (see A2) and snippet of > configure log (see A3). > > Could you please provide assistance in resolving this build issue? Any > insights or additional steps I might take to diagnose and fix the problem > would be greatly appreciated. > > Thank you for your support > > Regards, > > Pradeep > > > > > A1.Error from make.log: > > > ========================================== > /usr/bin/gmake --print-directory -f gmakefile -j88 -l272.0 > --output-sync=recurse V= libs > gmake[3]: *** No rule to make target > '/$NETWORK$/users/$USERNAME$/NumLib/petsc-3.21.1/src/sys/f90-mod/petscsysmod.F90', > needed by 'gnu-opt/obj/src/sys/f90-mod/petscsysmod.o'. Stop. > gmake[2]: *** > [/users/$USERNAME$/NumLib/petsc-3.21.1/lib/petsc/conf/rules_doc.mk:5 > <https://urldefense.us/v3/__http://rules_doc.mk:5__;!!G_uCfscf7eWS!bzt6Ug_Q99IAVZ3YC6uReptvtUbsmvjz5BTANuRoXR9Ap8p-lmK9vgI05Bc1978HvYN2t63u7h4OQCvKWLfZ2bAtjgAjZzjQ$>: > libs] Error 2 > **************************ERROR************************************* > Error during compile, check gnu-opt/lib/petsc/conf/make.log > Send it and gnu-opt/lib/petsc/conf/configure.log to petsc-ma...@mcs.anl.gov > <mailto:petsc-ma...@mcs.anl.gov> > ******************************************************************** > Finishing make run at Thu, 13 Jun 2024 11:42:44 -0600 > > A2.Configure Statement: > > ./configure --with-scalar-type=real --with-precision=double > --download-metis=$metis_path --download-metis-use-doubleprecision=1 > --download-parmetis=$parmetis_path --with-cmake=1 --with-mpi-dir=$MPI_DIR > --download-fblaslapack=$fblaslapack_path --with-debugging=0 COPTFLAGS=-O2 > FOPTFLAGS=-O2 > > Where the paths are defined: > > fblaslapack_path="/users/$USERNAME$/NumLib/ExternalPackages/petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz" > metis_path="/users/$USERNAME$/NumLib/ExternalPackages/petsc-pkg-metis-69fb26dd0428.tar.gz" > parmetis_path="/users/$USERNAME$/NumLib/ExternalPackages/petsc-pkg-parmetis-f5e3aab04fd5.tar.gz" > > MPI_DIR=${CRAY_MPICH_PREFIX} > > > > > A3. Snippets From configure.log: > > --------------------------------------------------------------------------------------------- > PETSc: > Build : Set default architecture to gnu-opt in > lib/petsc/conf/petscvariables > File creation : Created gnu-opt/lib/petsc/conf/reconfigure-gnu-opt.py for > automatic reconfiguration > Framework: > RDict update : Substitutions were stored in RDict with parent None > File creation : Created makefile configure header > gnu-opt/lib/petsc/conf/petscvariables > File creation : Created makefile configure header > gnu-opt/lib/petsc/conf/petscrules > File creation : Created configure header gnu-opt/include/petscconf.h > File creation : Created C specific configure header > gnu-opt/include/petscfix.h > File creation : Created configure pkg header > gnu-opt/include/petscpkg_version.h > Compilers: > C Compiler: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/bin/mpicc -fPIC > -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch > -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O2 > Version: gcc (GCC) 12.2.0 20220819 (HPE) > C++ Compiler: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/bin/mpicxx > -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas > -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -g -O > -std=gnu++20 -fPIC > Version: g++ (GCC) 12.2.0 20220819 (HPE) > Fortran Compiler: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/bin/mpif90 > -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 > -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O2 > Version: GNU Fortran (GCC) 12.2.0 20220819 (HPE) > Linkers: > Shared linker: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/bin/mpicc -shared > -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch > -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O2 > Dynamic linker: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/bin/mpicc -shared > -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch > -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O2 > Libraries linked against: -lquadmath -ldl > BlasLapack: > Libraries: -Wl,-rpath,/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/lib > -L/users/$USERNAME$ /NumLib/petsc-3.21.1/gnu-opt/lib -lflapack -lfblas > uses 4 byte integers > MPI: > Version: 3 > Includes: -I/opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3/include > mpiexec: /bin/false > Implementation: mpich3 > MPICH_NUMVERSION: 30400002 > X: > Libraries: -lX11 > python: > Executable: /usr/bin/python3 > pthread: > Libraries: -lpthread > cmake: > Version: 3.23.1 > Executable: > /usr/projects/hpcsoft/tce/23-03/cray-sles15-x86_64_v3-slingshot-none/packages/cmake/cmake-3.23.1/bin/cmake > fblaslapack: > metis: > Version: 5.1.0 > Includes: -I/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/include > Libraries: -Wl,-rpath,/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/lib > -L/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/lib -lmetis > parmetis: > Version: 4.0.3 > Includes: -I/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/include > Libraries: -Wl,-rpath,/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/lib > -L/users/$USERNAME$/NumLib/petsc-3.21.1/gnu-opt/lib -lparmetis > regex: > bison: > Version: 3.0 > Executable: /usr/bin/bison > PETSc: > Language used to compile PETSc: C > PETSC_ARCH: gnu-opt > PETSC_DIR: /users/$USERNAME$/NumLib/petsc-3.21.1 > Prefix: <inplace installation> > Scalar type: real > Precision: double > Support for __float128 > Integer size: 4 bytes > Single library: yes > Shared libraries: yes > Memory alignment from malloc(): 16 bytes > Using GNU make: /usr/bin/gmake > xxx=======================================================================================xxx > Configure stage complete. Now build PETSc libraries with: > make PETSC_DIR=/users/$USERNAME$/NumLib/petsc-3.21.1 PETSC_ARCH=gnu-opt all > xxx=======================================================================================xxx > ================================================================================ > Finishing configure run at Thu, 13 Jun 2024 11:42:35 -0600