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

Better error capabilities for Fortran #284

Merged
merged 4 commits into from Dec 5, 2022

Conversation

billschereriii
Copy link
Contributor

No description provided.

@billschereriii billschereriii added type: feature Issues that include feature request or feature idea area: fortran issues related to the Fortran Client labels Dec 1, 2022
@billschereriii billschereriii self-assigned this Dec 1, 2022
@billschereriii
Copy link
Contributor Author

PGP token was timing out so I've rerun jobs

@codecov-commenter
Copy link

Codecov Report

Merging #284 (296e456) into develop (07f1fa1) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #284   +/-   ##
========================================
  Coverage    77.93%   77.93%           
========================================
  Files           57       57           
  Lines         3666     3666           
========================================
  Hits          2857     2857           
  Misses         809      809           

Copy link
Member

@ashao ashao left a comment

Choose a reason for hiding this comment

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

Looks really good and especially like how compact the code was to pass a C-string to a Fortran string. Biggest suggestions (as we talked about):

  • Combine the two methods so that we just concatenate the error and the location
  • Add new function called print_last_error that writes to a STDERR by default or optionally a user-specifed unit

src/fortran/errors.F90 Outdated Show resolved Hide resolved
src/fortran/errors.F90 Outdated Show resolved Hide resolved
src/fortran/errors/errors_interfaces.inc Outdated Show resolved Hide resolved
src/fortran/errors.F90 Outdated Show resolved Hide resolved
@billschereriii billschereriii merged commit 78ad042 into CrayLabs:develop Dec 5, 2022
@billschereriii billschereriii deleted the fortranlove branch December 5, 2022 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: fortran issues related to the Fortran Client type: feature Issues that include feature request or feature idea
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants