[ADMB Users] This might be me being dumb. However It is what happens when I try to use icc.
Johnoel Ancheta
johnoel at hawaii.edu
Fri Aug 5 15:32:33 PDT 2011
Try and checkout the trunk
$ svn checkout http://www.admb-project.org/svn/trunk admb-trunk-readonly
Then follow instruction in README.txt.
On 8/5/11 7:23 AM, bigA wrote:
> Hi admb,
>
> 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?
> 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.
> Aaron
>
>
> Hey daft ! What is up? debian :~/Downloads/admb-10.1$./configure
> CC=icc CXX=icpc BUILD_64BIT=yes
> checking for gcc... icc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether icc accepts -g... yes
> checking for icc option to accept ISO C89... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether icpc accepts -g... yes
> checking how to run the C++ preprocessor... icpc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking iostream usability... yes
> checking iostream presence... yes
> checking for iostream... yes
> checking for flex... no
> checking for lex... no
> checking for sed... yes
> checking for svnversion... yes
> configure: creating ./config.status
> config.status: creating GNUmakefile
> config.status: creating admb_configure.h
> config.status: creating scripts/admb/admb-bin
>
> Configure completed for admb-10.1-linux-icc12.0.5-64bit
> To build ADMB, type 'make'
>
> ##
> ### So I type make.
> ###
> Hey daft ! What is up? debian :~/Downloads/admb-10.1$make
> 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
> make[1]: Entering directory `/home/daft/Downloads/admb-10.1/src'
> 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}
> mkdir -p ../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-olp
> mkdir -p ../build/admb-10.1-linux-icc12.0.5-64bit/objects/linad99-slp
> mkdir -p ../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp
> mkdir -p ../build/admb-10.1-linux-icc12.0.5-64bit/objects/nh99-olp-stub
> mkdir -p ../build/admb-10.1-linux-icc12.0.5-64bit/objects/tools99-olp
> mkdir -p
> ../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-slp
> mkdir -p
> ../build/admb-10.1-linux-icc12.0.5-64bit/objects/df1b2-separable-olp
> 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
> make[2]: Entering directory `/home/daft/Downloads/admb-10.1/src/linad99'
> 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
> ../linad99/fvar.hpp(6242): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6243): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6244): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../linad99/fvar.hpp(6363): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6364): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6365): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../linad99/fvar.hpp(6499): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6500): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6501): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../linad99/fvar.hpp(6636): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6637): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6638): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../linad99/fvar.hpp(6790): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6791): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6792): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../linad99/fvar.hpp(6943): warning #858: type qualifier on return type
> is meaningless
> const int indexmin(void) const { return (shape->indexmin());}
> ^
>
> ../linad99/fvar.hpp(6944): warning #858: type qualifier on return type
> is meaningless
> const int indexmax(void) const { return (shape->indexmax());}
> ^
>
> ../linad99/fvar.hpp(6945): warning #858: type qualifier on return type
> is meaningless
> const int size(void) const { return (indexmax()-indexmin()+1);}
> ^
>
> ../tools99/adstring.hpp(250): warning #858: type qualifier on return
> type is meaningless
> _CONST int indexmin(void) _CONST { return shape->indexmin();}
> ^
>
> ../tools99/adstring.hpp(251): warning #858: type qualifier on return
> type is meaningless
> _CONST int indexmax(void) _CONST { return shape->indexmax();}
> ^
>
> ../tools99/admb_messages.h(143): error: more than one operator "+"
> matches these operands:
> built-in operator "integer + pointer-to-object"
> function "operator+(const adstring &, const adstring &)"
> operand types are: adstring + const char [24]
> + " used for array range ["
> ^
>
> compilation aborted for model49.cpp (code 2)
> make[2]: *** [model49.obj] Error 2
> make[2]: Leaving directory `/home/daft/Downloads/admb-10.1/src/linad99'
> make[1]: *** [dist] Error 2
> make[1]: Leaving directory `/home/daft/Downloads/admb-10.1/src'
> make: *** [all] Error 2
> Hey daft ! What is up? debian :~/Downloads/admb-10.1$
>
> Clearly something went wrong.
>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110805/fe86aeb9/attachment.html>
More information about the Users
mailing list