Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38207 - SIGUSR1 conflict between mpich and pthread
Summary: SIGUSR1 conflict between mpich and pthread
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 13:09 UTC by Douglas R. Hoffman
Modified: 2010-09-10 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for mpich ebuild to support alternate signals for listener (patch.diff,827 bytes, patch)
2004-01-14 16:47 UTC, Douglas R. Hoffman
Details | Diff
patch for mpich ebuild to support user specified configure string (mpich-1.2.5.2.ebuild.patch,1.33 KB, patch)
2004-03-28 02:36 UTC, Douglas R. Hoffman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas R. Hoffman 2004-01-14 13:09:41 UTC
pthreads uses USR1 and the default compile options for mpich uses USR1 as well.


Proposed Solution: For some time now, i have successfully used them concurrently with mpich compiled with SIGUSR2 (12) or SIGBUS (7).

Reproducible: Always
Steps to Reproduce:




I have a patch.  I will upload once bug created.
Comment 1 Douglas R. Hoffman 2004-01-14 16:47:11 UTC
Created attachment 23833 [details, diff]
patch for mpich ebuild to support alternate signals for listener


Here is a patch which enables two new use variables.  Namely mpi_sigbus and
mpi_sigusr2.  each changes the compile time options of mpich to listent to the
respective signal instead of sicusr1.
Comment 2 Douglas R. Hoffman 2004-02-08 21:13:14 UTC
um, can I do something to help move this along?

-d
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-08 21:23:11 UTC
Anybody got something to say about this? I'm mostly fine with it, but instead of USE flags I'd just have an environment variable.

For example, `LISTENER_SIG="foo" emerge mpich`.
Comment 4 Douglas R. Hoffman 2004-03-28 02:36:46 UTC
Created attachment 28201 [details, diff]
patch for mpich ebuild to support user specified configure string

Guess this didn't make it into the latest ebuild so here is a patch against the
latest.

I'm going to assume there is a good reason why 'export FOO="w00t"' is not
typical in ebuilds and follow suit with two lines
Comment 5 Douglas R. Hoffman 2004-03-28 02:40:55 UTC
oops...  usage info...  I have tested with and without 'MPICH_CONFIGURE_OPTION="--with-device=ch_p4:-listener_sig=SIGBUS"' in my make.conf without issue on x86.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-02 14:30:31 UTC
In CVS. Please test.