[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Is it Possible to Divide My Code?
- Date: Tue, 16 Jan 2007 12:52:46 +0000
- From: "Hao Liu" <guzi5618@xxxxxxxxx>
- Subject: Re: [Condor-users] Is it Possible to Divide My Code?
if I understand you right, you can simply use MPI to implement parallel processing.
leo@xxxxxxxxxxxxxxxxxxxxx <leo@xxxxxxxxxxxxxxxxxxxxx> wrote:
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
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
You can also unsubscribe by visiting
The archives can be found at either