Newsgroups: comp.parallel.mpi From: schak@iastate.edu (S.C.) Subject: Run time error on th Cray T3E Organization: Iowa State University, Ames, Iowa USA Date: 4 Mar 1998 18:11:21 GMT Message-ID: <6dk5g9$tuv$1@news.iastate.edu> Hi, I am a beginner in using MPI, and am running into some problems with the mpi_send function. I'd be grateful for some help from anybody who happens to see it. I showed this program to my professor and he's unable to fix the problem In a parallel code written with fortran 90, I am getting the following run-time error from the mpi_send function. The function call is given below call mpi_send(temp, nb*(n+1), mpi_real, i, mpi_any_tag, mpi_comm_world, ierr) It compiles fine, and I have checked that the arguments are in their proper positions. It gives an error message saying "tag argument is bad". Below is the run time error message generated by the Cray T3E. Could someone please decipher this for me and tell me where I'm making a mistake? I have been struggling with this for about a week now. -MPI- ERROR FATAL: world rank 0, comm 0 In call MPI_Send, [-496, class MPI_ERR_TAG], [Invalid tag argument] bad tag argument SIGNAL: Abort ( from process 37354 ) Beginning of Traceback (PE 0): Interrupt at address 0x80003c250 in routine '_lwp_kill'. Called from line 30 (address 0x80003b970) in routine 'raise'. Called from line 127 (address 0x80000c7e0) in routine 'abort'. Called from line 148 (address 0x800171de0) in routine '_T3DMPI_print_error'. Called from line 193 (address 0x8001721e8) in routine '_T3DMPI_report_error'. Called from line 278 (address 0x80011d95c) in routine 'MPI_SEND'. Called from line 57 (address 0x800002a88) in routine 'MAIN'. Called from line 458 (address 0x800000bb4) in routine '$START$'. End of Traceback. Thanks in advance S. Chakraborty (schak@iastate.edu) Iowa State University -- Subhankar Chakraborty schak@iastate.edu