From: Thomas Fuerle <fuerle@vipios.pri.univie.ac.at>
Newsgroups: comp.parallel.mpi
Subject: Re: MPICH & linuxThreads
Date: Fri, 26 Mar 1999 09:29:26 +0100
Organization: Vienna University, Austria
Message-Id: <36FB4566.EA67ED88@vipios.pri.univie.ac.at>
References: <36FA46EC.A672CC61@di.unipi.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Xref: ukc comp.parallel.mpi:4844


Alberto Lucchesi wrote:

> Hello,
>
> My parallel program ( a FARM ) implemented with MPICH and LinuxThread
> don't' work
> on a PC cluster.
> Anyone know if is possible to work wich MPICH & linuxThreads ???
>

1.) I have compiled mpich.1.1.2 with the option listenersig=SIGUNSED
(quick&dirty hack, because this signal is unused in linux), that threads
and mpich donīt interfere each other anymore.

2.) I also introduced critical sections, where I use mutal exclusion
(pthread_mutex_lock/unlock), e.g. for Send, Receive, Probe, etc. that
only one MPI function can be active at any time.

I just a workaround, but it works fine for me.

Regards, Tom

>
> If yes, can you attach a little example ?
>
> Many many thanks for your attention
>
> --
> - Alberto Lucchesi  --> lucches@cli.di.unipi.it
>                         lucches@di.unipi.it
>
> P.S. I am sorry for my bad English :-)

--
Thomas Fuerle
mailto:fuerle@vipios.pri.univie.ac.at
http://vipios.pri.univie.ac.at
Institute for Applied Computer Science and Information Systems
University of  Vienna, Rathausstr. 19/4, A-1010 Vienna, Austria
Tel: +43 1 4277 38423

