Fedora Linux Support Community & Resources Center
Old 9th May 2012, 05:18 AM
aitm04 Offline
Registered User
Join Date: May 2012
Location: belgaum
Posts: 2
Parallel programming

Hi i am using Fedora 14....While executing parallel programs in C i am getting segmentation fault error when i give the array size more than 700000...I am not able to understand the problem please help me out and give solution.

Reply With Quote
Old 9th May 2012, 07:04 PM
Gareth Jones Offline
Retired Adminstrator
Join Date: Jul 2011
Location: Birmingham, UK
Age: 34
Posts: 2,761
Re: Parallel programming

My guess would be a stack overflow, but without sample code and a terminal log it's impossible to be more specific.

Also, this should be posted in the Programming forum (http://forums.fedoraforum.org/forumdisplay.php?f=27), not here.
Reply With Quote
Old 10th May 2012, 12:41 PM
george_toolan Offline
Registered User
Join Date: Dec 2006
Posts: 2,088
Re: Parallel programming

Is this a 32 bit system?

What exactly are you trying to do?

What exactly is the error message?

Try to monitor memory usage of your programs with ps or top.

Maybe try to upgrade to Fedora 16 or 17 which also have newer compilers and kernels with better threading support?
Reply With Quote
Old 10th May 2012, 02:26 PM
William Haller Offline
Registered User
Join Date: Jul 2005
Age: 57
Posts: 1,181
Re: Parallel programming

Also, is the array being shared by each thread or is a new array of that size being created by each thread. You could well just be exceeding memory in a big way with multiple threads.
Reply With Quote

parallel, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Printing mooreted Hardware & Laptops 4 1st May 2012 10:01 PM
Java In Parallel Z-hh Programming & Packaging 4 20th September 2009 07:48 AM
linux programming vs. windows programming unlovedwarrior Programming & Packaging 11 22nd October 2006 09:14 PM
Parallel port programming in c/c++ JPEM Programming & Packaging 0 10th October 2005 11:53 AM
Installing RPM 4.3.2 parallel to RPM 4.3.1 ilja Using Fedora 2 13th July 2004 08:57 PM

Current GMT-time: 07:38 (Wednesday, 20-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat