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
Disable Fortran in one of the Trilinos PR builds #4238
Comments
CC: @fryeguy52 @mhoemmen, I added this since it looks like PR #4228 that you merged yesterday broke all of the EMPIRE ATDM Trilinos builds shown here. |
@trilinos/framework, it seems like a good candidate Trilinos PR build to set |
Thanks @bartlettroscoe ; this would be super helpful :D |
That's a good idea. Most of the Fortran issues relate to TPLs and binding to non-MPI functions. |
This seems like a reasonable thing to do. It seems unlikely that we would have many cases where a serial no fortran build would pass, when a serial build with fortran would fail. I have fired off a build to help us look at the current situation more closely. |
Right. Most of the Fortran/no-Fortran logic in Trilinos has nothing to do with MPI, it is all serial code.
Thanks! |
@bartlettroscoe @mhoemmen @trilinos/kokkos-kernels I ran the SERIAL PR build with Fortran disabled (and no other changes) and got the configure error: Should Kokkos-kernels simply be disabled if Fortran is disabled? |
@jwillenbring said:
That is error got onto 'develop' that we are trying to avoid but adding |
What @bartlettroscoe said :D I reverted the change that caused that configure-time error. |
After rebasing, things look much better. This build ran only 3 fewer tests than the one with fortran enabled for comparison (although this build was not rebased, it was using develop from earlier in the day - I didn't see a need to regenerate these results). I will see if there are any concerns about modifying the existing SERIAL PR bulid to disable Fortan at this mornings @trilinos/framework standup. If not, I don't see any impediments to pushing this. |
@jwillenbring, this looks good and what one would expect. Please let us know once this update gets merged. Thanks! |
@trilinos/framework, it just occurred to me that it would be good to document the set of Trilinos PR builds and what each of them vary to make it clear that if you were to drop off this GCC SERIAL PR build, you loose testing with Fortran disabled, for example. The same goes for testing with complex enabled, with OpenMP enabled, etc. A small table on the Trilinos GitHub wiki would do the trick. What do you think? |
I updated the existing PR testing page. This should be at least a start of what you are looking for. |
@jwillenbring said:
Thanks! I added a bullet that the GCC 4.8.4 actually enables OpenMP (which is more than just including the pthread TPL). |
Automatically Merged using Trilinos Pull Request AutoTester PR Title: Disable Fortran for 4.9.3 SERIAL build Fix Issue #4238 PR Author: ZUUL42
I am going to close this because #4238 was merged. |
CC: @trilinos/framework, @mhoemmen, @rppawlo, @bathmatt, @jmgate, @fryeguy52
There are several projects that disable Fortran when building Trilinos. Currently, the EMPIRE ATDM Trilinos configuration disables Fortran. (But that will chance once we fully merge the SPARC and EMPIRE ATDM Trilinos configurations since the SPARC configuration enables Fortran.) The Drekar developers disable Fortran in their configurations (which is not likely to change). Also, many people who build on Macs disable Fortran (since Macs don't come with a Fortran compiler by default).
Therefore, it is important for Trilinos to support a Fortran-less configuration and build. Therefore, at least one of the Trilinos PR builds needs to set
Trilinos_ENABLE_Fortran=OFF
.The text was updated successfully, but these errors were encountered: