Indeed, you need to remove -std=c++98 if you use the Intel C++ compiler.

I did some tests and there is no difference in the running time for Ray 
compiled with Intel C++ and with GNU C++.

With Clang++/LLVM, the compilation is faster (it takes less time to compile the 
code) and the generated code is as fast as with GNU C++ and Intel C++.


-seb.

> ________________________________________
> De : Samuel Lampa [samuel.la...@it.uu.se]
> Date d'envoi : 2 septembre 2011 13:48
> À : Samuel Lampa
> Cc : Sébastien Boisvert
> Objet : Re: "integer conversion" error when compiling Ray 1.6.1 with OpenMPI 
> 1.4.3 / Intel 12.0.3
> 
> Sorry, slightly wrong compile log file send. Attaching the correct one
> (with 19:41 time stamp).
> 
> // Samuel
> 
> Quoting Samuel Lampa <samuel.la...@it.uu.se>:
> 
>> Hi,
>>
>> When trying to compile Ray 1.6.1 with OpenMPI 1.4.3 and Intel C++
>> compiler 12.0.3, I get the following warnings:
>>
>>   MPICXX code/communication/MessageProcessor.cpp
>> code/communication/MessageProcessor.cpp(153): warning #68: integer
>> conversion resulted in a change of sign
>>                         outgoingMessage[j++]=-1;
>>                                              ^
>>
>> code/communication/MessageProcessor.cpp(154): warning #68: integer
>> conversion resulted in a change of sign
>>                         outgoingMessage[j++]=-1;
>>                                              ^
>>
>> code/communication/MessageProcessor.cpp(155): warning #68: integer
>> conversion resulted in a change of sign
>>                         outgoingMessage[j++]=-1;
>>                                              ^
>>
>> I use:
>>
>> MPI version: OpenMPI 1.4.3
>> C++ compiler version (MPIC++) icpc (ICC) 12.0.3 20110309
>>
>> Compile command:
>> make PREFIX=build MPICXX=/opt/openmpi/1.4.3intel12.0/bin/mpic++ &>
>> compile-`date +%Y%m%d.%H%M`.log
>>
>> I removed the -std=c++98 option from line 113 in the Makefile
>> (according to post #2 in this thread:
>> http://software.intel.com/en-us/forums/showthread.php?t=70102),
>> because of earlier errors:
>>
>> MPICXX code/memory/OnDiskAllocator.cpp
>> icpc: command line warning #10159: invalid argument for option '-std'
>>
>> Any hints on what is wrong? (I'm not too used at compiling, and
>> especially not with MPI, so excuse me if this is something basic).
>>
>> (Find attached some systeminfo generated according to
>> http://sourceforge.net/apps/mediawiki/denovoassembler/index.php?title=Reporting_bugs/crashes
>> )
>>
>> Cheers,
>> Samuel
>>
>>
>> --
>> Samuel Lampa
>>
>> Bioinformatician
>> SNIC-UPPMAX / SciLifeLab Uppsala
>> Uppsala University, Sweden
>> --------------------------------------
>> E-mail: samuel.la...@scilifelab.uu.se
>> WWW: http://www.uppmax.uu.se
>> Phone: +46 (0)18-471 1060
>>
> 
> 
> 
> --
> Samuel Lampa
> 
> System expert / Bioinformatician
> SNIC-UPPMAX / SciLifeLab Uppsala
> Uppsala University, Sweden
> --------------------------------------
> E-mail: samuel.la...@scilifelab.uu.se
> WWW: http://www.uppmax.uu.se
> Phone: +46 (0)18-471 1060
> 
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Denovoassembler-users mailing list
Denovoassembler-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denovoassembler-users

Reply via email to