Skip to content

Conversation

@iantaylor-NOAA
Copy link
Contributor

Concisely describe what has been changed/addressed in the pull request.

@e-perl-NOAA figured out that the Mac runner for r4ss GitHub actions were failing while Windows and Linux were passing. She was able to export the echoinput which ended with do SmryBio std labels. However, I noticed that this line should only occur if the # extra stdev reporting was 2 but in this model it was 1. Digging into the SS3 source code revealed that some switches were never set for the case where Do_More_Std == 1, and apparently the Mac filled in the missing value differently than the other operating systems.

What tests have been done?

Where are the relevant files?

@e-perl-NOAA checked this build from this branch to confirm that it resolved the issue.

What tests/review still need to be done?

None.

Is there an input change for users to Stock Synthesis?

[x] No, there was no input change.

Copy link
Collaborator

@Rick-Methot-NOAA Rick-Methot-NOAA left a comment

Choose a reason for hiding this comment

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

alternatively:
remove the line 5589 so everything gets null value before getting to line 5608.

@e-perl-NOAA
Copy link
Collaborator

We may have to try that since the r4ss model retrospectives stopped here in the echoinput file with Ian's changes

 Biology base parameter setup 22
....
....
21  0.1 10 1 1 1 0 -1 0 0 0 0 0 0 0 CohortGrowDev
22  1e-06 0.999999 0.5 0.5 0.5 0 -99 0 0 0 0 0 0 0 FracFemale_GP_1

@Rick-Methot-NOAA
Copy link
Collaborator

the code to do retrospectives is not smart enough to know to turn off request for se of output that no longer exists when a year disappears due to the retrospective peel. Adding that extra intelligence to the code might be more than trivial.

@iantaylor-NOAA
Copy link
Contributor Author

@Rick-Methot-NOAA, thanks for looking this over. I just pushed the change to line 5589 as you suggested.
But it sounds like this won't necessarily fix the retro problem.

@Rick-Methot-NOAA
Copy link
Collaborator

I got i fixed but in looking at code I see that some quantities, like natage_std_yr are reported for endyr. This is ok even in retro because SS3 goes through all years in retro. But we could consider whether to provide that se output for retro_yr, rather than endyr

@e-perl-NOAA
Copy link
Collaborator

I will report back with the r4ss testing on the retro with simple_small when that test finishes running.

@e-perl-NOAA
Copy link
Collaborator

echoinput.txt
Sadly, it's still stopping after the MG parameters are read for the mac.

@Rick-Methot-NOAA
Copy link
Collaborator

Rick-Methot-NOAA commented Aug 27, 2025 via email

@Rick-Methot-NOAA Rick-Methot-NOAA self-requested a review August 28, 2025 19:55
Copy link
Collaborator

@Rick-Methot-NOAA Rick-Methot-NOAA left a comment

Choose a reason for hiding this comment

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

fixed issue

@Rick-Methot-NOAA Rick-Methot-NOAA merged commit 839d281 into main Aug 28, 2025
17 checks passed
Rick-Methot-NOAA pushed a commit that referenced this pull request Aug 28, 2025
@Rick-Methot-NOAA Rick-Methot-NOAA deleted the fix-Do_se_smrybio branch August 28, 2025 23:17
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.

4 participants