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

@trilinos/tpetra Query environment variables with Tpetra #724

Merged
merged 1 commit into from
Oct 26, 2016
Merged

@trilinos/tpetra Query environment variables with Tpetra #724

merged 1 commit into from
Oct 26, 2016

Conversation

tjfulle
Copy link
Contributor

@tjfulle tjfulle commented Oct 21, 2016

Adds Tpetra::Details::Environment singleton class:

  • query system for environment variables
  • cache retrieved environment variables
  • cache default variables on instantiation (TPETRA_DEBUG,
    TPETRA_USE_BLAS)
  • setting environment variables capability is disabled

Commit also provides an updated method of loading configuration files
with the checkin-test.py script, allowing configuration files to have
extensions different than '.py'

Addresses: #654, #684, #688

Build/Test Cases Summary
Enabled Packages: TpetraCore, Ifpack2, Belos, Amesos2, Zoltan2, Xpetra, MueLu, Stokhos, Sacado
Disabled Packages: SEACAS,STK,Shards,FEI,ROL,Moertel,Panzer,ThreadPool,OptiPack,Rythmos,Intrepid,PyTrilinos
0) MPI_DEBUG => passed: passed=515,notpassed=0 (11.04 min)

@tjfulle
Copy link
Contributor Author

tjfulle commented Oct 21, 2016

@mhoemmen @trilinos/tpetra

Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woah, I did not expect the checkin-test.py changes! That's awesome, but would you mind separating those changes into a separate commit and pull request? It's generally good to separate changes to fundamental bits of Trilinos, like the checkin-test.py script, from other, less fundamental changes. Also, it's possible that checkin-test.py belongs to TriBITS and not to Trilinos. TriBITS lives in a separate repository and gets snapshotted in. This may mean that your changes get clobbered. We can talk about that in the pull request. Thanks!

@tjfulle
Copy link
Contributor Author

tjfulle commented Oct 23, 2016

I've got several other suggestions/comments on the checkin test script and I noticed that there is an open story #158 dealing with the checkin script/environment. I'll post there.

@tjfulle
Copy link
Contributor Author

tjfulle commented Oct 24, 2016

@mhoemmen, I reverted the checkin-test.py file and re-committed/pushed. Not sure if that is the right protocol...

@mhoemmen
Copy link
Contributor

@mhoemmen, I reverted the checkin-test.py file and re-committed/pushed. Not sure if that is the right protocol...

Right protocol would be to create a new commit which does not touch checkin-test.py. That would make bisection easier. If something went wrong with checkin-test.py in the first commit, that would get that first commit unfairly blamed for anything that went wrong.

I think you can just squash the two commits, to make it like you never changed checkin-test.py. But do save your checkin-test.py changes!

Adds Tpetra::Details::Environment singleton class:
- query system for environment variables
- cache retrieved environment variables
- cache default variables on instantiation (TPETRA_DEBUG,
  TPETRA_USE_BLAS)
- setting environment variables capability is disabled

Commit also provides an updated method of loading configuration files
with the checkin-test.py script, allowing configuration files to have
extensions different than '.py'

Addresses: #654, #684, #688

Build/Test Cases Summary
Enabled Packages: TpetraCore, Ifpack2, Belos, Amesos2, Zoltan2, Xpetra, MueLu, Stokhos, Sacado
Disabled Packages: SEACAS,STK,Shards,FEI,ROL,Moertel,Panzer,ThreadPool,OptiPack,Rythmos,Intrepid,PyTrilinos
0) MPI_DEBUG => passed: passed=515,notpassed=0 (11.04 min)
@tjfulle tjfulle closed this Oct 24, 2016
@tjfulle tjfulle reopened this Oct 24, 2016
@tjfulle
Copy link
Contributor Author

tjfulle commented Oct 24, 2016

@mhoemmen, Since I had already pushed the changes, squashing was a bit problematic... I think, it might be done now?

@mhoemmen mhoemmen merged commit affb389 into trilinos:develop Oct 26, 2016
@mhoemmen
Copy link
Contributor

I still find it kinda scary to merge at the push of a button ;-) (should be harder than that somehow...)

Thanks @tjfulle !!! Great work!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants