Closed Hsiang-Yj closed 1 year ago
You should compile PETSc first, see https://github.com/FreeFem/FreeFem-sources/blob/develop/README.md#freefem. Make sure that you have these pacman packages installed autoconf automake-wrapper bison bsdcpio make git mingw-w64-x86_64-toolchain patch python flex pkg-config pkgfile tar unzip mingw-w64-x86_64-cmake mingw-w64-x86_64-msmpi mingw-w64-x86_64-openblas mingw-w64-x86_64-jq
.
Thank you, I try to compile PETS first, but it feedback: no mpicc in (......)as following:
My 3rdparty isall download from git:
My config.log in FreeFem-sources is below: config.log
Please, make sure that:
develop
branch;mingw-w64-x86_64-msmpi
is installed;--prefix
, see again README.md referenced earlier.You should not use SUDO
to install PETSc (which will install ARPACK).
Problem still exists! When compiling PETSc alone.
You are still not using a fresh FreeFEM develop
branch, see https://github.com/FreeFem/FreeFem-sources/blob/b34f967acc05df3d91f4acf102c750518bb2d7ec/3rdparty/getall#L176 And it looks like you installed the wrong Python, so you may want to type export PYTHON=/usr/bin/python
in your terminal before make petsc-slepc
.
Thank u, I will use a fresh FreeFEM develop branch to have another try, and my python version is 3.10.11, I didn't do some special operation on Python, which already existed in my computer. Did the python suit for this project?
No, you must use /usr/bin/python
, cf. the export
command from above. Just run it before make petsc-slepc
.
Okay, appreciate for your suggestion. I will try again!
Can you provide me some more suggestion! Thank U very much!
You are still not using a fresh develop
branch...
And you still did not install mingw-w64-x86_64-msmpi
. Why ask for advices, if you don't follow the instructions? Once the package is installed, you'll have
$ which mpicc
/mingw64/bin/mpicc
You currently have which: no mpicc
.
Can I close the issue or do you still have issues?
Of course. Thank you for your time!
from:iPhone
------------------ Original ------------------ From: Pierre Jolivet @.> Date: Sat,May 13,2023 10:00 PM To: FreeFem/FreeFem-sources @.> Cc: Hsiang-Yj @.>, Author @.> Subject: Re: [FreeFem/FreeFem-sources] Win10 compiling error with MS-MPI+Msys2 latest-version +git : error occuring for lacking libarpack.a file (Issue #267)
Can I close the issue or do you still have issues?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I follow the installation guide website:https://doc.freefem.org/introduction/installation.html#compilation-on-windows, to compile the FreeFem, however something wrong happened. The screenshot of Msys2_MinGW_64 is like the following picture:
Pls tell me how to fix it! Thanks a lot!