[petsc-users] Error installing PETSc with --download-f2cblaslapack
Blondel, Sophie
sblondel at utk.edu
Fri Jun 6 17:56:10 CDT 2025
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/1845817d/attachment.html>
More information about the petsc-users
mailing list