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

Sacado: Check for zero base in pow(Fad,Const) #4443

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

etphipp
Copy link
Contributor

@etphipp etphipp commented Feb 20, 2019

Most Sacado overloads of pow() check for a zero base, and return zero
instead of evaluating the derivative even though in many situations this
isn't technically correct (since the derivative is often not defined
there). In PR #4380, I changed this behavior for the pow(Fad,Const)
case, where I use a different formula. This was causing NaN's in
Charon's Jacobian evaluation, so this commit restores the previous
behavior (which again is technically not correct).

Most Sacado overloads of pow() check for a zero base, and return zero
instead of evaluating the derivative even though in many situations this
isn't technically correct (since the derivative is often not defined
there).  In PR trilinos#4380, I changed this behavior for the pow(Fad,Const)
case, where I use a different formula.  This was causing NaN's in
Charon's Jacobian evaluation, so this commit restores the previous
behavior (which again is technically not correct).
@etphipp etphipp added pkg: Sacado AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed labels Feb 20, 2019
@etphipp etphipp self-assigned this Feb 20, 2019
@etphipp etphipp requested a review from rppawlo February 20, 2019 17:16
@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 2590
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 2387
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 879
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 541
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 305
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Using Repos:

Repo: TRILINOS (etphipp/Trilinos)
  • Branch: sacado_pow_const_b
  • SHA: dfa74c6
  • Mode: TEST_REPO

Pull Request Author: etphipp

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 2590
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 2387
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 879
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 541
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 305
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 4443
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH sacado_pow_const_b
TRILINOS_SOURCE_REPO https://github.com/etphipp/Trilinos
TRILINOS_SOURCE_SHA dfa74c6
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA fc0976b


CDash Test Results for PR# 4443.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ rppawlo ]!

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Pull Request will be Automerged

@trilinos-autotester trilinos-autotester merged commit d7d9b5a into trilinos:develop Feb 20, 2019
@trilinos-autotester
Copy link
Contributor

Merge on Pull Request# 4443: IS A SUCCESS - Pull Request successfully merged

@trilinos-autotester trilinos-autotester removed the AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed label Feb 20, 2019
@etphipp etphipp deleted the sacado_pow_const_b branch February 21, 2019 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants