Thread: Posix Thread programming

  1. #1
    Registered User
    Join Date
    Sep 2004

    Posix Thread programming

    Write a Multithreaded parallel programs in Pthread package to solve Laplace's Equation over a two dimensional n*n grid using Gauss-Seidel and Red-Black relaxation methods,respectively.
    Assume the grid is initialized to zeroes and its external boundary points along the four edges are initialized to 10.0 , 5.0 , 10.0 and 5.0.
    Assume the iteration stops when the differences between the iteration values are less than 0.01.
    Assume the number of threads is p.For simplicity,you may assume p divides n evenly.
    You may use any assignment approach.
    Last edited by Salem; 10-14-2004 at 01:15 AM. Reason: Yet more font and colour abuse!!!

  2. #2
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    I'm am posting this because it appears that you are posting a homework assignment or other project and you are asking for someone else to do all of the work.

    Please don't ask people to do all your work for you, See the announcement on Homework at the top of the forum to see what is acceptable or PM me.

    Basically people are happy to help, but they're not going to do it all for you.

    Show us what you've got, show your code (using code tags), or where you're confused and someone will be happy to help you I'm sure. If it's something that you absolutely don't understand how it works, like you have no clue how qsort works, then ask a general question about the function and I'm sure someone will explain it. Though they may not give you all of the code for it, but someone will explain the concept.

    On obivous homework questions especially, I also like to remind people of the board's tenth guildeline, while this board is very helpful to people, make sure you have your instructor's permission before seeking help on assignments. While people on these boards are more than happy to help, we discourage people from asking for help on graded work without the instructor's permission, and we claim no repsonsibilty for any cheating or honor violations.

    This thread is closed. If you wish to ask a more specific or appropriate question, please start a new thread.

    Feel free to PM me with any questions.

    Good Luck,

    Lead Moderator

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multithreading (flag stopping a thread, ring buffer) volatile
    By ShwangShwing in forum C Programming
    Replies: 3
    Last Post: 05-19-2009, 07:27 AM
  2. Replies: 2
    Last Post: 02-26-2009, 11:48 PM
  3. Replies: 2
    Last Post: 07-01-2007, 07:11 AM
  4. Messaging Between Threads, Exiting Thread On Demand, Etc.
    By HyperShadow in forum C++ Programming
    Replies: 10
    Last Post: 06-09-2007, 01:04 PM
  5. Multi-Thread Programming
    By drdroid in forum C++ Programming
    Replies: 6
    Last Post: 04-04-2002, 02:53 PM