There is only one file where "return { ... };" is used.
--disable-vt
seems to fix it.
-- Reuti
Am 28.08.2012 um 14:56 schrieb Tim Prince:
> On 8/28/2012 5:11 AM, 清风 wrote:
>>
>>
>>
>> ------------------ 原始邮 件 ------------------
>> *发件人:* "295187383"<[email protected]>;
>> *发送时间:* 2012年8月28日(星期二) 下午4:13
>> *收件人:* "users"<[email protected]>;
>> *主题:* lwkmpi
>>
>> Hi everybody,
>> I'm trying compile openmpi with intel compiler11.1.07 on ubuntu .
>> I compiled openmpi many times and I could always find a problem. But the
>> error that I'm getting now, gives me no clues where to even search for the
>> problem.
>> It seems I have succeed to configure.While I try "make all",it always
>> show problems below:
>>
>>
>>
>> make[7]: 正在进入目录
>> `/mnt/Software/openmpi-1.6.1/ompi/contrib/vt/vt/tools/opari/tool'
>> /opt/intel/Compiler/11.1/072/bin/ia32/icpc -DHAVE_CONFIG_H -I. -I../../..
>> -DINSIDE_OPENMPI -I/home/lwk/桌面/mnt/Software/openmpi-
>> 1.6.1/opal/mca/hwloc/hwloc132/hwloc /include -I/usr/include/infiniband
>> -I/usr/include/infiniband -DOPARI_VT -O3 -DNDEBUG -finline-functions
>> -pthread -MT opari-ompragma_c.o -MD -MP -MF .deps/opari-ompragma_c.Tpo -c -o
>> opari-ompragma_c.o `test -f 'ompragma_c.cc' || echo './'`ompragma_c.cc
>> /usr/include/c++/4.5/iomanip(64): error: expected an expression
>> { return { __mask }; }
>> ^
>>
>
> Looks like your icpc is too old to work with your g++. If you want to build
> with C++ support, you'll need better matching versions of icpc and g++. icpc
> support for g++4.7 is expected to release within the next month; icpc 12.1
> should be fine with g++ 4.5 and 4.6.
>
> --
> Tim Prince
>
> _______________________________________________
> users mailing list
> [email protected]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>