1. 12 Jun, 2017 1 commit
    • Lorenz Huedepohl's avatar
      Had to move some functions to the public namespace · 38335f50
      Lorenz Huedepohl authored
      The PGI compiler (of course) complained about a missing module
      (elpa_generated_fortran_interfaces.mod) when compiling the test
      programs.
      
      It is true (in a way) that some part of this module is indeed necessary,
      as the public-facing function signatures have arguments that are
      referring to those three functions in their type:
      
        elpa_strerr_c(elpa_error)
        elpa_int_value_to_string_c(name, value, string)
        elpa_int_value_to_strlen_c(name, value)
      
      Thus, for these three we create another header prefix,
      
        !pf>
      
      for Fortran definitions that should be public. Those are included in
      elpa_api.F90.
      38335f50
  2. 11 Jun, 2017 1 commit
  3. 10 Jun, 2017 1 commit
  4. 09 Jun, 2017 3 commits
  5. 08 Jun, 2017 1 commit
  6. 07 Jun, 2017 1 commit
    • Lorenz Huedepohl's avatar
      Refactor unsafe string conversion with C pointers · 0d444556
      Lorenz Huedepohl authored
      Recent GCC complain that an assignment involving a transfer statement
      might potentially overflow the destination buffer. This prevented a
      build on the SuSE build server.
      
      Replaced this with a proper C string pointer.
      
      Error message there:
      
       ../src/elpa_driver/legacy_interface/./elpa_driver_c_interface_template.X90:117:0:
      
              methodFortran(1:charCount) = transfer(method(1:charCount), methodFortran)
      
       Warning: '__builtin_memset': writing between 1 and 2147483640 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
      
       [...]
      
       I: Statement might potentially overflow a destination buffer, where a size larger
           than the actual buffer was specified
       E: elpa destbufferoverflow Warning: '__builtin_memset'
      0d444556
  7. 06 Jun, 2017 1 commit
  8. 03 Jun, 2017 1 commit
  9. 02 Jun, 2017 3 commits
  10. 01 Jun, 2017 2 commits
  11. 31 May, 2017 3 commits
  12. 30 May, 2017 8 commits
  13. 29 May, 2017 9 commits
  14. 27 May, 2017 2 commits
  15. 26 May, 2017 3 commits