[petsc-users] Problem about compiling PETSc-3.21.2 under Cygwin

Barry Smith bsmith at petsc.dev
Mon Jun 24 11:06:09 CDT 2024


  Do

  ls /cygdrive/e/Major/Codes/libraries/PETSc/petsc-3.21.2/lib/petsc/conf/




> On Jun 23, 2024, at 8:27 AM, Gang Li <ligang0309 at gmail.com> wrote:
> 
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi,
> 
> I have configured the PETSc under Cygwin by:
> 
> cygpath -u `cygpath -ms '/cygdrive/c/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64'`
>    ./configure --with-cc='win32fe_icl' --with-fc='win32fe_ifort' --with-cxx='win32fe_icl' \
> --with-precision=double --with-scalar-type=complex \
> --with-shared-libraries=0 \
> --with-mpi=0 \
> --with-blaslapack-lib='-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
> 
> It seems to be successful. When make it, I faced a problem:
> 
> $ make PETSC_DIR=/cygdrive/e/Major/Codes/libraries/PETSc/petsc-3.21.2 PETSC_ARCH=arch-mswin-c-debug all
> /usr/bin/python3 ./config/gmakegen.py --petsc-arch=arch-mswin-c-debug
> makefile:25: /cygdrive/e/Major/Codes/libraries/PETSc/petsc-3.21.2/lib/petsc/conf
> /rules_util.mk: No such file or directory
> gmake[1]: *** No rule to make target '/cygdrive/e/Major/Codes/libraries/PETSc/pe
> tsc-3.21.2/lib/petsc/conf/rules_util.mk'. Stop.
> make: *** [GNUmakefile:9: all] Error 2
> 
> Could you help to check it?
> Thanks.
> 
> Gang Li
> 
> 
> 
> 
> <configure.log><gmake.log>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240624/3fd7f22d/attachment-0001.html>


More information about the petsc-users mailing list