<div dir="ltr">Dear PETSC users,<div><br></div><div>My colleague and I found an complex number related error (passing arguments of PetscMax and PetscMin) during PETSC installation. If you have a similar experience, could you suggest a trouble shooting?</div><div><br></div><div>Thanks,</div><div>Evan</div><div><div><br></div><div><br></div><div>Installation configuration:</div><div><br></div><div>

<div dir="ltr" style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:monospace,monospace">d=${HOME}/usr/lib/petsc-3.9.3<br></span></div><div dir="ltr" style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:monospace,monospace">./configure PETSC_DIR=$d PETSC_ARCH=linux-intel --prefix=${HOME}/usr/lib/<wbr>petsc-3.9.3-intel-mumps --with-mpi-dir=/global/<wbr>software/sl-6.x86_64/modules/<wbr>intel/2013_sp1.4.211/openmpi/<wbr>1.6.5-intel --with-scalar-type=complex --download-fblaslapack=${d}/<wbr>fblaslapack-3.1.1.tar.gz --download-superlu_dist --download-metis --download-parmetis --download-scotch --download-ptscotch --with-fortran-kernels=yes --with-openmp --download-mumps --with-precision=double --download-superlu --with-cxx-dialect=C++11 --download-scalapack --with-debugging=0</span></div>

<br></div><div>Errors:</div><div>

<br class="gmail-Apple-interchange-newline"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> </span><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-family:monospace,monospace">         CC linux-intel/obj/ksp/pc/impls/<wbr>kaczmarz/kaczmarz.o<br>          CC linux-intel/obj/ksp/pc/impls/<wbr>galerkin/galerkin.o<br>/data1/home/mcommer/usr/lib/<wbr>petsc-3.9.3/src/ksp/pc/impls/<wbr>tfs/ivec.c(601): error: complex type is not allowed<br>      *arg1 = PetscMax(*arg1,*arg2);<br>              ^<br><br>/data1/home/mcommer/usr/lib/<wbr>petsc-3.9.3/src/ksp/pc/impls/<wbr>tfs/ivec.c(625): error: complex type is not allowed<br>      *arg1 = PetscMin(*arg1,*arg2);<br>              ^<br><br>compilation aborted for /data1/home/mcommer/usr/lib/<wbr>petsc-3.9.3/src/ksp/pc/impls/<wbr>tfs/ivec.c (code 2)<br>gmake[2]: *** [linux-intel/obj/ksp/pc/impls/<wbr>tfs/ivec.o] Error 2<br>gmake[2]: *** Waiting for unfinished jobs....<br>gmake[2]: Leaving directory `/data1/home/mcommer/usr/lib/<wbr>petsc-3.9.3'<br>gmake[1]: *** [gnumake] Error 2<br>gmake[1]: Leaving directory `/data1/home/mcommer/usr/lib/<wbr>petsc-3.9.3'<br>**************************<wbr>ERROR*************************<wbr>************<br>  Error during compile, check linux-intel/lib/petsc/conf/<wbr>make.log<br>  Send it and linux-intel/lib/petsc/conf/<wbr>configure.log to<span> </span><a href="mailto:petsc-maint@mcs.anl.gov" target="_blank" style="color:rgb(17,85,204)">petsc-maint@mcs.anl.gov</a><br>******************************<wbr>******************************<wbr>********<br>make: *** [all] Error 1</span>

<br></div><div><br></div><div><br></div><div><br></div></div></div>