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

Gang Li ligang0309 at gmail.com
Sun Jun 23 07:27:23 CDT 2024


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240623/bad72488/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 2274908 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240623/bad72488/attachment-0001.obj>


More information about the petsc-users mailing list