[Developers] Problems compiling under Intel compiler under linux

Hans Julius Skaug Hans.Skaug at math.uib.no
Fri Feb 18 05:14:58 PST 2011


Hi,

I have problems building ADMB with the intel (icc) compiler under 64 bits linux.
I want to try the "autoparallelize" option of icc to see what what speedup can be
gained on a multicore machine.

Has anybody successfully compilied under icc?

Hans 





Error message:



make[2]: Entering directory `/Home/siv7/hsk021/admb/trunk/src/df1b2-separable'
icc -c -O3 -Wall -Wno-conversion -Wno-non-virtual-dtor -Wno-comment -Wno-strict-aliasing -Wno-write-strings -Wno-unused-function -Wno-unknown-pragmas -Wno-cast-qual -Wno-uninitialized -Wno-reorder -Wno-deprecated -DUSE_LAPLACE -fpermissive -I../df1b2-separable -I../nh99 -I../linad99 -I../tools99 -D__SPDLL__ -D__GNUDOS__ -Dlinux -DOPT_LIB  df1b2impspf.cpp -o ../../build/gcc411-fedorar8/df1b2-separable-olp/df1b2impspf.obj
icc: command line warning #10156: ignoring option '-W'; no argument required
/usr/include/c++/4.5.1/iomanip(64): error: expected an expression
    { return { __mask }; }
             ^

/usr/include/c++/4.5.1/iomanip(94): error: expected an expression
    { return { __mask }; }
             ^

/usr/include/c++/4.5.1/iomanip(125): error: expected an expression
    { return { __base }; }
             ^

/usr/include/c++/4.5.1/iomanip(193): error: expected an expression
    { return { __n }; }
             ^

/usr/include/c++/4.5.1/iomanip(223): error: expected an expression
    { return { __n }; }
             ^

df1b2impspf.cpp(44): remark #981: operands are evaluated in unspecified order
    nvar=x.size()+u0.size()+sz;
                 ^


More information about the Developers mailing list