Fedora Linux Support Community & Resources Center
  #1  
Old 4th February 2012, 10:39 PM
Ernst0 Offline
Registered User
 
Join Date: Mar 2009
Location: Northern California
Posts: 89
linuxfedorafirefox
Parallel Processing?

Parallel Processing?

I have read about Parallel Processing and I see that GCC mentions it has the ability to do it.
I believe I should learn to use more than one core.

Can someone tell me what I am looking for as to learning to use GCC in a Parallel way?

I do alright with C. Mostly I write data encoding programs and I believe I can make use of being able to have a program do more than one thing at a time such as process blocks of data for example. That would speed things up a lot.



Ernst

Last edited by Ernst0; 4th February 2012 at 10:42 PM.
Reply With Quote
  #2  
Old 5th February 2012, 05:27 AM
GTAero Offline
Registered User
 
Join Date: Feb 2011
Posts: 6
windows_7firefox
Re: Parallel Processing?

built into gcc is openMP, which allows you to do parallel programming on a single computer, also installable in fedora is MPI, which you can use to program to multiple computers if you have them (there are two versions, openMPI and MPICH2, i prefer MPICH2, but there is no difference as far as programming to one or the other). These are libraries you can use in C/C++, so you're already over half way there just with being good with C.

I'd suggest learning openMP first, as it is easier. you can find some decent tutorials for these online with a quick search. There are also some good books written on both if you feel the need to go that route. A lot of what you will get with a book versus a website is a good book will talk about how to write your code to best execute in parallel, not just what the functions are and when to use them.

good luck - parallel programming can take a bit of practice to get good at, but if you stick with it, it is a great skill to have.
Reply With Quote
  #3  
Old 5th February 2012, 07:33 AM
diamond_ramsey Offline
Registered User
 
Join Date: Aug 2009
Posts: 785
macossafari
Re: Parallel Processing?

A big +1 for openMP and a system with resources able to conduct parallel computing operations.
__________________
2 dual cores, 11 GB RAM, F18 Spherical Cow - 3.11.10-100.fc18.x86_64 / i686
2 dual cores, 11 GB RAM, F19 Schrödinger's Cat - 3.14.13-100.fc19.x86_64 / i686
2 dual cores, 11 GB RAM, F20 Heisenbug - 3.15.6-200.fc20.x86_64 / i686
16 x86_64 computing cores, 80 GB RAM & 8 SATA Seagate 7200.12 500 GB harddisks
Reply With Quote
  #4  
Old 5th February 2012, 02:52 PM
Ernst0 Offline
Registered User
 
Join Date: Mar 2009
Location: Northern California
Posts: 89
linuxfedorafirefox
Re: Parallel Processing?

Outstanding !

I had a quad-core now have the 8-core. I see from reading that it is time for us all to advance our skills.

Okay then what a great site and great friends.

Thanks


Ernst
Reply With Quote
Reply

Tags
parallel, processing

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
[SOLVED] How to use processing.org's Processing-1.0.9 as an Application rjames Installation, Upgrades and Live Media 4 3rd March 2010 09:31 PM
Processing issue wtawfik Using Fedora 4 4th October 2009 10:32 PM
Parallel Processing in PHP alirizwan Programming & Packaging 3 14th September 2005 03:39 PM
is duel processing better goldstar1 Using Fedora 4 7th August 2005 04:54 AM


Current GMT-time: 12:22 (Monday, 28-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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