<br>Well I'm going through some models that used to work before.<br>So far there is one that does not seem to run properly (one with splines)<br><br>----------------------------------------------------------------------------------------------------------<br>
ridao@linux-kw78:~/admb/admb-10.1/myadmb> admb test_spline_2010<br><br>*** tpl2cpp test_spline_2010<br><br>*** adcomp test_spline_2010<br>g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I/usr/local/admb/include test_spline_2010.cpp<br>
<br>*** adlink test_spline_2010<br>g++ -s -L/usr/local/admb/lib test_spline_2010.o -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o test_spline_2010<br><br>Done<br>----------------------------------------------------------------------------------------------------------<br>
ridao@linux-kw78:~/admb/admb-10.1/myadmb> ./test_spline_2010<br>Making a copy of an unallocated dvector<br>Making a copy of an unallocated dvector<br>Making a copy of an unallocated dvector<br>Making a copy of an unallocated dvector<br>
Making a copy of an unallocated dvector<br>Making a copy of an unallocated dvector<br> OK to here <br>----------------------------------------------------------------------------------------------------------<br>I have "cout" the code an dthe problem seem to arise in the parameter section<br>
<br>The same model without "spline" works fine.<br><br>............................................................................................................<br>ridao@linux-kw78:~/admb/admb-10.1/myadmb> admb test_nospline_2010<br>
<br>*** tpl2cpp test_nospline_2010<br><br>*** adcomp test_nospline_2010<br>g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE -fpermissive -I. -I/usr/local/admb/include test_nospline_2010.cpp<br><br>*** adlink test_nospline_2010<br>
g++ -s -L/usr/local/admb/lib test_nospline_2010.o -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o test_nospline_2010<br><br>Done<br><br>ridao@linux-kw78:~/admb/admb-10.1/myadmb> ./test_nospline_2010 <br>...<br>
....<br>....<br>...<br><br><br>Thanks in advance<br>...............................................................................................................<br><div class="gmail_quote">On Wed, May 11, 2011 at 12:04 PM, Luis Ridao <span dir="ltr"><<a href="mailto:luridao@gmail.com">luridao@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks all for your help.<br>It works now by doing:<div class="im"><br><br>export ADMB_HOME=/usr/local/admb<br>PATH=$PATH:/usr/local/admb/bin<br>
</div>PATH=$PATH:/home/ridao/admb/admb-10.1/build/admb-10.1-linux-gcc4.5-32bit/admb-10.1-linux-gcc4.5-32bit/bin<br>
export PATH<br><br>Best,<br>LRC<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, May 11, 2011 at 12:08 AM, dave fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Of course you can add something like this to the bash shell script<br>
to check the ADMB_HOME is defined<br>
<br>
<br>
<br>
if [ -z ${ADMB_HOME} ]<br>
  then echo you need to define the environment string ADMB_HOME<div><div></div><div><br>
fi<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>