From: W. Trevor King Date: Tue, 14 Sep 2010 19:17:41 +0000 (-0400) Subject: Merged src/client_server/ into src/shakespeare/parallel/. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1a70791ccb430a8d2c1d86a885806b4557ebe76;p=parallel_computing.git Merged src/client_server/ into src/shakespeare/parallel/. --- diff --git a/src/client_server/index.shtml b/content/Advanced_MPI/client_server/index.shtml similarity index 100% rename from src/client_server/index.shtml rename to content/Advanced_MPI/client_server/index.shtml diff --git a/src/client_server/Images/client.jpg b/content/Advanced_MPI/img/client.jpg similarity index 100% rename from src/client_server/Images/client.jpg rename to content/Advanced_MPI/img/client.jpg diff --git a/src/client_server/Images/client_and_worker.jpg b/content/Advanced_MPI/img/client_and_worker.jpg similarity index 100% rename from src/client_server/Images/client_and_worker.jpg rename to content/Advanced_MPI/img/client_and_worker.jpg diff --git a/src/client_server/Images/figure.jpg b/content/Advanced_MPI/img/figure.jpg similarity index 100% rename from src/client_server/Images/figure.jpg rename to content/Advanced_MPI/img/figure.jpg diff --git a/src/client_server/Images/master_server.jpg b/content/Advanced_MPI/img/master_server.jpg similarity index 100% rename from src/client_server/Images/master_server.jpg rename to content/Advanced_MPI/img/master_server.jpg diff --git a/src/client_server/Images/worker.jpg b/content/Advanced_MPI/img/worker.jpg similarity index 100% rename from src/client_server/Images/worker.jpg rename to content/Advanced_MPI/img/worker.jpg diff --git a/src/client_server/C-codes/search_text.c b/src/client_server/C-codes/search_text.c deleted file mode 100644 index 91e040f..0000000 --- a/src/client_server/C-codes/search_text.c +++ /dev/null @@ -1,314 +0,0 @@ - - - /* Simple client server skeleton */ - /* */ - /* Searches litterary works */ - /* */ - /* Sample built-in commands: */ - /* frequency "word" */ - /* distribution "word" */ - /* correlation "word_1" " word_2" */ - /* help */ - /* quit */ - - - /* Michel Vallieres */ - /* Spring 2001 */ - -#include -#include -#include - -#define MAX_WORDS 100000 - -char word[MAX_WORDS][100]; - - /* function */ - /* prototypes */ -void correlation ( char word_1[], char word_2[], int corr[], int n_word ); -void search_word( char *a_word, int *occurences, int n_word ); -void distribution( char *a_word, int *occurences, int n_word ); -void get_the_data ( char *fname, int *n_word ); -void lower_case_letters ( char *string ); -void cleanup ( char string[], char in_string ); -void command_input ( char command[], char word_1[], char word_2[] ); - - -/* correlations between the words */ -void correlation ( char word_1[], char word_2[], int corr[], int n_word ) -{ - int iw, wscan, wscan_min, wscan_max; - /* zeroth */ - /* correlation */ - for ( wscan=0; wscan<5 ; wscan++ ) - corr[wscan] = 0; - /* scan over text */ - for ( iw=0 ; iw n_word ) - wscan_max = n_word; - wscan_min = iw+1; - if ( wscan_min > n_word ) - wscan_min = n_word; /* find word #2 */ - /* nearby */ - if ( wscan_max >= wscan_min ) - { - for ( wscan=wscan_min ; wscan - - - - - - - - - New Page 2 - - - - -
- - - -
- -

Table of Content

- - - - - - - - - -
    -
  • Programming Strategies - -
      -
    • Parallel Algorithms, Communications & Load - Balancing
    • - -
    • Static Load Balance
    • - -
    • Dynamical Load Balance
    • - -
    • The Mandelbrot Set
    • - -
    • Assignment #2
    • -
    -
  • -
- -
    -
  • MPE Graphics Environment - -
      -
    • Introduction
    • - -
    • C-binding
    • - -
    • Example
    • -
    -
  • -
- -
    -
  • Domain Decomposition - -
      -
    • Lattice Problems
    • - -
    • Domain Decomposition
    • - -
    • Parallel Implementation
    • - -
    • Elliptic Equation - 1-D Poisson Equation - -
        -
      • The Model
      • - -
      • Sequential Implementation
      • - -
      • Parallel Implementation
      • -
      -
    • - -
    • Elliptic Equation - 2-D Poisson Equation - -
        -
      • The Model
      • - -
      • Sequential Implementation
      • - -
      • Parallel Implementation
      • -
      -
    • - -
    • Red and Black algorithm
    • -
    -
  • - -
  • Global Operations - -
      -
    • Synchronization
    • - -
    • Broadcast
    • - -
    • Reduce
    • - -
    • Sample Codes
    • - -
    • Binary Tree Algorithm - Broadcast
    • -
    -
  • - -
  • Advanced MPI - -
      -
    • Non-Blocking Communications
    • - -
    • Simultaneous Calculations/Communications
    • - -
    • Just on Time Communication
    • - -
    • Examples - -
        -
      • Communication in a ring
      • - -
      • Poisson Equation
      • -
      -
    • -
    -
  • - -
  • Derived Data Types - Buffering - -
      -
    • MPI Approach
    • - -
    • C structures
    • - -
    • Examples
    • -
    -
  • - -
  • Projects - -
      -
    • Diffusion Equation
    • - -
    • -
        -
      • Parabolic Equation
      • - -
      • Model
      • - -
      • Parabolic PDEs solution
      • - -
      • Serial Implementation
      • - -
      • Some Results
      • - -
      • Project
      • -
      -
    • - -
    • Navier-Stokes Equations
    • - -
    • Gene search
    • - -
    • Classical N-Body problem - -

       

      -
    • -
    -
  • -
-
- Back to PHYS 405 main page -
- Any questions or suggestions should be directed to Michel Vallières -
- -

 

- - diff --git a/src/client_server/Shakespeare.tar b/src/client_server/Shakespeare.tar deleted file mode 100644 index ce3b06f..0000000 Binary files a/src/client_server/Shakespeare.tar and /dev/null differ diff --git a/src/client_server/list_plays b/src/client_server/list_plays deleted file mode 100644 index 0d1cb90..0000000 --- a/src/client_server/list_plays +++ /dev/null @@ -1,11 +0,0 @@ -/home/cyborg5/valliere/Shakespeare/ -antonyandcleopatra.html Antony and Cleopatra -juliusceasar.html Julius Ceasar -othello.html othello -titusandronicus.html Titus and Ronicus -coriolanus.html Coriolanus -kinglear.html King Lear -romeoandjuliet.html Romeo and Juliet -hamlet.html Hamlet -macbeth.html Macbeth -timonofathens.html Timon of Athens diff --git a/src/client_server/C-codes/read_file.c b/src/shakespeare/parallel/read_file.c similarity index 100% rename from src/client_server/C-codes/read_file.c rename to src/shakespeare/parallel/read_file.c diff --git a/src/client_server/C-codes/search_text_p.c b/src/shakespeare/parallel/search_text_p.c similarity index 100% rename from src/client_server/C-codes/search_text_p.c rename to src/shakespeare/parallel/search_text_p.c diff --git a/src/client_server/C-codes/search_text_p_with_bugs.c b/src/shakespeare/parallel/search_text_p_with_bugs.c similarity index 100% rename from src/client_server/C-codes/search_text_p_with_bugs.c rename to src/shakespeare/parallel/search_text_p_with_bugs.c