<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
 > > 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. Why is the above source file missing? Make sure your
</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBannerawxnr39" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBannerawxnr39" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannerawxnr39" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBannerawxnr39" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannerawxnr39 { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonawxnr39:hover, .pfptPrimaryButtonawxnr39:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonawxnr39:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="UTF-8"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">> > 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.

Why is the above source file missing?  Make sure your petsc source tree is not corrupted.

Best to start with a fresh tarball [or git repo] - and rebuild. And if you still have issues, send us the logs

Satish

On Thu, 13 Jun 2024, Barry Smith wrote:


>   Please send configure.log and make.log to petsc-maint@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 <spradeepmahadeek@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 <<a href="https://urldefense.us/v3/__http://rules_doc.mk:5__;!!G_uCfscf7eWS!bzt6Ug_Q99IAVZ3YC6uReptvtUbsmvjz5BTANuRoXR9Ap8p-lmK9vgI05Bc1978HvYN2t63u7h4OQCvKWLfZ2bAtjgAjZzjQ$>:">https://urldefense.us/v3/__http://rules_doc.mk:5__;!!G_uCfscf7eWS!bzt6Ug_Q99IAVZ3YC6uReptvtUbsmvjz5BTANuRoXR9Ap8p-lmK9vgI05Bc1978HvYN2t63u7h4OQCvKWLfZ2bAtjgAjZzjQ$>:</a>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-maint@mcs.anl.gov <mailto:petsc-maint@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


</pre></body></html>