Re: Problem with an openMP and pthread program compiled with gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15 July 2010 15:18, MSteve <steve.macao@xxxxxxxxxxxx> wrote:
> There is no error in my code, in the declarations of my variables, in the
> openmp directives,... and I really think it is due to gcc because the code
> works when I compile it with the intel c compiler.

Thing is compiling without warnings doesnt guarentee no sigsegv :-).

> More precisions on the problem :
> I have simplified my code as far as possible (sorry if it is still too big)
> to keep only the part where the problem occurs. Consequently, the program
> does nothing so don't try to understand its goal :-D (normally it's an algo
> to make some operations on images). I have put some comments in the code to
> help, and I have precised where the problem occurs in Classe2.cpp.
> I work on Linux (version debian 2.6.26 amd64) and compile with the lines at
> the beginning of main.cpp. Other packages are necessary to make the code

This is all too big, try to build a small test case showing the error.
You may want to run your program through gdb or valgrind might give
you some ideas but beyond that i doubt we can be much help.

--Phil


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux