-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error running VAST example on Ubuntu 18.04 #280
Comments
could you clarify: is this the development branch of VAST and FishStatsUtils, or the latest numeric release of each? |
The latest released versions, installed with: |
The option to update all packages was selected on install. |
Thanks for reporting the issue. However, I can't replicate the behavior on
my Windows machine using:
MRAN 4.02
VAST 3.6.1
FishStatsUtils 2.8.0
INLA 21.01.26
TMB 1.7.19
(i.e., all the same stuff on Windows 10). Could you please try:
1. using the CRAN version of TMB for your version of MRAN (which I think
is 1.7.16; 1.7.19 appears to be the GitHub version)?
2. Replicating the same settings on a Windows machine to see if its just
an Ubuntu issue?
3. Try using the development branch of FishStatsUtils and VAST, where
Cole Monnahan has recently helped me set of CI and this has confirmed that
VAST can pass some basic build tests on Ubuntu?
I'm guessing #3 is a good place to start. Sorry that I can't immediately
identify the issue!
…On Fri, Feb 19, 2021 at 4:17 PM Jason Conner ***@***.***> wrote:
The option to update all packages was selected on install.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB46UTNAFTGBTSTNEDODVSLS735QVANCNFSM4X5GTBHQ>
.
|
For reference, VAST example is run by sourcing attached code (minus the .txt). |
Let's skip the Ubuntu for now. Can you clarify what function causes the error in Windows? I have seen that same error during |
Yes, in 2. it is the plot( fit ) function that causes the error. fit_model() worked fine, with a warning that: Note that Here is the session info: Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
OK, please try |
Yes, that solves the issue in 2., for plotting in Win 10. Do you have access to an Ubuntu server? Do you have a project in GCP? |
I'm adding Ubuntu CI now with Cole, but no huge insights. You could try the development branch -- its working there? Also, Andrew Allyn has some other insight he'll share here. |
It wasn't working with the dev branch as of yesterday (c635214). Today I will make sure all packages are versioned the same as in Win 10 above, but I suspect there is a system library somewhere that needs to be installed. Also, I will double check permissions on dir for copying cpp files. |
Hi Jason, I had a similar warning message (
|
Thank you Andrew, the earlier version of Matrix installed fine, but I cannot install TMB 1.7.18 from either the MRAN or vanilla CRAN repos. |
The issue is clearly compatibility with Matrix versions, thank you Andrew! The example runs with this config: Thanks again for all of your help! |
Fresh install on Google Cloud Compute
Ubuntu 18.04
MRAN 4.02
VAST 3.6.1
FishStatsUtils 2.8.0
INLA 21.01.26
TMB 1.7.19
After successful install of all the above packages, running the basic example from the Wiki, I get this error during parameter estimation:
Error in optimHess(parameter_estimates$par, fn = fn, gr = gr) :
gradient in optim evaluated to length 1 not 75
In addition: Warning messages:
1: In sparseMatrix(i = index.i, j = index.j, x = Aij, dims = c(mesh$n, :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
2: In sparseMatrix(i = index.i, j = index.j, x = Aij, dims = c(mesh$n, :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
3: In sparseMatrix(i = index.i, j = index.j, x = Aij, dims = c(mesh$n, :
'giveCsparse' has been deprecated; setting 'repr = "T"' for you
Perhaps an issue with MRAN 4.02? I will try installing another R version next week and update this unless I hear from you.
The text was updated successfully, but these errors were encountered: