Thank you for the suggestion,

Getting openblas through conda fixed my issue!

Best,

Sophie
________________________________
From: Stefano Zampini <stefano.zamp...@gmail.com>
Sent: Saturday, June 7, 2025 02:22
To: Blondel, Sophie <sblon...@utk.edu>
Cc: Barry Smith <bsm...@petsc.dev>; PETSc users list <petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] Error installing PETSc with --download-f2cblaslapack

You don't often get email from stefano.zamp...@gmail.com. Learn why this is 
important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!fRPijLKEBAl8N7xvy2EfJD49g9J48XyyMp2bPzgZfFToDOrXm2Gg9A-GFvU9EI-JN9H5-sR0OlqG4mY9sG7Ea43n$
 >
If conda is providing the external dependencies, why do you want 
download-f2cblaslapack and not use a conda provided one? Mkl or openblas for 
example

Stefano

On Sat, Jun 7, 2025, 02:20 Blondel, Sophie via petsc-users 
<petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>> wrote:
Correct, I tried a few different python versions and mpi versions, conda is 
providing the external dependencies. Maybe it wrongly points to some base 
builds instead of the specific environment I set up.

Best,

Sophie

On Jun 6, 2025 7:12 PM, Barry Smith <bsm...@petsc.dev<mailto:bsm...@petsc.dev>> 
wrote:

  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@mcs.anl.gov<mailto:petsc-users@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

Reply via email to