[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Is it Possible to Divide My Code?

if I understand you right, you can simply use MPI to implement parallel processing.


On 16/01/07, leo@xxxxxxxxxxxxxxxxxxxxx <leo@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

Is it possible that using Globus Toolkit or Condor, my C/C++ code be
divided in such a way that every class in my code be submitted to
different computing nodes? Could DAGMAN can do this? Please try to look at
the comments in my code to see what I wanted to do.

I am using Condor as my scheduler and I have a Condor pool of 5 machines.

Here's my sample/testing code:

//main program for testing the class Complex

#include "Complex.h"
#include <iostream.h>

complex() {
        Complex A, B, C, D;
                A = Complex(1,2);
                B = Complex(2,3);
                C = Complex(1,3);

        B.Show(); //to be submitted to compute node 1

        D.Show(); //to be submitted to compute node 2

        D.Show(); //to be submitted to compute node 3

        D.Show(); //to be submitted to compute node 4

        D = ((A+B) + Multiply(B,C) - C) / (Subtract(A,C));
        D.Show(); //to be submitted to compute node 5

        gSystem->Clear(); //just ignore this,
                          //I'm using ROOT that's why
                          //have this line

I attached the header file in case you need it. :)

Thank you in advance.



Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at either