Re: [mpich-discuss] discuss Digest, Vol 8, Issue 39
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, <[email protected][1]> wrote: Send discuss mailing list submissions to [email protected][2] https://lists.mpich.org/mailman/listinfo/discuss[3] [email protected][1] [email protected][4] [email protected][5]>To: "[email protected][2]" <[email protected]_>Subject: Re: [mpich-discuss] Error with MPI_SpawnMessage-ID: <-1578386667793986954@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 <[email protected][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 [email protected][2] https://lists.mpich.org/mailman/listinfo/discuss[3] [email protected][7]>To: [email protected][2] [email protected][1][1]> wrote:
Send discuss mailing list submissions to [email protected][2][2] https://lists.mpich.org/mailman/listinfo/discuss[3][8] [email protected][1][1] [email protected][4][4] [email protected][9][5]>To: [email protected][2] [2][email protected] 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:[email protected][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:[email protected][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<[email protected][7][12]>To: [email protected][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:[email protected][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:[email protected][10][7][2]] main(./pm/pmiserv/pmip.c:189):unable to connect to server
participants (1)
-
Antonio J. Peña