[mpich-discuss] discuss Digest, Vol 8, Issue 39

Antonio J. Peña apenya at mcs.anl.gov
Mon Jun 24 15:49:08 CDT 2013


Sufeng,

I'd say you're OK syncing your threads by all of them calling MPI_Barrier, as 
it's a thread-safe function.

  Antonio


On Monday, June 24, 2013 11:41:44 AM Sufeng Niu wrote:


Hi, Antonio



Thanks a lot! Now I make sense. Let's say if I am running MPI and 
multithreads program. If I called MPI_Barrier in each threads


what gonna happen? Will threads be synced by MPI_Barrier?  or I should 
use thread level sync?



Thank you!


Sufeng




On Sun, Jun 23, 2013 at 6:54 PM, <discuss-request at mpich.org[1]> wrote:


Send discuss mailing list submissions to        discuss at mpich.org[2]
https://lists.mpich.org/mailman/listinfo/discuss[3]
discuss-request at mpich.org[1]
discuss-owner at mpich.org[4]
jeff.science at gmail.com[5]>To: "discuss at mpich.org[2]" 
<_discuss at mpich.org_>Subject: Re: [mpich-discuss] Error with 
MPI_SpawnMessage-ID: 
<-1578386667793986954 at unknownmsgid>Content-Type: text/plain; 
charset=ISO-8859-1

This is the wrong way to use PETSc and to parallelize a code with aparallel 
library in general.

Write the PETSc user list and they will explain to you how toparallelize your 
code properly with PETSc.

Jeff

Sent from my iPhone

On Jun 23, 2013, at 4:59 PM, Nitel Muhtaroglu 
<muhtaroglu.n at gmail.com[6]> wrote:

> Hello,>> I am trying to integrate PETSc library to a serial program. The 
idea is that the serial program creates a linear equation system and then 
calls PETSc solver by MPI_Spawn and then solves this system in parallel. 
But when I execute MPI_Spawn the following error message occurs and the 
solver is not called. I couldn't find a solution to this error. Does anyone 
have an idea about it?>> Kind Regards,> --> Nitel>> 
**********************************************************> Assertion failed 
in file socksm.c at line 590: hdr.pkt_type == 
MPIDI_NEM_TCP_SOCKSM_PKT_ID_INFO || hdr.pkt_type == 
MPIDI_NEM_TCP_SOCKSM_PKT_TMPVC_INFO> internal ABORT - process 0> 
INTERNAL ERROR: Invalid error class (66) encountered while returning 
from> MPI_Init.  Please file a bug report.> Fatal error in MPI_Init: Unknown 
error.  Please file a bug report., error stack:> (unknown)(): connection 
failure> [cli_0]: aborting job:> Fatal error in MPI_Init: Unknown error. 
 Please file a bug report., error stack:> (unknown)(): connection failure> 
**********************************************************> 
_______________________________________________> discuss mailing list     
discuss at mpich.org[2]
https://lists.mpich.org/mailman/listinfo/discuss[3]
apenya at mcs.anl.gov[7]>To: discuss at mpich.org[2]
discuss-request at mpich.org[1][1]> wrote:


Send discuss mailing list submissions to        discuss at mpich.org[2][2]

https://lists.mpich.org/mailman/listinfo/discuss[3][8]
discuss-request at mpich.org[1][1]

discuss-owner at mpich.org[4][4]

sniu at hawk.iit.edu[9][5]>To: discuss at mpich.org[2]
[2]CAFNNHkwpqdGfZXctL0Uz3hpeL25mZZMtB93qGXjc_+tjnV4csA at mail.gma
il.com[6]>Content-Type: text/plain; charset="iso-8859-1"

Hi,

Sorry to bother you guys on this stupid question. last time I re-install 
OSforall blades to keep them the same version. after I mount, set 
keylessssh,the terimnal gives the error below:

[proxy:0:1 at iocfccd3.aps.anl.gov[10]
[7]]HYDU_sock_connect(./utils/sock/sock.c:174): unable to connect 
from"iocfccd3.aps.anl.gov[11][8]" to"iocfccd1.aps.anl.gov[12][9]" (No 
route to host)[proxy:0:1 at iocfccd3.aps.anl.gov[10][7]] main 
(./pm/pmiserv/pmip.c:189):unable toconnect to server 
iocfccd1.aps.anl.gov[12][9] at port 38242 (checkfor firewalls!)

I can ssh from iocfccd1 to iocfccd3 without password. Should I shut 
downallfirewalls on each server? I cannot find out where is the problem. 
Thankyou

--Best Regards,Sufeng NiuECASP lab, ECE department, Illinois Institute 
ofTechnologyTel: 312-731-7219[10]

http://lists.mpich.org/pipermail/discuss/attachments/20130621/5503b1bc/a
ttachment-0001.html[11][13]>

------------------------------

Message: 2Date: Fri, 21 Jun 2013 10:58:26 -0500From: Antonio J. 
Pe?a<apenya at mcs.anl.gov[7][12]>To: discuss at mpich.org[2][2]

iocfccd1.aps.anl.gov[12][9]" from iocfccd3?[1]

Antonio


On Friday, June 21, 2013 10:51:50 AM Sufeng Niu wrote:


Hi,


Sorry to bother you guys on this stupid question. last time I re-install 
OSforall blades to keep them the same version. after I mount, set 
keylessssh,the terimnal gives the error below:



proxy:0:1 at iocfccd3.aps.anl.gov[10][7]
[2]]HYDU_sock_connect(./utils/sock/sock.c:174): unable to connect 
from"iocfccd3.aps.anl.gov[11][8][3]"to "iocfccd1.aps.anl.gov[12][9][1]" (No 
route tohost)[proxy:0:1 at iocfccd3.aps.anl.gov[10][7][2]] 
main(./pm/pmiserv/pmip.c:189):unable to connect to server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130624/5379a643/attachment.html>


More information about the discuss mailing list