Re: [Myrinet] application hangs when using 'call system'

William Gropp <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <5.1.0.14.2.20020604095241.01eb8008@localhost>
At 10:45 AM 6/4/2002 -0400, Jeff Nucciarone wrote:
>I am in the process of debugging an application that appears to hang 
>whenever a Fortran call to 'system' is made. In the following example code:
>...
>I suspect the 'system' call is somehow upsetting GM. Any ideas (other than 
>eliminating any calls to system)?

I have sometimes had trouble with such calls taking signals away from the 
application and failing to restore them on exit.  You might try writing a 
short C routine that does fork/exec/waitpid instead of the system call.

Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.