[ADMB Users] Making a copy of an unallocated dvector

Luis Ridao luridao at gmail.com
Thu May 12 02:48:10 PDT 2011


Finally I got ADMB on openSUSE up and running.
Well I'm going through some models that used to work before.
So far there is one that does not seem to run properly (one with splines)

----------------------------------------------------------------------------
ridao at linux-kw78:~/admb/admb-10.1/myadmb> admb test_spline_2010

*** tpl2cpp test_spline_2010

*** adcomp test_spline_2010
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE
-fpermissive -I. -I/usr/local/admb/include test_spline_2010.cpp

*** adlink test_spline_2010
g++ -s -L/usr/local/admb/lib test_spline_2010.o -ldf1b2o -ladmod -ladt -lado
-ldf1b2o -ladmod -ladt -lado -o test_spline_2010

Done
----------------------------------------------------------------------------------------------------------
ridao at linux-kw78:~/admb/admb-10.1/myadmb> ./test_spline_2010
Making a copy of an unallocated dvector
Making a copy of an unallocated dvector
Making a copy of an unallocated dvector
Making a copy of an unallocated dvector
Making a copy of an unallocated dvector
Making a copy of an unallocated dvector
 OK to here
----------------------------------------------------------------------------------------------------------
I have "cout" the code and the problem seem to arise in the parameter
section

The same model without "spline" works fine.

............................................................................................................
ridao at linux-kw78:~/admb/admb-10.1/myadmb> admb test_nospline_2010

*** tpl2cpp test_nospline_2010

*** adcomp test_nospline_2010
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE
-fpermissive -I. -I/usr/local/admb/include test_nospline_2010.cpp

*** adlink test_nospline_2010
g++ -s -L/usr/local/admb/lib test_nospline_2010.o -ldf1b2o -ladmod -ladt
-lado -ldf1b2o -ladmod -ladt -lado -o test_nospline_2010

Done

ridao at linux-kw78:~/admb/admb-10.1/myadmb> ./test_nospline_2010
...
....

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110512/d8081c02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_spline_2010t.dat
Type: video/mpeg
Size: 18490 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110512/d8081c02/attachment.m1v>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_spline_2010t.tpl
Type: application/octet-stream
Size: 9398 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110512/d8081c02/attachment.obj>


More information about the Users mailing list