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

TeuchosCore_TypeConversions_UnitTest_MPI_1 fails on POWER8 with GCC and CUDA 7.5 #257

Closed
nmhamster opened this issue Apr 1, 2016 · 6 comments
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Teuchos Issues primarily dealing with the Teuchos Package stage: ready The issue is ready to be worked in a Kanban-like process type: bug The primary issue is a bug in Trilinos code or tests

Comments

@nmhamster
Copy link
Contributor

@bartlettroscoe I am seeing the following failure while trying to bring Trilinos up on the POWER8 with GCC 4.9 and CUDA 7.5 (on the RHEL7.2 image).

$ ctest -VV -R TeuchosCore_TypeConversions_UnitTest_MPI_1
UpdateCTestConfiguration  from :/ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk/DartConfiguration.tcl
Parse Config file:/ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk/DartConfiguration.tcl
 Add coverage exclude regular expressions.
SetCTestConfiguration:CMakeCommand:/home/projects/pwr8-rhel72/cmake/3.4.3/bin/cmake
UpdateCTestConfiguration  from :/ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk/DartConfiguration.tcl
Parse Config file:/ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk/DartConfiguration.tcl
Test project /ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 54
    Start 54: TeuchosCore_TypeConversions_UnitTest_MPI_1

54: Test command: /ascldap/users/projects/pwr8-rhel72/openmpi/1.10.2/gcc/4.9.2/cuda/7.5.7/bin/mpiexec "-np" "1" "/ascldap/users/sdhammo/git/trilinos-github-repo/build-power8-gcc-cuda-757-test-ramdisk/packages/teuchos/core/test/TypeConversions/TeuchosCore_TypeConversions_UnitTest.exe"
54: Test timeout computed to be: 1500
54: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name white26.sandia.gov and rank 0!
54:
54: ***
54: *** Unit test suite ...
54: ***
54:
54:
54: Sorting tests by group name then by the order they were added ... (time = 2.41e-05)
54:
54: Running unit tests ...
54:
54: 0. asSafe_realToReal_UnitTest ... [Passed] (0.000332 sec)
54: 1. asSafe_stringToReal_UnitTest ...
54:  Test that code {valF = asSafe<float> (os.str ());} does not throw : passes
54:  valF = -3.40282347e+38 == -3.40282347e+38 : passed
54:  Test that code {valF = as<float> (os.str ());} does not throw : passes
54:  valF = -3.40282347e+38 == -3.40282347e+38 : passed
54:  Test that code {valF = asSafe<float> (os.str ());} does not throw : passes
54:  valF = 3.40282347e+38 == 3.40282347e+38 : passed
54:  Test that code {valF = as<float> (os.str ());} does not throw : passes
54:  valF = 3.40282347e+38 == 3.40282347e+38 : passed
54:  Test that code {valF = asSafe<float> (os.str ());} does not throw : passes
54:  valF = -1.00000000e+00 == -1.00000000e+00 : passed
54:  Test that code {valF = as<float> (os.str ());} does not throw : passes
54:  valF = -1.00000000e+00 == -1.00000000e+00 : passed
54:  Test that code {valF = asSafe<float> (os.str ());} does not throw : passes
54:  valF = -1.00000000e+00 == -1.00000000e+00 : passed
54:  Test that code {valF = as<float> (os.str ());} does not throw : passes
54:  valF = -1.00000000e+00 == -1.00000000e+00 : passed
54:  Test that code {valF = asSafe<float> (os.str ());} throws std::range_error: passed
54:
54:  Exception message for expected exception:
54:
54:   /ascldap/users/sdhammo/git/trilinos-github-repo/packages/teuchos/core/src/Teuchos_as.hpp:558:
54:
54:   Throw number = 1
54:
54:   Throw test that evaluated to true: errno == ERANGE && (val != 0)
54:
54:   Teuchos::ValueTypeConversionTraits<float, std::string>::convert: The value in the given string "-1.79769313e+308" overflows float.
54:
54:  Test that code {valF = asSafe<float> (os.str ());} throws std::range_error: passed
54:
54:  Exception message for expected exception:
54:
54:   /ascldap/users/sdhammo/git/trilinos-github-repo/packages/teuchos/core/src/Teuchos_as.hpp:558:
54:
54:   Throw number = 2
54:
54:   Throw test that evaluated to true: errno == ERANGE && (val != 0)
54:
54:   Teuchos::ValueTypeConversionTraits<float, std::string>::convert: The value in the given string "1.79769313e+308" overflows float.
54:
54:  Test that code {valD = asSafe<double> (os.str ());} does not throw : passed
54:  valD = -1.79769313486231571e+308 == -1.79769313486231571e+308 : passed
54:  Test that code {valD = as<double> (os.str ());} does not throw : passed
54:  valD = -1.79769313486231571e+308 == -1.79769313486231571e+308 : passed
54:  Test that code {valD = asSafe<double> (os.str ());} does not throw : passed
54:  valD = 1.79769313486231571e+308 == 1.79769313486231571e+308 : passed
54:  Test that code {valD = as<double> (os.str ());} does not throw : passed
54:  valD = 1.79769313486231571e+308 == 1.79769313486231571e+308 : passed
54:  Test that code {valD = asSafe<double> (os.str ());} does not throw : passed
54:  valD = -1.00000000000000000e+00 == -1.00000000000000000e+00 : passed
54:  Test that code {valD = as<double> (os.str ());} does not throw : passed
54:  valD = -1.00000000000000000e+00 == -1.00000000000000000e+00 : passed
54:  Test that code {valD = asSafe<double> (os.str ());} throws std::range_error: failed (code did not throw an exception at all)
54:  Test that code {valD = asSafe<double> (os.str ());} throws std::range_error: failed (code did not throw an exception at all)
54:  Test that code {valLD = asSafe<long double> (os.str ());} does not throw : passed
54:  valLD = -1.79769e+308 == -1.79769e+308 : passed
54:  Test that code {valLD = as<long double> (os.str ());} does not throw : passed
54:  valLD = -1.79769e+308 == -1.79769e+308 : passed
54:  Test that code {valLD = asSafe<long double> (os.str ());} does not throw : passed
54:  valLD = 1.79769e+308 == 1.79769e+308 : passed
54:  Test that code {valLD = as<long double> (os.str ());} does not throw : passed
54:  valLD = 1.79769e+308 == 1.79769e+308 : passed
54:  Test that code {valLD = asSafe<long double> (os.str ());} does not throw : passed
54:  valLD = -1 == -1 : passed
54:  Test that code {valLD = as<long double> (os.str ());} does not throw : passed
54:  valLD = -1 == -1 : passed
54:  [FAILED]  (0.000383 sec) asSafe_stringToReal_UnitTest
54:  Location: /ascldap/users/sdhammo/git/trilinos-github-repo/packages/teuchos/core/test/TypeConversions/TypeConversions_UnitTest.cpp:274
54:
54: 2. asSafe_stringToIntPositiveOverflow_UnitTest ... [Passed] (2.5e-05 sec)
54: 3. asSafe_stringToIntNegativeOverflow_UnitTest ... [Passed] (2.19e-05 sec)
54: 4. asSafe_double_int_realToSignedIntTypeOverflow_UnitTest ... [Passed] (3.19e-05 sec)
54: 5. asSafe_double_long_realToSignedIntTypeOverflow_UnitTest ... [Passed] (0 sec)
54: 6. asSafe_double_long_long_type_realToSignedIntTypeOverflow_UnitTest ... [Passed] (0 sec)
54: 7. asSafe_double_short_realToSignedIntTypeOverflow_UnitTest ... [Passed] (3.19e-05 sec)
54: 8. asSafe_double_unsigned_int_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (0.000107 sec)
54: 9. asSafe_double_unsigned_long_long_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (8.11e-05 sec)
54: 10. asSafe_double_unsigned_long_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (7.39e-05 sec)
54: 11. asSafe_double_unsigned_short_type_realToSignedIntTypeOverflow_UnitTest ... [Passed] (3e-05 sec)
54: 12. asSafe_float_int_realToSignedIntTypeOverflow_UnitTest ... [Passed] (0 sec)
54: 13. asSafe_float_long_realToSignedIntTypeOverflow_UnitTest ... [Passed] (0 sec)
54: 14. asSafe_float_long_long_type_realToSignedIntTypeOverflow_UnitTest ... [Passed] (0 sec)
54: 15. asSafe_float_short_realToSignedIntTypeOverflow_UnitTest ... [Passed] (2.91e-05 sec)
54: 16. asSafe_float_unsigned_int_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (7.1e-05 sec)
54: 17. asSafe_float_unsigned_long_long_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (7.1e-05 sec)
54: 18. asSafe_float_unsigned_long_type_realToUnsignedIntTypeOverflow_UnitTest ... [Passed] (7.01e-05 sec)
54: 19. asSafe_float_unsigned_short_type_realToSignedIntTypeOverflow_UnitTest ... [Passed] (2.81e-05 sec)
54: 20. asSafe_int_stringToIntegerPositive_UnitTest ... [Passed] (9.06e-06 sec)
54: 21. asSafe_int_stringToIntegerShouldThrow_UnitTest ... [Passed] (4.1e-05 sec)
54: 22. asSafe_int_stringToIntegerNegative_UnitTest ... [Passed] (5.96e-06 sec)
54: 23. asSafe_int_unsigned_int_type_negativeSignedIntToUnsignedInt_UnitTest ... [Passed] (3.41e-05 sec)
54: 24. asSafe_long_stringToIntegerPositive_UnitTest ... [Passed] (5.96e-06 sec)
54: 25. asSafe_long_stringToIntegerShouldThrow_UnitTest ... [Passed] (2.19e-05 sec)
54: 26. asSafe_long_stringToIntegerNegative_UnitTest ... [Passed] (5.96e-06 sec)
54: 27. asSafe_long_long_type_stringToIntegerPositive_UnitTest ... [Passed] (1.22e-05 sec)
54: 28. asSafe_long_long_type_stringToIntegerShouldThrow_UnitTest ... [Passed] (2.29e-05 sec)
54: 29. asSafe_long_long_type_stringToIntegerNegative_UnitTest ... [Passed] (7.15e-06 sec)
54: 30. asSafe_long_long_type_unsigned_long_long_type_negativeSignedIntToUnsignedInt_UnitTest ... [Passed] (3.7e-05 sec)
54: 31. asSafe_long_unsigned_long_type_negativeSignedIntToUnsignedInt_UnitTest ... [Passed] (3.1e-05 sec)
54:
54: *** RealType = double, UnsignedIntType = unsigned int, maxVal = 1.79769e+308, maxUnsignedIntVal = 4294967295, asSafe (maxVal) = (asSafe threw an exception)
54:
54: *** RealType = double, UnsignedIntType = unsigned long long, maxVal = 1.79769e+308, maxUnsignedIntVal = 18446744073709551615, asSafe (maxVal) = (asSafe threw an exception)
54:
54: *** RealType = double, UnsignedIntType = unsigned long int, maxVal = 1.79769e+308, maxUnsignedIntVal = 18446744073709551615, asSafe (maxVal) = (asSafe threw an exception)
54:
54: *** RealType = float, UnsignedIntType = unsigned int, maxVal = 3.40282e+38, maxUnsignedIntVal = 4294967295, asSafe (maxVal) = (asSafe threw an exception)
54:
54: *** RealType = float, UnsignedIntType = unsigned long long, maxVal = 3.40282e+38, maxUnsignedIntVal = 18446744073709551615, asSafe (maxVal) = (asSafe threw an exception)
54:
54: *** RealType = float, UnsignedIntType = unsigned long int, maxVal = 3.40282e+38, maxUnsignedIntVal = 18446744073709551615, asSafe (maxVal) = (asSafe threw an exception)
54: 32. asSafe_short_stringToIntegerPositive_UnitTest ... [Passed] (1.81e-05 sec)
54: 33. asSafe_short_stringToIntegerShouldThrow_UnitTest ... [Passed] (3.7e-05 sec)
54: 34. asSafe_short_stringToIntegerNegative_UnitTest ... [Passed] (6.91e-06 sec)
54: 35. asSafe_short_unsigned_short_type_negativeSignedIntToUnsignedInt_UnitTest ... [Passed] (3.1e-05 sec)
54: 36. asSafe_unsigned_int_type_stringToIntegerPositive_UnitTest ... [Passed] (6.91e-06 sec)
54: 37. asSafe_unsigned_int_type_stringToIntegerShouldThrow_UnitTest ... [Passed] (3.41e-05 sec)
54: 38. asSafe_unsigned_long_long_type_stringToIntegerPositive_UnitTest ... [Passed] (7.15e-06 sec)
54: 39. asSafe_unsigned_long_long_type_stringToIntegerShouldThrow_UnitTest ... [Passed] (2.38e-05 sec)
54: 40. asSafe_unsigned_long_type_stringToIntegerPositive_UnitTest ... [Passed] (5.96e-06 sec)
54: 41. asSafe_unsigned_long_type_stringToIntegerShouldThrow_UnitTest ... [Passed] (2e-05 sec)
54: 42. asSafe_unsigned_short_type_stringToIntegerPositive_UnitTest ... [Passed] (5.96e-06 sec)
54: 43. asSafe_unsigned_short_type_stringToIntegerShouldThrow_UnitTest ... [Passed] (3.29e-05 sec)
54: 44. as_int_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.79e-05 sec)
54: 45. as_int_int_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 46. as_int_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.69e-05 sec)
54: 47. as_int_long_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 48. as_int_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.69e-05 sec)
54: 49. as_int_long_long_type_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 50. as_int_short_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 51. as_int_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 52. as_int_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 53. as_int_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 54. as_int_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.69e-05 sec)
54: 55. as_long_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 56. as_long_int_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 57. as_long_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 58. as_long_long_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 59. as_long_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 60. as_long_long_long_type_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 61. as_long_long_type_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 62. as_long_long_type_int_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 63. as_long_long_type_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 64. as_long_long_type_long_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 65. as_long_long_type_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.38e-05 sec)
54: 66. as_long_long_type_long_long_type_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 67. as_long_long_type_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.72e-05 sec)
54: 68. as_long_long_type_short_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 69. as_long_long_type_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 70. as_long_long_type_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 71. as_long_long_type_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 72. as_long_long_type_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 73. as_long_short_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 74. as_long_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 75. as_long_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.38e-05 sec)
54: 76. as_long_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 77. as_long_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 78. as_short_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 79. as_short_int_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 80. as_short_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 81. as_short_long_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 82. as_short_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 83. as_short_long_long_type_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 84. as_short_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 85. as_short_short_negativeSignedIntToSignedInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 86. as_short_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 87. as_short_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 88. as_unsigned_int_type_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 89. as_unsigned_int_type_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 90. as_unsigned_int_type_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 91. as_unsigned_int_type_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 92. as_unsigned_int_type_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 93. as_unsigned_int_type_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 94. as_unsigned_int_type_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54: 95. as_unsigned_long_long_type_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.38e-05 sec)
54: 96. as_unsigned_long_long_type_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 97. as_unsigned_long_long_type_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 98. as_unsigned_long_long_type_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 99. as_unsigned_long_long_type_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (4.51e-05 sec)
54: 100. as_unsigned_long_long_type_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 101. as_unsigned_long_long_type_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 102. as_unsigned_long_long_type_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 103. as_unsigned_long_type_int_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 104. as_unsigned_long_type_long_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 105. as_unsigned_long_type_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 106. as_unsigned_long_type_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.41e-05 sec)
54: 107. as_unsigned_long_type_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 108. as_unsigned_long_type_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 109. as_unsigned_long_type_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 110. as_unsigned_short_type_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 111. as_unsigned_short_type_short_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 112. as_unsigned_short_type_unsigned_int_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 113. as_unsigned_short_type_unsigned_long_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.5e-05 sec)
54: 114. as_unsigned_short_type_unsigned_long_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.6e-05 sec)
54: 115. as_unsigned_short_type_unsigned_short_type_positiveFirstIntToSecondInt_UnitTest ... [Passed] (2.48e-05 sec)
54:
54: The following tests FAILED:
54:     1. asSafe_stringToReal_UnitTest ...
54:
54: Total Time: 0.00524 sec
54:
54: Summary: total = 116, run = 116, passed = 115, failed = 1
54:
54: End Result: TEST FAILED
54: -------------------------------------------------------
54: Primary job  terminated normally, but 1 process returned
54: a non-zero exit code.. Per user-direction, the job has been aborted.
54: -------------------------------------------------------
54: --------------------------------------------------------------------------
54: mpiexec detected that one or more processes exited with non-zero status, thus causing
54: the job to be terminated. The first process to do so was:
54:
54:   Process name: [[36476,1],0]
54:   Exit code:    1
54: --------------------------------------------------------------------------
1/1 Test #54: TeuchosCore_TypeConversions_UnitTest_MPI_1 ...***Failed  Required regular expression not found.Regex=[End Result: TEST PASSED
] 10.97 sec

0% tests passed, 1 tests failed out of 1

Label Time Summary:
Teuchos    =  10.97 sec (1 test)

Total Test time (real) =  11.42 sec

The following tests FAILED:
     54 - TeuchosCore_TypeConversions_UnitTest_MPI_1 (Failed)
Errors while running CTest
@nmhamster nmhamster added type: bug The primary issue is a bug in Trilinos code or tests pkg: Teuchos Issues primarily dealing with the Teuchos Package labels Apr 1, 2016
@bartlettroscoe
Copy link
Member

I am CCing @mhoemmen as I think he also worked on this conversion code. The only failures here are:

54:  Test that code {valD = asSafe<double> (os.str ());} throws std::range_error: failed (code did not throw an exception at all)
54:  Test that code {valD = asSafe<double> (os.str ());} throws std::range_error: failed (code did not throw an exception at all)

It looks like we expect an empty string to throw and it does not.

Mark (@mhoemmen), the code in Teuchos_as.hpp that implements this does not look familiar to me. It looks like you wrote this code (given your unique source formatting conventions). Do you know what the problem might be? Since it is just this one use case failing, this will likely be easy to fix.

Si (@nmhamster), if you give exact reproduceability instructions, Mark or I can likely fix this pretty easily.

@bartlettroscoe bartlettroscoe added the stage: ready The issue is ready to be worked in a Kanban-like process label Apr 1, 2016
@bartlettroscoe bartlettroscoe added this to the Advanced Technology Test Bed Issue milestone Apr 1, 2016
@nmhamster
Copy link
Contributor Author

@bartlettroscoe @mhoemmen my configure script for white is below. You need to use white26 or white27 because these are the one configured with RedHat 7. I am probably not configuring something correctly.

module purge
module load devpack/openmpi/1.10.2/gcc/4.9.2/cuda/7.5.7
module load superlu-dist/openmpi/1.10.2/gcc/4.9.2/cuda/7.5.7

TRILINOS_HOME=${HOME}/git/trilinos-github-repo
INSTALL_DIR=${HOME}/trilinos/20160118-sparc/gcc/4.9.2/cuda/7.5.7

MPI_HOME=${MPI_ROOT}

HDF5_DIR=${HDF5_ROOT}
NETCDF_DIR=${NETCDF_ROOT}
BOOST_DIR=${BOOST_ROOT}
SUPERLUDIST_DIR=${SUPERLUDIST_ROOT}

echo "Build Configuration:"
echo "HDF5_DIR        = ${HDF5_DIR}"
echo "NETCDF_DIR      = ${NETCDF_DIR}"
echo "BOOST_DIR       = ${BOOST_DIR}"
echo "SUPERLUDIST_DIR = ${SUPERLUDIST_DIR}"
echo ""

FORTRAN_COMPILE_FLAGS="-O3 -g -fopenmp -mcpu=power8 -ffast-math"
COMPILE_FLAGS="-O3 -g -fopenmp -mcpu=power8 -ffast-math"
LINK_FLAGS="-O3 -g -fopenmp -mcpu=power8"
END_LINK_FLAGS="-ldl"

BUILD_OPENMP=ON
BUILD_PTHREADS=OFF
BUILD_CUDA=ON

export OMPI_CXX=$TRILINOS_HOME/packages/kokkos/config/nvcc_wrapper

rm CMakeCache.txt
rm -fr CMakeFiles

cmake \
-D CMAKE_BUILD_TYPE:STRING=NONE \
-D TPL_ENABLE_CUDA:BOOL=ON \
-D Trilinos_ENABLE_OpenMP:BOOL=$BUILD_OPENMP \
-D Trilinos_ENABLE_Cuda:BOOL=$BUILD_CUDA \
-D Trilinos_USE_ATTB_DEV_ENV:BOOL=OFF \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_INSTALL_CMAKE_CONFIG_FILES:BOOL=ON \
-D Trilinos_ENABLE_EXAMPLES:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_SEACAS:BOOL=ON \
-D TPL_ENABLE_X11:BOOL=OFF \
-D TPL_ENABLE_Matio:BOOL=OFF \
-D Trilinos_ENABLE_SEACASIoss:BOOL=ON \
-D Trilinos_ENABLE_SEACASExodus:BOOL=ON \
-D Trilinos_ENABLE_Shards:BOOL=ON \
-D Trilinos_ENABLE_Pamgen:BOOL=ON \
-D Pamgen_ENABLE_TESTS:BOOL=OFF \
-D Pamgen_ENABLE_EXAMPLES:BOOL=ON \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Trilinos_ENABLE_ML:BOOL=ON \
-D Trilinos_ENABLE_MueLu:BOOL=ON \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Belos:BOOL=ON \
-D Trilinos_ENABLE_Ifpack2:BOOL=ON \
-D Trilinos_ENABLE_Amesos2:BOOL=ON \
-D Trilinos_ENABLE_Zoltan2:BOOL=ON \
-D Zoltan2_ENABLE_OpenMP:BOOL=OFF \
-D Trilinos_ENABLE_Ifpack:BOOL=ON \
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Trilinos_ENABLE_Zoltan:BOOL=ON \
-D Trilinos_ENABLE_Gtest:BOOL=ON \
-D Trilinos_ENABLE_SEACASExodus:BOOL=ON \
-D Trilinos_ENABLE_SEACASEpu:BOOL=ON \
-D Trilinos_ENABLE_SEACASExodiff:BOOL=ON \
-D Trilinos_ENABLE_SEACASNemspread:BOOL=ON \
-D Trilinos_ENABLE_SEACASNemslice:BOOL=ON \
-D Trilinos_ENABLE_KokkosAlgorithms:BOOL=ON \
-D Trilinos_ENABLE_KokkosCore:BOOL=ON \
-D Trilinos_ENABLE_KokkosCompat:BOOL=ON \
-D Trilinos_ENABLE_KokkosLinAlg:BOOL=ON \
-D Trilinos_ENABLE_KokkosContainers:BOOL=ON \
-D Trilinos_ENABLE_KokkosAlgorithms:BOOL=ON \
-D Trilinos_ENABLE_KokkosMpiComm:BOOL=ON \
-D Trilinos_ENABLE_TriKota:BOOL=OFF \
-D Trilinos_ENABLE_PyTrilinos:BOOL=OFF \
-D Kokkos_ENABLE_Pthread:BOOL=$BUILD_PTHREADS \
-D Kokkos_ENABLE_OpenMP:BOOL=$BUILD_OPENMP \
-D Kokkos_ENABLE_Cuda:BOOL=$BUILD_CUDA \
-D Kokkos_ENABLE_Cuda_UVM:BOOL=$BUILD_CUDA \
-D Kokkos_ENABLE_HWLOC:BOOL=OFF \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Tpetra_ENABLE_Kokkos_Refactor:BOOL=ON \
-D Tpetra_ENABLE_MPI_CUDA_RDMA:BOOL=$BUILD_CUDA \
\
-D Netcdf_INCLUDE_DIRS:FILEPATH="${NETCDF_DIR}/include" \
-D Netcdf_LIBRARY_DIRS:FILEPATH="${NETCDF_DIR}/lib" \
-D TPL_Netcdf_LIBRARIES:STRING="${NETCDF_DIR}/lib/libnetcdf.a;${PNETCDF_ROOT}/lib/libpnetcdf.a;${HDF5_DIR}/lib/libhdf5_hl.a;${HDF5_DIR}/lib/libhdf5.a;${ZLIB_ROOT}/lib/libz.a" \
-D HDF5_INCLUDE_DIRS:FILEPATH="${HDF5_DIR}/include" \
-D HDF5_LIBRARY_DIRS:FILEPATH="${HDF5_DIR}/lib" \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D TPL_ENABLE_HDF5:BOOL=ON \
-D TPL_ENABLE_Zlib:BOOL=ON \
-D TPL_Zlib_LIBRARIES:FILEPATH="${ZLIB_ROOT}/lib/libz.a" \
\
-D Tpetra_INST_OPENMP:BOOL=$BUILD_OPENMP \
-D Tpetra_INST_CUDA:BOOL=$BUILD_CUDA \
-D Tpetra_INST_COMPLEX_FLOAT:BOOL=OFF \
-D Tpetra_INST_COMPLEX_DOUBLE:BOOL=OFF \
-D Tpetra_INST_INT_LONG:BOOL=OFF \
-D Tpetra_INST_INT_INT:BOOL=ON \
-D Tpetra_INST_INT_LONG_LONG:BOOL=ON \
\
-D CMAKE_C_COMPILER="mpicc" \
-D CMAKE_CXX_COMPILER="mpicxx" \
-D CMAKE_Fortran_COMPILER="mpif77" \
-D CMAKE_CXX_FLAGS:STRING="$COMPILE_FLAGS" \
-D CMAKE_C_FLAGS:STRING="$COMPILE_FLAGS" \
-D CMAKE_Fortran_FLAGS:STRING="$FORTRAN_COMPILE_FLAGS" \
-D CMAKE_EXE_LINKER_FLAGS="$LINK_FLAGS" \
-D Trilinos_EXTRA_LINK_FLAGS="$END_LINK_FLAGS" \
-D CMAKE_SKIP_RULE_DEPENDENCY=ON \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_BASE_DIR:PATH="$MPI_HOME" \
-D MPI_BIN_DIR:FILEPATH="$MPI_HOME/bin" \
-D MPI_EXEC_MAX_NUMPROCS:STRING=4 \
-D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR} \
-D TPL_ENABLE_BLAS:BOOL=ON \
-D TPL_ENABLE_LAPACK:BOOL=ON \
-D Teuchos_ENABLE_COMPLEX:BOOL=OFF \
-D Teuchos_HAVE_TEUCHOS_LAPACKLARND:BOOL=OFF \
-D HAVE_TEUCHOS_LAPACKLARND:BOOL=OFF \
-D Teuchos_HAVE_CXX_PRAGMA_WEAK:BOOL=OFF \
-D Tpetra_INST_SERIAL:BOOL=ON \
-D BLAS_LIBRARY_DIRS:PATH=${BLAS_ROOT}/lib \
-D LAPACK_LIBRARY_DIRS:PATH=${LAPACK_ROOT}/lib \
-D BLAS_LIBRARY_NAMES:STRING="blas" \
-D LAPACK_LIBRARY_NAMES:STRING="lapack" \
-D TPL_ENABLE_SuperLU:BOOL=ON \
-D TPL_SuperLU_LIBRARIES="${SUPERLU_DIR}/lib/libsuperlu_4.3.a" \
-D SuperLU_INCLUDE_DIRS:PATH="${SUPERLU_DIR}/include" \
-D BoostLib_INCLUDE_DIRS:PATH="${BOOST_DIR}/include" \
-D BoostLib_LIBRARY_DIRS:PATH="${BOOST_DIR}/lib" \
${EXTRA-ARGS} \
${TRILINOS_HOME}

@nmhamster
Copy link
Contributor Author

@bartlettroscoe I am not using the ATTB on white yet because I don't think we have support for POWER in the files. This configure is my attempt to get this all moving along so we can work towards putting it into the TriBITS fragments.

@bartlettroscoe
Copy link
Member

@nmhamster, okay I will take a look later next week. We can worry about the ATTBDevEnv.cmake module later (or I will update it at the same time that I look into this). Since ATTBDevEnv.cmake is no longer loaded by default, this can be more of a work in progress without breaking anyone's configures on these machines.

@github-actions
Copy link

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.
If you would like to keep this issue open please add a comment and remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Dec 15, 2020
@github-actions
Copy link

This issue was closed due to inactivity for 395 days.

@github-actions github-actions bot added the CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. label Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Teuchos Issues primarily dealing with the Teuchos Package stage: ready The issue is ready to be worked in a Kanban-like process type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

2 participants