Skip to content
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 deprecated code in ATDM Trilinos builds slated to be removed in Trilinos 13.0 #6217

Closed
bartlettroscoe opened this issue Nov 3, 2019 · 7 comments
Labels
ATDM Config Issues that are specific to the ATDM configuration settings ATDM DevOps Issues that will be worked by the Coordinated ATDM DevOps teams client: ATDM Any issue primarily impacting the ATDM project client: EMPIRE All issues that most directly target the ATDM EMPIRE code type: enhancement Issue is an enhancement, not a bug

Comments

@bartlettroscoe
Copy link
Member

bartlettroscoe commented Nov 3, 2019

CC: @bathmatt, @jmgate, @rppawlo

Turn off all Trilinos deprecated code slated to be removed in Trilinos 13.0 release. The full set of deprecated settings are now being used in EMPIRE as shown in:

which include:

-D KOKKOS_ENABLE_DEPRECATED_CODE=OFF \
-D Tpetra_ENABLE_DEPRECATED_CODE=OFF  \
-D Belos_HIDE_DEPRECATED_CODE=ON  \
-D Epetra_HIDE_DEPRECATED_CODE=ON  \
-D Ifpack2_HIDE_DEPRECATED_CODE=ON \
-D Ifpack2_ENABLE_DEPRECATED_CODE=OFF \
-D MueLu_ENABLE_DEPRECATED_CODE=OFF \
-D Panzer_HIDE_DEPRECATED_CODE=ON  \
-D Phalanx_HIDE_DEPRECATED_CODE=ON \
-D RTop_HIDE_DEPRECATED_CODE=ON \
-D STK_HIDE_DEPRECATED_CODE=ON \
-D Teuchos_HIDE_DEPRECATED_CODE=ON\
-D Thyra_HIDE_DEPRECATED_CODE=ON \
-D Trios_HIDE_DEPRECATED_CODE=ON \

The ATDM Dev Env & Tools Issue for this is:

SUB-TASKS:

  • Create branch '6427-hide-deprecated-code' and add deprecated settings to cmake/std/atdm/ATDMDevEnvSettings.cmake ...
  • Test updated ATDM Trilinos builds and test suite for a few different builds (cee-rhel6 clang & gnu, waterman cuda, sems-rhel7 gnu) ...
  • Test SPARC against updated configuration (clang, gnu, and cuda) ...
  • ???
@bartlettroscoe bartlettroscoe added type: enhancement Issue is an enhancement, not a bug client: ATDM Any issue primarily impacting the ATDM project ATDM Config Issues that are specific to the ATDM configuration settings client: EMPIRE All issues that most directly target the ATDM EMPIRE code ATDM DevOps Issues that will be worked by the Coordinated ATDM DevOps teams labels Nov 3, 2019
@bartlettroscoe
Copy link
Member Author

CC: @kddevin, @jmgate

@rppawlo, @bathmatt,

What about these other deprecation that @kddevin announced in the below email (and detailed in trilinos_deprecations.pdf)? This deprecated code is supposed to start getting removed starting Nov. 15!!!!!


From: Trilinos-Users [email protected] On Behalf Of Devine, Karen D
Sent: Tuesday, October 22, 2019 7:46 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [EXTERNAL] [Trilinos-Users] Trilinos code deprecation announcement

Trilinos is announcing the deprecation of 37 features in 16 packages. Full details of the deprecated features, including mitigations, are in the attached document. All deprecated features have produced warnings in Trilinos builds since Trilinos v12.16.

The expected deprecation schedule is
• November 15, 2019: Trilinos developers may begin removing deprecated code from Trilinos' develop branch
• December 4, 2019: Trilinos release v13
Users can test their applications now without deprecated code by adding the following configuration flags to their Trilinos builds:

 -D KOKKOS_ENABLE_DEPRECATED_CODE=OFF \
 -D Tpetra_ENABLE_DEPRECATED_CODE=OFF  \
 -D Belos_HIDE_DEPRECATED_CODE=ON  \
 -D Epetra_HIDE_DEPRECATED_CODE=ON  \
 -D Ifpack2_HIDE_DEPRECATED_CODE=ON \
 -D Ifpack2_ENABLE_DEPRECATED_CODE=OFF \
 -D MueLu_ENABLE_DEPRECATED_CODE=OFF \
 -D Panzer_HIDE_DEPRECATED_CODE=ON  \
 -D Phalanx_HIDE_DEPRECATED_CODE=ON \
 -D RTop_HIDE_DEPRECATED_CODE=ON \
 -D STK_HIDE_DEPRECATED_CODE=ON \
 -D Teuchos_HIDE_DEPRECATED_CODE=ON\
 -D Thyra_HIDE_DEPRECATED_CODE=ON \
 -D Claps_HIDE_DEPRECATED_CODE=ON \
 -D GlobiPack_HIDE_DEPRECATED_CODE=ON \
 -D OptiPack_HIDE_DEPRECATED_CODE=ON \
 -D Trios_HIDE_DEPRECATED_CODE=ON \

Concerns should be shared with Trilinos product leaders (Karen Devine, Roger Pawlowski, Mauro Perego, Siva Rajamanickam, and Jim Willenbring) and Trilinos product managers (Michael Wolf, Dena Vigil).

@rppawlo
Copy link
Contributor

rppawlo commented Nov 4, 2019

Hi Ross,

We can not turn off trilinos deprecated code in atdm builds just yet (kokkos deprecated code is now ok to turn off). @etphipp verified sparc is working without deprecated code. We have pushed changes on empire side, but there are two runtime failures occurring. These issues are blocking:

#6163

#6149

once these are finished we should be good to go.

@bartlettroscoe bartlettroscoe changed the title Set KOKKOS_ENABLE_DEPRECATED_CODE=OFF in ATDM Trilinos builds Disable deprecated code in ATDM Trilinos builds slated to be removed in Trilinos 13.0 Nov 25, 2019
@bartlettroscoe
Copy link
Member Author

CC: @kddevin, @rppawlo

In:

@bathmatt requested that we hold off on turning off deprecated code in the ATDM Trilinos builds until after Dec 15.

@william76, @ZUUL42,

But we still need to set up a Trilinos PR build that disables deprecated code so that Trilinos 'develop' does not backslide.

@bartlettroscoe
Copy link
Member Author

FYI: I removed:

 -D Claps_HIDE_DEPRECATED_CODE=ON \
 -D GlobiPack_HIDE_DEPRECATED_CODE=ON \
 -D OptiPack_HIDE_DEPRECATED_CODE=ON \

because those packages are not even in Trilinos anymore.

@bartlettroscoe
Copy link
Member Author

Seems that SPARC's and EMPIRE's Trilinos configurations recently set all of these options and disabled all of this deprecated code. Therefore, we might as well do so for the ATDM Trilinos builds too. But note that none of the Trilinos PR builds disable any of this code yet (see #6347). Therefore, we should expect updates that pass the PR builds to break the ATDM Trilinos builds and break the usage of Trilinos by the ATDM APPs.

I will post the PR for this but will not merge this until after the ECP Annual meeting in case this triggers a bunch of new test failures.

bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Feb 3, 2020
All of this code should be removed from Trilinos 13.0.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Feb 3, 2020
Also, the correctly spelled RTOp_HIDE_DEPRECATED_CODE does not actually do
anything as there is no code to remove that I can see. Removing that
deprecated code will require manual removal.
@bartlettroscoe
Copy link
Member Author

Just waiting for PR #6730 to be merged and then watch the ATDM Trilinos builds ...

trilinos-autotester added a commit that referenced this issue Feb 3, 2020
…le-all-deprecated-code

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Disable deprecated code (#6217)
PR Author: bartlettroscoe
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Feb 4, 2020
…s:develop' (2bfd2c7).

* trilinos-develop: (177 commits)
  Add a fix for a stk cmake file
  Promote atdm ats2 gnu+dbg and cuda+gnu+dbg to 'Specialized' (CDOFA-72)
  Intrepid2: remove unnecessary finalize calls in unit tests
  Disable STEQR() LAPACK test on ats2 deug builds (trilinos#2410, trilinos#6166)
  Disable some timing out ROL tests (trilinos#6124)
  Disable timing out Tempus tests on ats2 (trilinos#6009)
  fixed some broken teuchos unit tests and removed missed deprecated methods
  Promoting ats2+gnu+opt build which is 100% clean (CDOFA-27)
  removed deprecated overload of << in SerialDenseMatrix, SerialBandDenseMatrix, SerialSymDenseMatrix, and SerialDenseVector
  removed deprecated Teuchos::Comm helpers reduceAll and scan that take pointers to return arguments
  removed deprecated MPITraits class
  removed deprecated ArrayArg class
  removed deprecated LAPACK::GEBAL method that takes ilo and ihi by value
  removed deprecated LAPACK::POSVX and LAPACK::GESVX methods that take EQUED by value
  removed deprecated LAPACK::TREXC method that takes ifst and ilst by value
  removed deprecated count method in ArrayRCP, RCP, and RCPNode
  removed deprecated PerformanceMonitorBase::clearTimer methods
  Intrepid2: Temporarily disabling tests failing on some machines (Issue trilinos#6246)
  Remove misspelled RTop_HIDE_DEPRECATED_CODE (trilinos#6217)
  Disable/hide deprecated code (trilinos#6217)
  ...
@bartlettroscoe
Copy link
Member Author

With EMPIRE having updated Trilinos 'develop' as recently as:

*   ff9e590 "Merge 'trilinos/Trilinos:develop' (2639a33) into 'EM-Plasma/Trilinos:develop' (4b63fe4)."
|\  Author: Jenkins Pipeline <[email protected]>
| | Date:   Mon Feb 24 06:21:23 2020 -0700 (71 minutes ago)
| |     
| *   2639a33 "Merge pull request #5714 from Tech-XCorp/amesos2GPU-Tacho"
| |\  Author: Michel de Messieres <[email protected]>
| | | Date:   Sun Feb 23 06:08:35 2020 -0500 (27 hours ago)

and with SPARC Trilinos Integration building clean as of testing day 2020-02-21 (see [SPAR-767] and SPARC CDash on 2020-02-24 here), I SPARC and EMPIRE are good with the disable of deprecated code in Trilinos.

Closing this Issue as complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ATDM Config Issues that are specific to the ATDM configuration settings ATDM DevOps Issues that will be worked by the Coordinated ATDM DevOps teams client: ATDM Any issue primarily impacting the ATDM project client: EMPIRE All issues that most directly target the ATDM EMPIRE code type: enhancement Issue is an enhancement, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants