Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, January 2007
macosx Qt program doesn't run with icc & -openmp enabled


Message 1 in thread

Hi,

I finally go to the Intel compiler icc on macosx.
My objective is to test/use OpenMP with Qt (compiled with gcc 4.0.1 
latest version available for macosx provided by Apple)

I tested the example draggableicons in the examples/draganddrop Qt folder.

if I use ICC or more exactly ICPC (ICC for C++) it still runs fine,
if I add the -openmp option, the program closes immediately.

in order to use ICC, I modified the .pro file and add the following lines:
QMAKE_CXX=icpc
QMAKE_CXXFLAGS=" -openmp "
QMAKE_LINK=icpc
QMAKE_LFLAGS=" -openmp "

Please do you have an idea ?

Cheers,
Sylvain

--
 [ signature omitted ] 

Message 2 in thread

epsilon68 wrote:
> Hi,
> 
> I finally go to the Intel compiler icc on macosx.
> My objective is to test/use OpenMP with Qt (compiled with gcc 4.0.1 
> latest version available for macosx provided by Apple)
> 
> I tested the example draggableicons in the examples/draganddrop Qt folder.
> 
> if I use ICC or more exactly ICPC (ICC for C++) it still runs fine,
> if I add the -openmp option, the program closes immediately.
> 
> in order to use ICC, I modified the .pro file and add the following lines:
> QMAKE_CXX=icpc
> QMAKE_CXXFLAGS=" -openmp "
> QMAKE_LINK=icpc
> QMAKE_LFLAGS=" -openmp "
> 
> Please do you have an idea ?
> 
> Cheers,
> Sylvain


Please can someone help me ?

I am using a evaluation version of icc just to test openmp as I cannot 
use gcc 4.2 for openmp on macosx (see my previous posts)

but as icc is completely compatible with gcc, I am very surprised it can 
have an error, only with -openmp option ...
very strange !!!

Please can someone help me ?

Cheers,
Sylvain

--
 [ signature omitted ] 

Message 3 in thread

epsilon68 wrote:
> Hi,
> 
> I finally go to the Intel compiler icc on macosx.
> My objective is to test/use OpenMP with Qt (compiled with gcc 4.0.1 
> latest version available for macosx provided by Apple)
> 
> I tested the example draggableicons in the examples/draganddrop Qt folder.
> 
> if I use ICC or more exactly ICPC (ICC for C++) it still runs fine,
> if I add the -openmp option, the program closes immediately.
> 
> in order to use ICC, I modified the .pro file and add the following lines:
> QMAKE_CXX=icpc
> QMAKE_CXXFLAGS=" -openmp "
> QMAKE_LINK=icpc
> QMAKE_LFLAGS=" -openmp "
> 
> Please do you have an idea ?
> 
> Cheers,
> Sylvain


Please can someone help me ?

I am using a evaluation version of icc just to test openmp as I cannot
use gcc 4.2 for openmp on macosx (see my previous posts)

but as icc is completely compatible with gcc, I am very surprised it can
have an error, only with -openmp option ...
very strange !!!

Please can someone help me ?

Cheers,
Sylvain

--
 [ signature omitted ] 

Message 4 in thread

http://www.trolltech.com/developer/notes/compilers/intel
http://www.trolltech.com/developer/notes/supported_platforms

Trolltech does not support icc on Mac OS X.

Regards,

-- 
 [ signature omitted ] 

Message 5 in thread

Cavendish Qi wrote:
> http://www.trolltech.com/developer/notes/compilers/intel
> http://www.trolltech.com/developer/notes/supported_platforms
> 
> Trolltech does not support icc on Mac OS X.
> 
> Regards,
> 

I can compile Qt by specifying macx-icc
and generate makefile by specifying macx-icc too

I think it may be experimental but it works.

only the option -openmp makes it crashed.


Please do someone have an idea ?

--
 [ signature omitted ]