[petsc-users] Cmake problem on an old cluster

Danyang Su danyang.su at gmail.com
Thu Jan 19 12:46:03 CST 2023


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 1176282 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230119/26ef3cc8/attachment-0001.bin>


More information about the petsc-users mailing list