-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trilinos and mingw (msys2) #9802
Comments
FYI, I am also attempting the same process at the moment (building Trilinos under msys2) and using the same build generator. I also had to disable Kokkos & Tpetra due to the above issues, although I can sidestep the issue with Epetra by specifying
I am compiling with gcc-10.3.0. |
I believe I have identified the issue blocking Teuchos from building; Teuchos depends on the Windows socket library (
to this:
as it was conflicting with an already-defined TRiBITS macro. |
What version of Trilinos is this? |
@bartlettroscoe This is 13.0.1 |
@sskutnik, that is a very old version of Trilinos as shown by:
My advice is to try a recent version of 'master'. |
Even though it's old, 13.0.1 is the most recent Trilinos release. |
FYI, the release schedule is a topic of recent discussion, and hopefully be more regular. I think @jwillenbring did a recent tag of a minor release, but I do not see it. |
My test for master (download 10AM 25.10.2021 UTC+01:00). Main setting:
Error: For Ninja and MSYS Makefiles:
after add for Ninja generator:
for MSYS Generator - OK (compiling start)
after add
after add 100% OK! Now test with
It's really close to compiling all the trilinos packages in the msys2 (mingw) environment. |
@3rav Try on the |
@sskutnik You might already know this, but Kokkos is maintained separately at https://github.com/kokkos/kokkos, so any PR should go there. Kokkos developers are also very responsive on their slack channel -- see kokkos.org -> outreach. |
For current develop branch I successfully compiled trilinos with give me 58 static .a libraries, with this flags:
error before Trilinos_ENABLE_Moertel=OFF:
error before Trilinos_ENABLE_Piro=OFF:
Can you release 13.2.1 based on develop branch, for this version (compared to 13.2.0), much more libraries are compiled 5 vs 58? |
@3rav Thanks for the information. What SHA is this? @jwillenbring |
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
In order to keep the thread from being closed, this error persists (the latest version 13.4.1):
|
ad. 1 With -GNinja (solved): |
Related: msys2/MINGW-packages#21150 |
I was able to compile Trillions in the mingw environment but had to exclude a few packages, due to the fact that I compiled the new seacas separately, I excluded its packages.
-DTrilinos_ENABLE_SEACAS=OFF and -DTrilinos_ENABLE_Zoltan=OFF
Errors encountered:
after changing to "MSYS Makefile" problem no longer exists, but a ninja generator is recommended.
and error only for mingw32 and shared library (-DBUILD_SHARED_LIBS=ON):
The text was updated successfully, but these errors were encountered: