<div>Thank you! It worked!</div><div>However, there are three small issues.</div><div><br></div><div>1) There should probably be a note that the most recent version of the source code is available by svn on the downloads page. <a href="http://admb-project.org/downloads">http://admb-project.org/downloads</a> </div>
<div>It just sometimes seems that there are several versions of the source code, and a re-occurring issue is that people download an old copy of the source code and have trouble.</div><div><br></div><div>2) The README.txt is missing a few instructions for the Intel compiler. I have included a draft of a new README, but it might make since to reformat in a way that better handles the following step, as I think it is common to all compilers.</div>
<div><br></div><div> $ make --directory=scripts/configure/ </div><div><br></div><div>3) I get some warnings...mostly like this. However make verify seems to work, and I don't think this is a real problem.</div><div><br>
</div><div>/usr/local/admb/include/adstring.hpp(259): warning #858: type qualifier on return type is meaningless</div><div> _CONST int indexmax(void) _CONST { return shape->indexmax();}</div><div> ^</div><div>Thank you!</div>
<div>Aaron</div><br><div class="gmail_quote">On Fri, Aug 5, 2011 at 3:32 PM, Johnoel Ancheta <span dir="ltr"><<a href="mailto:johnoel@hawaii.edu">johnoel@hawaii.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Try and checkout the trunk<br>
<br>
$ svn checkout <a href="http://www.admb-project.org/svn/trunk" target="_blank">http://www.admb-project.org/svn/trunk</a>
admb-trunk-readonly<br>
<br>
Then follow instruction in README.txt.<div><div></div><div class="h5"><br>
<br>
<br>
On 8/5/11 7:23 AM, bigA wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Hi admb,
<div><br>
</div>
<div>I follow the icc installation instructions and things don't
seem to work. It may simply be an error in the instructions, or
perhaps admb doesn't support icc?</div>
<div>Below is the output from ./configure and make. I have also
attached my config.log. I apologize that I haven't found a
satisfactory work around, but hopefully it is simple to fix.</div>
<div>Aaron</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div> Hey daft ! What is up? debian
:~/Downloads/admb-10.1$./configure CC=icc CXX=icpc
BUILD_64BIT=yes</div>
<div>checking for gcc... icc</div>
<div>checking whether the C compiler works... yes</div>
<div>checking for C compiler default output file name... a.out</div>
<div>checking for suffix of executables...</div>
<div>checking whether we are cross compiling... no</div>
<div>checking for suffix of object files... o</div>
<div>checking whether we are using the GNU C compiler... yes</div>
<div>checking whether icc accepts -g... yes</div>
<div>checking for icc option to accept ISO C89... none needed</div>
<div>checking whether we are using the GNU C++ compiler... yes</div>
<div>checking whether icpc accepts -g... yes</div>
<div>checking how to run the C++ preprocessor... icpc -E</div>
<div>checking for grep that handles long lines and -e...
/bin/grep</div>
<div>checking for egrep... /bin/grep -E</div>
<div>checking for ANSI C header files... yes</div>
<div>checking for sys/types.h... yes</div>
<div>checking for sys/stat.h... yes</div>
<div>checking for stdlib.h... yes</div>
<div>checking for string.h... yes</div>
<div>checking for memory.h... yes</div>
<div>checking for strings.h... yes</div>
<div>checking for inttypes.h... yes</div>
<div>checking for stdint.h... yes</div>
<div>checking for unistd.h... yes</div>
<div>checking iostream usability... yes</div>
<div>checking iostream presence... yes</div>
<div>checking for iostream... yes</div>
<div>checking for flex... no</div>
<div>checking for lex... no</div>
<div>checking for sed... yes</div>
<div>checking for svnversion... yes</div>
<div>configure: creating ./config.status</div>
<div>config.status: creating GNUmakefile</div>
<div>config.status: creating admb_configure.h</div>
<div>config.status: creating scripts/admb/admb-bin</div>
<div><br>
</div>
<div>Configure completed for admb-10.1-linux-icc12.0.5-64bit</div>
<div>To build ADMB, type 'make'</div>
</div>
<div><br>
</div>
<div>##</div>
<div>### So I type make.</div>
<div>###</div>
<div>
<div>
<div>
<div> Hey daft ! What is up? debian
:~/Downloads/admb-10.1$make</div>
<div>CC=icc CXX=icpc CXXFLAGS="-m64"
LIBPATH=../build/admb-10.1-linux-icc12.0.5-64bit/objects
DISK=../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit
ADMB_CONFIGURE=1 make --directory=src --file=linux.mak</div>
<div>make[1]: Entering directory
`/home/daft/Downloads/admb-10.1/src'</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit/{bin,lib,include,docs,docs/manuals,examples}</div>
<div>
mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-slp</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp-stub</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/tools99-olp</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-slp</div>
<div>mkdir -p
../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-olp</div>
<div>make --directory=linad99 CXX=icpc CXXFLAGS="-DOPT_LIB
-c -m64 -O3 -Wall -Wno-deprecated -DUSE_LAPLACE
-fpermissive -I../df1b2-separable -I../nh99 -I../linad99
-I../tools99 -D__SPDLL__ -D__GNUDOS__ -Dlinux"
LIBPATH=../../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp
DISKDIR=../../build/admb-10.1-linux-icc12.0.5-64bit/admb-10.1-linux-icc12.0.5-64bit
-f optg32-rh8-laplace.mak disk</div>
<div>make[2]: Entering directory
`/home/daft/Downloads/admb-10.1/src/linad99'</div>
<div>icpc -DOPT_LIB -c -m64 -O3 -Wall -Wno-deprecated
-DUSE_LAPLACE -fpermissive -I../df1b2-separable -I../nh99
-I../linad99 -I../tools99 -D__SPDLL__ -D__GNUDOS__ -Dlinux
model49.cpp -o
../../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp/model49.obj</div>
<div>../linad99/fvar.hpp(6242): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6243): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6244): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6363): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6364): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6365): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6499): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6500): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6501): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6636): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6637): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6638): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6790): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6791): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6792): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>
../linad99/fvar.hpp(6943): warning #858: type qualifier on
return type is meaningless</div>
<div> const int indexmin(void) const { return
(shape->indexmin());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6944): warning #858: type qualifier
on return type is meaningless</div>
<div> const int indexmax(void) const { return
(shape->indexmax());}</div>
<div> ^</div>
<div><br>
</div>
<div>../linad99/fvar.hpp(6945): warning #858: type qualifier
on return type is meaningless</div>
<div> const int size(void) const { return
(indexmax()-indexmin()+1);}</div>
<div> ^</div>
<div><br>
</div>
<div>../tools99/adstring.hpp(250): warning #858: type
qualifier on return type is meaningless</div>
<div> _CONST int indexmin(void) _CONST { return
shape->indexmin();}</div>
<div> ^</div>
<div><br>
</div>
<div>../tools99/adstring.hpp(251): warning #858: type
qualifier on return type is meaningless</div>
<div> _CONST int indexmax(void) _CONST { return
shape->indexmax();}</div>
<div> ^</div>
<div><br>
</div>
<div>../tools99/admb_messages.h(143): error: more than one
operator "+" matches these operands:</div>
<div> built-in operator "integer +
pointer-to-object"</div>
<div> function "operator+(const adstring &,
const adstring &)"</div>
<div> operand types are: adstring + const char
[24]</div>
<div> + " used for array range ["</div>
<div> ^</div>
<div><br>
</div>
<div>compilation aborted for model49.cpp (code 2)</div>
<div>make[2]: *** [model49.obj] Error 2</div>
<div>make[2]: Leaving directory
`/home/daft/Downloads/admb-10.1/src/linad99'</div>
<div>make[1]: *** [dist] Error 2</div>
<div>make[1]: Leaving directory
`/home/daft/Downloads/admb-10.1/src'</div>
<div>make: *** [all] Error 2</div>
<div> Hey daft ! What is up? debian :~/Downloads/admb-10.1$</div>
</div>
</div>
</div>
<div><br>
</div>
<div>Clearly something went wrong. </div>
<div><br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">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>
<br></blockquote></div><br>