justinquinn Thank you very much for your efforts! I re-downloaded your updated ISSM source code from Github and re-tried the installation. Below is my feedback on installing petsc, which I think was successfully installed except for the SyntaxWarning which can be ignored.
......
=========================================
Now to install the libraries do:
make PETSC_DIR=/c/ISSM/externalpackages/petsc/src PETSC_ARCH=arch-mswin-c-opt install
=========================================
*** Using PETSC_DIR=/c/ISSM/externalpackages/petsc/src PETSC_ARCH=arch-mswin-c-opt ***
*** Installing PETSc at prefix location: /c/ISSM/externalpackages/petsc/install ***
====================================
Install complete.
Now to check if the libraries are working do (in current directory):
make PETSC_DIR=/c/ISSM/externalpackages/petsc/install PETSC_ARCH="" check
====================================
/usr/bin/make --no-print-directory -f makefile PETSC_ARCH=arch-mswin-c-opt PETSC_DIR=/c/ISSM/externalpackages/petsc/src mpi4py-install petsc4py-install libmesh-install mfem-install slepc-install hpddm-install amrex-install bamg-install
make[2]: Nothing to be done for 'mpi4py-install'.
make[2]: Nothing to be done for 'petsc4py-install'.
make[2]: Nothing to be done for 'libmesh-install'.
make[2]: Nothing to be done for 'mfem-install'.
make[2]: Nothing to be done for 'slepc-install'.
make[2]: Nothing to be done for 'hpddm-install'.
make[2]: Nothing to be done for 'amrex-install'.
make[2]: Nothing to be done for 'bamg-install'.
The feedback after installing triangle is as follows:
Archive: triangle.zip
inflating: src/A.poly
inflating: src/README
inflating: src/makefile
inflating: src/showme.c
inflating: src/triangle.c
inflating: src/triangle.h
inflating: src/tricall.c
patching file src/triangle.c
patching file src/triangle.h
patching file src/triangle.h
Hunk #1 succeeded at 253 (offset -6 lines).
gcc -DNO_TIMER -fpic -DTRILIBRARY -shared -o libtriangle.dll triangle.c
triangle.c: In function 'printtriangle':
triangle.c:3681:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3681 | printf("triangle x%lx with orientation %d:\n", (unsigned long) t->tri,
| ^
triangle.c:3687:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3687 | printf(" [0] = x%lx %d\n", (unsigned long) printtri.tri,
| ^
triangle.c:3694:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3694 | printf(" [1] = x%lx %d\n", (unsigned long) printtri.tri,
| ^
triangle.c:3701:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3701 | printf(" [2] = x%lx %d\n", (unsigned long) printtri.tri,
| ^
triangle.c:3710:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3710 | (t->orient + 1) % 3 + 3, (unsigned long) printvertex,
| ^
triangle.c:3717:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3717 | (t->orient + 2) % 3 + 3, (unsigned long) printvertex,
| ^
triangle.c:3724:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3724 | t->orient + 3, (unsigned long) printvertex,
| ^
triangle.c:3730:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3730 | printf(" [6] = x%lx %d\n", (unsigned long) printsh.ss,
| ^
triangle.c:3735:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3735 | printf(" [7] = x%lx %d\n", (unsigned long) printsh.ss,
| ^
triangle.c:3740:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3740 | printf(" [8] = x%lx %d\n", (unsigned long) printsh.ss,
| ^
triangle.c: In function 'printsubseg':
triangle.c:3776:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3776 | (unsigned long) s->ss, s->ssorient, mark(*s));
| ^
triangle.c:3781:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3781 | printf(" [0] = x%lx %d\n", (unsigned long) printsh.ss,
| ^
triangle.c:3788:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3788 | printf(" [1] = x%lx %d\n", (unsigned long) printsh.ss,
| ^
triangle.c:3797:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3797 | 2 + s->ssorient, (unsigned long) printvertex,
| ^
triangle.c:3804:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3804 | 3 - s->ssorient, (unsigned long) printvertex,
| ^
triangle.c:3811:36: warning: cast from p
I don't know if this feedback means the success or failure of the installation, please interpret it.