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

AFSC pollock case study does not render on remote repo #8

Closed
1 of 2 tasks
Bai-Li-NOAA opened this issue Feb 8, 2024 · 2 comments
Closed
1 of 2 tasks

AFSC pollock case study does not render on remote repo #8

Bai-Li-NOAA opened this issue Feb 8, 2024 · 2 comments
Assignees

Comments

@Bai-Li-NOAA
Copy link
Contributor

Bai-Li-NOAA commented Feb 8, 2024

The AFSC pollock case study renders successfully locally but it does not render on remote repo.

The warning from the FIMS installation process:

Warning in checkMatrixPackageVersion(getOption("TMB.check.Matrix", TRUE)) :
  Package version inconsistency detected.
TMB was built with Matrix version 1.6.4
Current Matrix version is 1.6.1.1
Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package

The error after running [run-FIMS] section of code:

*** caught segfault ***
address 0x0, cause 'memory not mapped'

The pollock case study needs to use the FIMS isNA branch, but I am not sure if GHA is installing the correct version of FIMS for this case study. When I tried to use the latest version of FIMS locally for this case study, I encountered the following error:

Quitting from lines 94-190 [run-FIMS] (AFSC-GOA-pollock.qmd)
Error in `nlminb()`:
! NA/NaN gradient evaluation
Backtrace:
 1. TMBhelper::fit_tmb(obj, getsd = FALSE, newtonsteps = 0, control = list(trace = 100))
 2. stats::nlminb(...)                                                                                                      
Execution halted

Potential solutions to try:

  • Force installing FIMS isNA branch in the case study
  • Re-install 'TMB' from source using install.packages('TMB', type = 'source') in the case study
@Bai-Li-NOAA
Copy link
Contributor Author

The case study is using FIMS isNA branch. This has been tested through commit 436f605.

@Cole-Monnahan-NOAA
Copy link
Contributor

Just an FYI it will fail on the main branch b/c I'm inputting negative observations for both the indices and age compositions (-999) so those will be logged and thus NaN so the likelihood calculations break downstream. That's expected.

@Bai-Li-NOAA Bai-Li-NOAA self-assigned this Feb 9, 2024
Bai-Li-NOAA added a commit to Bai-Li-NOAA/case-studies that referenced this issue Feb 15, 2024
Bai-Li-NOAA added a commit to Bai-Li-NOAA/case-studies that referenced this issue Feb 15, 2024
Bai-Li-NOAA added a commit to Bai-Li-NOAA/case-studies that referenced this issue Feb 15, 2024
ChristineStawitz-NOAA added a commit that referenced this issue Feb 15, 2024
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

No branches or pull requests

2 participants