[petsc-users] Error installing PETSc with --download-f2cblaslapack

Barry Smith bsmith at petsc.dev
Fri Jun 6 18:12:38 CDT 2025


  Send configure.log

  I assume you tried rerunning a few times? It seems like possibly a flaky filesystem problem.

  Barry


> On Jun 6, 2025, at 6:56 PM, Blondel, Sophie via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> Hi, 
> 
> I am getting an error when trying to install PETSc with --download-f2cblaslapack on Linux:
> =============================================================================================
>                    Installing F2CBLASLAPACK; this may take several minutes
> =============================================================================================
> 
> *********************************************************************************************
>            UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> ---------------------------------------------------------------------------------------------
>   Error moving
>   /home/sophie/Workspace/xolotl-stable-source/external/petsc/arch-linux-c-opt/externalpackages/f2cblaslapack-3.8.0.q2
>   libraries
> 
> With the error in configure.log (which is accurate, the file is not present in the folder):
> =============================================================================================
>                    Installing F2CBLASLAPACK; this may take several minutes
> =============================================================================================
> Executing: ['mkdir', '-p', '/home/sophie/Workspace/xolotl-stable-build/external/petsc_install/lib']
> Executing: ['cp', '-f', 'libf2clapack.a', 'libf2cblas.a', '/home/sophie/Workspace/xolotl-stable-build/external/petsc_install/lib']
> stdout: cp: cannot stat 'libf2clapack.a': No such file or directory
>                     Error moving /home/sophie/Workspace/xolotl-stable-source/external/petsc/arch-linux-c-opt/externalpackages/f2cblaslapack-3.8.0.q2 libraries: Could not execute "[['mkdir', '-p', '/home/sophie/Workspace/xolotl-stable-build/external/petsc_install/lib'], ['cp', '-f', 'libf2clapack.a', 'libf2cblas.a', '/home/sophie/Workspace/xolotl-stable-build/external/petsc_install/lib']]":
> cp: cannot stat 'libf2clapack.a': No such file or directory
> 
> The configure command is: 
> ./configure --prefix=/home/sophie/Workspace/xolotl-stable-build/external/petsc_install --with-fc=0 --with-cuda=0 --with-mpi --with-openmp=0 --with-debugging=0 --with-shared-libraries --with-64-bit-indices --download-kokkos --download-kokkos-kernels --download-hdf5 --download-hdf5-configure-arguments=--enable-parallel --download-boost --download-f2cblaslapack --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> The version of PETSc you are using is out-of-date, we recommend updating to the new release
>  Available Version: 3.23.3   Installed Version: 3.22.2
> 
> Let me know what additional information I can provide to help identify the issue.
> 
> Best,
> 
> Sophie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250606/9e338028/attachment-0001.html>


More information about the petsc-users mailing list