[GE users] Help: Threaded dispatch problem

Reuti reuti at staff.uni-marburg.de
Wed Sep 17 12:48:50 BST 2008


Am 17.09.2008 um 13:02 schrieb Lee Amy:

> 2008/9/17 Lee Amy <openlinuxsource at gmail.com>
>
>
> 2008/9/17 Reuti <reuti at staff.uni-marburg.de>
>
> Hi,
>
> Am 17.09.2008 um 04:58 schrieb Lee Amy:
>
>
> I have a threaded(non-parallel)
>
> then it is a parallel program anyway. Whether it uses:
>
> - threads (operate on the same memory image) with e.g. Open MP or  
> hand-crafted
> - forks (works on copies of the original programm plus maybe shared  
> memory segments or message pipes for communication)
> - a parallel library like MPI, PVM, Linda, GlobalArrays, Charm++  
> which adds network communication
>
> is only a different programming paradigm, and should be chosen  
> after analyzing the algorithm which fits best to the problem.
>
>
> program called tgicl at bioinformatics field. It can run on one  
> single machine with multiple threads I prefer. However, I suppose  
> that whether I can play a trick like that.
>
> For example, I start the program with 8 threads, 4 threads run on a  
> single machine and other 4 threads run on another machine. Anyway,  
> 8 threads belong to one job. I suppose that I should use a PE to do  
> that.
>
> No, SGE will only support programs which are already parallel on  
> their own by distributing them according to a necessary allocation  
> style, but it will not add any additional parallelism on its own to  
> it.
>
> You could of course try:
>
> http://www.kerrighed.org/wiki/index.php/Main_Page
>
> which adds a global memory space, and if it's of use for you, you  
> could post your results here.
>
> -- Reuti
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
> Reuti,
>
> Thank you very much. I suppose that you show me a direction.
>
> Regards,
>
> Amy
> Reuti,
>
> I suppose that whether I can use checkpoint method to migrate  
> threads to other machines. Because I know the checkpoint function  
> is used by migrating jobs. Could you tell me some details?

Please try to understand what "using threads" mean in detail for a  
program. You can have a look here, and then judge what technique  
might be used, or which can't be used due to conceptual contradictions:

http://www.ibm.com/developerworks/library/l-posix1.html

-- Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list