[ADMB Users] Problems compiling from source & possible error in (XCode 3.2 and MacOS 10.7 (64 bit))

juan@uw.edu juan at myuw.net
Wed Jan 30 16:42:49 PST 2013


Trevor,

I know you and Johnoel 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.



This is a known issue with the released version of ADMB 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:

$ svn checkout http://www.admb-project.org/svn/trunk admb-trunk



Juan



________________________________
From: users-bounces at admb-project.org [users-bounces at admb-project.org] on behalf of Trevor Davies [davies.trevor at gmail.com]
Sent: Tuesday, January 29, 2013 11:53 AM
To: users at admb-project.org
Subject: [ADMB Users] Problems compiling from source & possible error in (XCode 3.2 and MacOS 10.7 (64 bit))

HI Everyone,

I've been bashing my head trying to find an error in the results of my model.

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.

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.

My problem arises on the 'make' step.

The output/error is appended below.

Thanks for the help.
Trevor
------------------------------------------------

Compiling from source:
$tdavies
~/Downloads/admb-11/  make
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
mkdir -p ../build/admb-11-macos10.8.2-xcode4.6-64bit/{bin,docs/manuals,examples,include,lib}
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-olp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-slp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/df1b2-separable-olp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/df1b2-separable-slp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/nh99-olp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/tools99-olp
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
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
i686-apple-darwin11-llvm-g++-4.2: directory: No such file or directory
df13fun.cpp: In function ‘df1_three_variable sqrt(const df1_three_variable&)’:
df13fun.cpp:486: warning: unused variable ‘xinv’
df13fun.cpp: In function ‘df1_three_variable atan(const df1_three_variable&)’:
df13fun.cpp:504: warning: unused variable ‘d2’
df13fun.cpp: In function ‘df1_three_variable tan(const df1_three_variable&)’:
df13fun.cpp:538: warning: unused variable ‘w’
make[2]: *** [df13fun.obj] Error 1
make[1]: *** [dist] Error 2
make: *** [admb] Error 2
$tdavies
~/Downloads/admb-11/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130131/b7c03836/attachment.html>


More information about the Users mailing list