[ADMB Users] ADMB with Mavericks
Alejandro Yañez Rubio
aleianez at gmail.com
Sun Nov 10 17:08:32 PST 2013
Dear ADMB developers:
Recently you help me with some problems with admb and mavericks and I’m so grateful for that help. Nevertheless, I have another trouble and I wonder if you can help me again.
I have installed admb-trunk and some files run perfect, but one file in particular it’s does`t work in mavericks but it’s work on mountain lion. I replaced the file.exe obtained from mountain lion and then I do “./ file” and it’s works. I think that the trouble is with the compiler because in Mountain Lion I have something like this:
Claudios-MacBook-Pro:vale claudioc$ admb mixsan.tpl
*** tpl2cpp mixsan
*** adcomp mixsan
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I"/Applications/ADMB/ADMB-11 Terminal.app/Contents/admb-11"/include -
but with mavericks I have something like this:
AYR:admb alejandro$ ~/admb-trunk/admb mixsan
*** tpl2cpp -bounds mixsan
*** adcomp -s mixsan.cpp
c++ -c -O3 -D__GNUDOS__ -Dlinux -DSAFE_ALL -DUSE_LAPLACE -I. -I"/Users/alejandro/admb-trunk/build/dist"/include -I"/Users/alejandro/admb-trunk/build/dist"/contrib/include mixsan.cpp
It’s built but I can`t run the exe file. The output from mavericks is:
Error: Invalid index 6 used for array range [1, 5] in "double& dvector::operator() (int i)".
array bound exceeded -- index too high
Could you help me again please ???
Thank you very much again.
Best Regards
Alejandro Yáñez Rubio
Magister ( c ) en Cs. mención Pesquerías
Universidad de Concepción
Chile
041-220 4345
aleyanez at udec.cl
On Nov 6, 2013, at 8:24 PM, Alejandro Yañez Rubio <aleianez at gmail.com> wrote:
> Dear ADMB developers:
>
> Do you if I can use my admb with OS X Mavericks?
> I have a lot of troubles with this and I will thank you for your help?
>
> Best Regards from Chile
>
> Alejandro Yáñez Rubio
> Magister ( c ) en Cs. mención Pesquerías
> Universidad de Concepción
> Chile
> 041-220 4345
> aleyanez at udec.cl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20131110/46feae88/attachment.html>
More information about the Users
mailing list