<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Trevor, </p>
<p>I know you and Johnoel<a></a> discussed the resolution of this issue, so this is just to close the issue on the mailing list. A note has been added to the Downloads page of the website and the issue has been noted in Redmine<a></a>.</p>
<p> </p>
<p>This is a known issue with the released version of ADMB<a></a> 11 and the way it calculates the .std files. Until the new version is released, please use the source version from the repository where the issue has been fixed:<span class="visualHighlight"> </span></p>
<div><span class="visualHighlight">$ svn<a></a> checkout http://www.admb-project.org/svn/trunk admb<a></a>-trunk  </span></div>
<p> </p>
<p>Juan</p>
<p> </p>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF66930"><font color="#000000" size="2" face="Tahoma"><b>From:</b> users-bounces@admb-project.org [users-bounces@admb-project.org] on behalf of Trevor Davies [davies.trevor@gmail.com]<br>
<b>Sent:</b> Tuesday, January 29, 2013 11:53 AM<br>
<b>To:</b> users@admb-project.org<br>
<b>Subject:</b> [ADMB Users] Problems compiling from source & possible error in (XCode 3.2 and MacOS 10.7 (64 bit))<br>
</font><br>
</div>
<div></div>
<div>
<div>HI Everyone,</div>
<div><br>
</div>
<div>I've been bashing my head trying to find an error in the results of my model.  </div>
<div><br>
</div>
<div>The issue is that some of the std.dev estimates in the *.std are incorrect.  I know this because I've been trading files back and forth with Steve Martell and when I run a pre-compiled version of the model from Steve I get the correct estimates but when
 I compile it on my own machine they are incorrect.  The difference is that Steve has a admb compiled from source and I used the precompiled binary.  I've been attempting to install from source as well to see if I could recreate the problem/get the correct
 answers myself to make sure it was a bug but I've been batting with some installation issues.</div>
<div><br>
</div>
<div>I'd be happy to pass along my model code if someone else wants to look into it to confirm/reject the bug or if someone could give me a few pointers on how to get past the last install from source installation hurdle I would really appreciate it.</div>
<div><br>
</div>
<div>My problem arises on the 'make' step.</div>
<div><br>
</div>
<div>The output/error is appended below.</div>
<div><br>
</div>
<div>Thanks for the help.</div>
<div>Trevor</div>
<div>------------------------------------------------</div>
<div><br>
</div>
<div>Compiling from source:</div>
<div>
<div>$tdavies</div>
<div>~/Downloads/admb-11/  make</div>
<div>CC=gcc CFLAGS="" CXX=g++ CXXFLAGS="" LIBPATH=../build/objects/admb-11-macos10.8.2-xcode4.6-64bit DISK=../build/admb-11-macos10.8.2-xcode4.6-64bit ADMB_CONFIGURE=1 make --directory=src --file=linux.mak</div>
<div>mkdir -p ../build/admb-11-macos10.8.2-xcode4.6-64bit/{bin,docs/manuals,examples,include,lib}</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-olp</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-slp</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/df1b2-separable-olp</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/df1b2-separable-slp</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/nh99-olp</div>
<div>mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/tools99-olp</div>
<div>make --directory=linad99 AR=ar CXX=g++ CXXFLAGS="-c -O3 -Wall -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -DADMB_REVISION=Unversioned directory -DADMB_VERSION=11  -DOPT_LIB -I../df1b2-separable -I../nh99 -I../linad99 -I../tools99" LIBPATH=../../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-olp
 DISKDIR=../../build/admb-11-macos10.8.2-xcode4.6-64bit -f optg32-rh8-laplace.mak disk</div>
<div>g++ -c -O3 -Wall -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE -DADMB_REVISION=Unversioned directory -DADMB_VERSION=11  -DOPT_LIB -I../df1b2-separable -I../nh99 -I../linad99 -I../tools99 df13fun.cpp -o ../../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-olp/df13fun.obj</div>
<div>i686-apple-darwin11-llvm-g++-4.2: directory: No such file or directory</div>
<div>df13fun.cpp: In function ‘df1_three_variable sqrt(const df1_three_variable&)’:</div>
<div>df13fun.cpp:486: warning: unused variable ‘xinv’</div>
<div>df13fun.cpp: In function ‘df1_three_variable atan(const df1_three_variable&)’:</div>
<div>df13fun.cpp:504: warning: unused variable ‘d2’</div>
<div>df13fun.cpp: In function ‘df1_three_variable tan(const df1_three_variable&)’:</div>
<div>df13fun.cpp:538: warning: unused variable ‘w’</div>
<div>make[2]: *** [df13fun.obj] Error 1</div>
<div>make[1]: *** [dist] Error 2</div>
<div>make: *** [admb] Error 2</div>
<div>$tdavies</div>
<div>~/Downloads/admb-11/  </div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>