[petsc-users] Cmake problem on an old cluster

Barry Smith bsmith at petsc.dev
Thu Jan 19 13:00:42 CST 2023


  Remove --download-cmake=/home/danyangs/soft/petsc/petsc-3.18.3/packages/cmake-3.25.1.tar.gz  and install CMake yourself. Then configure PETSc with --with-cmake=directory you installed it in.

  Barry


> On Jan 19, 2023, at 1:46 PM, Danyang Su <danyang.su at gmail.com> wrote:
> 
> Hi All,
> 
> I am trying to install the latest PETSc on an old cluster but always get some error information at the step of cmake. The system installed cmake is V3.2.3, which is out-of-date for PETSc. I tried to use --download-cmake first, it does not work. Then I tried to clean everything (delete the petsc_arch folder), download the latest cmake myself and pass the path to the configuration, the error is still there.
> 
> The compiler there is a bit old, intel-14.0.2 and openmpi-1.6.5. I have no problem to install PETSc-3.13.6 there. The latest version cannot pass configuration, unfortunately. Attached is the last configuration I have tried.
> 
> --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --download-cmake=/home/danyangs/soft/petsc/petsc-3.18.3/packages/cmake-3.25.1.tar.gz --download-mumps --download-scalapack --download-parmetis --download-metis --download-ptscotch --download-fblaslapack --download-hypre --download-superlu_dist --download-hdf5=yes --with-hdf5-fortran-bindings --with-debugging=0 COPTFLAGS="-O2 -march=native -mtune=native" CXXOPTFLAGS="-O2 -march=native -mtune=native" FOPTFLAGS="-O2 -march=native -mtune=native"
> 
> Is there any solution for this.
> 
> Thanks,
> 
> Danyang
> 
> 
> <configure.log>



More information about the petsc-users mailing list