I have a very large program which I want to parallelize. It is in c and runs very well in sequential or parallel mode (using pthreads) with gcc.
When I run it using pgcc, it can only run sequentially. If I run it parallel I get stack overflow errors.
Thus in Ubuntu 11.04 how do I increase te stacksize, can I or should I increase stacksize to unlimited and how do i do that?