<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">My program:<div><br></div><div>#include<stdio.h></div><div>#include"mpi.h"</div><div><br></div><div>int main(int argc,char **argv)</div><div>{</div><div> int total_procs,rank,namelen,i;</div><div> int n=10,m=11;</div><div> char processor_name[MPI_MAX_PROCESSOR_NAME];</div><div> char filename[256];</div><div> file *fp1,*fp2;</div><div> </div><div> MPI_Status status;</div><div> MPI_Init(&argc,&argv);</div><div> MPI_Comm_size(MPI_COMM_WORLD,&total_procs);</div><div> MPI_Comm_rank(MPI_COMM_WORLD,&rank);</div><div> MPI_Get_Processor_name(Processor name,&namelen);</div><div> </div><div> fprintf(stdout,"Process %d of %d is on %s \n",rank,total_procs,processor_name);</div><div> fflush(stdout);</div><div> </div><div> if(rank==0)</div><div> {</div><div> MPI_Send(&n,1,MPI_INT,1,0,MPI_COMM_WORLD);</div><div> fp1=fopen("n.xx","w");</div><div> fprintf(fp1,"%d",n);</div><div> }</div><div><br></div><div><br></div><div> if(rank==1)</div><div> {</div><div> MPI_Recv(&n,1,MPI_INT,0.0,MPI_COMM_WORLD,&status);</div><div> n=11;</div><div> fp2=fopen("n.yy","w");</div><div> fprintf(fp2,"%d",n);</div><div> fclose(fp2);</div><div> }</div><div> </div><div> MPI_Finalize();</div><div> return 0;</div><div>}</div><div><br></div><div><br></div><div>to execute the program i wrote : mpiexec -n 2 -hosts master,node1 ./sim</div><div><br></div><div>but it gives me error like assertion failed in file src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c at line 597 : hdr.datalen!=0</div><div><br></div><div>internal ABORT - process 1 .</div><div><br></div><div><br></div><div>how to solve this error ?? </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 9:54 PM, <span dir="ltr"><<a href="mailto:discuss-request@mpich.org" target="_blank">discuss-request@mpich.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send discuss mailing list submissions to<br>
<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:discuss-request@mpich.org">discuss-request@mpich.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:discuss-owner@mpich.org">discuss-owner@mpich.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of discuss digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: [MPICH compilation with NAG Fortran compiler]<br>
(Thakur, Rajeev)<br>
2. Re: Problems with running make (Balaji, Pavan)<br>
3. static building of mpich (Doha Ehab)<br>
4. Re: static building of mpich (Balaji, Pavan)<br>
5. Error : Assertion Failed (Riddhi Modi)<br>
6. Re: Error : Assertion Failed (Balaji, Pavan)<br>
7. Re: static building of mpich (Doha Ehab)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 6 Aug 2015 15:15:32 +0000<br>
From: "Thakur, Rajeev" <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>><br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>><br>
Subject: Re: [mpich-discuss] [MPICH compilation with NAG Fortran<br>
compiler]<br>
Message-ID: <<a href="mailto:93932738-717A-466B-96ED-F9A398DD92EE@mcs.anl.gov">93932738-717A-466B-96ED-F9A398DD92EE@mcs.anl.gov</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
We run nightly tests with the NAG compiler, and they build fine (see the 5th column from the right at <a href="http://www.mpich.org/static/cron/tests/" rel="noreferrer" target="_blank">http://www.mpich.org/static/cron/tests/</a>). Can you try configuring with just the ?prefix option to see if one of the options is the cause. Shared libraries are built by default.<br>
<br>
Rajeev<br>
<br>
<br>
> On Aug 6, 2015, at 6:25 AM, Maxim Abalenkov <<a href="mailto:maxim.abalenkov@gmail.com">maxim.abalenkov@gmail.com</a>> wrote:<br>
><br>
> Dear Madam or Sir,<br>
><br>
> I?m facing a problem trying to compile MPICH with NAG Fortran compiler. The compilation breaks with an unrecognised option ??dynamic lib? error. Please see the make log file called ?m.txt?.<br>
><br>
> To configure MPICH version 3.2b4 I?m using the attached configure script. Please see the script for the MPICH configuration options. Configuration and compilation log files called ?c.txt? and ?m.txt? are also attached.<br>
><br>
> I would greatly appreciate your help in compiling MPICH with NAG Fortran. Thank you. Have a good day.<br>
><br>
> Product name and version: NAG Fortran Compiler Release 6.0 (Hibiya) Build 1021<br>
> OS: Mac OS X Yosemite 10.10.4 (64-bit)<br>
><br>
> ?<br>
> Best wishes,<br>
> Maxim Abalenkov<br>
><br>
><br>
><br>
> _______________________________________________<br>
> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
> <mpich-configure-nag.sh><c.txt><m.txt><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 6 Aug 2015 15:48:45 +0000<br>
From: "Balaji, Pavan" <<a href="mailto:balaji@anl.gov">balaji@anl.gov</a>><br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>><br>
Subject: Re: [mpich-discuss] Problems with running make<br>
Message-ID: <<a href="mailto:D355EC24-A2D3-4BDA-85A0-01F76B89D250@anl.gov">D355EC24-A2D3-4BDA-85A0-01F76B89D250@anl.gov</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
Sorry, windows is not supported.<br>
<br>
-- Pavan<br>
<br>
From: hirak chatterjee<br>
Reply-To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Date: Thursday, August 6, 2015 at 10:04 AM<br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Subject: [mpich-discuss] Problems with running make<br>
<br>
<br>
Sir,<br>
I am working with windows 8 (64 bit). After configuring successfully,following the export step<br>
<br>
./configure --prefix=/home/hirak/mpich-install<br>
<br>
--enable-timer-type=gettimeofday CC="gcc-4" CPP="cpp-4" CXX="g++-4"<br>
<br>
CXXCPP="cpp-4" 2>&1 | tee c.txt<br>
<br>
I am getting the error repeatedly<br>
<br>
function 'MPIX_Grequest_class_allocate' part of alias cycle.<br>
The text file is attached herewith.<br>
Plz help.<br>
Hirak<br>
<br>
--<br>
Hirak Chatterjee<<a href="https://www.facebook.com/hirakc1" rel="noreferrer" target="_blank">https://www.facebook.com/hirakc1</a>><br>
Research Scholar<br>
Department of Chemistry<br>
Assam University, Silchar<br>
Assam-788011<br>
INDIA<br>
Phone No: +918486882543 (ASSAM)<br>
+919475265107 (WEST BENGAL)<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150806/d2cc5a59/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150806/d2cc5a59/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 10 Aug 2015 03:24:43 +0300<br>
From: Doha Ehab <<a href="mailto:dohaehab@gmail.com">dohaehab@gmail.com</a>><br>
To: <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
Subject: [mpich-discuss] static building of mpich<br>
Message-ID:<br>
<<a href="mailto:CAEjFr-bJN0OtKha%2BN%2Bqz83oMSbMfXMOihX2iEFqPWXHg3WLzFg@mail.gmail.com">CAEjFr-bJN0OtKha+N+qz83oMSbMfXMOihX2iEFqPWXHg3WLzFg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
i'm trying to cross compile mpich , I have extracted mpich-3.1.3 the I<br>
created a folder name build inside it . In order to statically build mpich<br>
I used the following commands:<br>
<br>
export CC="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc"<br>
export AR="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-ar"<br>
export CFLAGS="-march=armv5te -static<br>
-I/home/doha/buildroot-2015.02/output/host/usr/include/"<br>
export LDFLAGS="-L/home/doha/buildroot-2015.02/output/host/usr/lib/"<br>
<br>
<br>
cc=/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc<br>
./configure --prefix=/home/doha/mpich-3.1.3/build/ --host=arm-linux<br>
--disable-shared --with-pm=hydra --with-device=ch3:nemesis<br>
--disable-fortran<br>
<br>
<br>
but nothing appears in the build folder while it shows no errors on the<br>
terminal<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150810/f7e08533/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150810/f7e08533/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 10 Aug 2015 03:13:26 +0000<br>
From: "Balaji, Pavan" <<a href="mailto:balaji@anl.gov">balaji@anl.gov</a>><br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>><br>
Subject: Re: [mpich-discuss] static building of mpich<br>
Message-ID: <<a href="mailto:61167DA3-6B70-41FD-987C-B0E4823B51FB@anl.gov">61167DA3-6B70-41FD-987C-B0E4823B51FB@anl.gov</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
Did you do make and make install?<br>
<br>
-- Pavan<br>
<br>
From: Doha Ehab<br>
Reply-To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Date: Sunday, August 9, 2015 at 7:24 PM<br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Subject: [mpich-discuss] static building of mpich<br>
<br>
Hello,<br>
i'm trying to cross compile mpich , I have extracted mpich-3.1.3 the I created a folder name build inside it . In order to statically build mpich I used the following commands:<br>
<br>
export CC="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc"<br>
export AR="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-ar"<br>
export CFLAGS="-march=armv5te -static -I/home/doha/buildroot-2015.02/output/host/usr/include/"<br>
export LDFLAGS="-L/home/doha/buildroot-2015.02/output/host/usr/lib/"<br>
<br>
<br>
cc=/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc ./configure --prefix=/home/doha/mpich-3.1.3/build/ --host=arm-linux --disable-shared --with-pm=hydra --with-device=ch3:nemesis --disable-fortran<br>
<br>
<br>
but nothing appears in the build folder while it shows no errors on the terminal<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150810/e0ba151e/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150810/e0ba151e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 11 Aug 2015 12:19:29 +0530<br>
From: Riddhi Modi <<a href="mailto:riddhimodi07@gmail.com">riddhimodi07@gmail.com</a>><br>
To: <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
Subject: [mpich-discuss] Error : Assertion Failed<br>
Message-ID:<br>
<CAGMiM1FtDLfc1Fgb=k7j+A9LJV7UvrFA7i=<a href="mailto:Hk-44XCHdzGjU1A@mail.gmail.com">Hk-44XCHdzGjU1A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I have one major problem.I established mpich-3.1.4 cluster on 2 machines<br>
and run cpi.c program with 2 process which run on 2 different machines.But<br>
there is an error like<br>
<br>
Assertion Failed in file src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c<br>
at line 597: hdr.datalen!=0<br>
<br>
Internal ABORT -process 1<br>
<br>
how can i solve this kind of error.??/ any idea??<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150811/ac9dfca5/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150811/ac9dfca5/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Tue, 11 Aug 2015 07:10:50 +0000<br>
From: "Balaji, Pavan" <<a href="mailto:balaji@anl.gov">balaji@anl.gov</a>><br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>" <<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>><br>
Subject: Re: [mpich-discuss] Error : Assertion Failed<br>
Message-ID: <<a href="mailto:869418A0-9F44-4423-84BD-ACEDE39264E2@anl.gov">869418A0-9F44-4423-84BD-ACEDE39264E2@anl.gov</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
I don't think we have seen this error before. Can you send us a small program that reproduces this error?<br>
<br>
-- Pavan<br>
<br>
From: Riddhi Modi<br>
Reply-To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Date: Tuesday, August 11, 2015 at 1:49 AM<br>
To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>>"<br>
Subject: [mpich-discuss] Error : Assertion Failed<br>
<br>
I have one major problem.I established mpich-3.1.4 cluster on 2 machines and run cpi.c program with 2 process which run on 2 different machines.But there is an error like<br>
<br>
Assertion Failed in file src/mpid/ch3/channels/nemesis/netmod/tcp/socksm.c at line 597: hdr.datalen!=0<br>
<br>
Internal ABORT -process 1<br>
<br>
how can i solve this kind of error.??/ any idea??<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150811/1897d486/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150811/1897d486/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 11 Aug 2015 19:24:18 +0300<br>
From: Doha Ehab <<a href="mailto:dohaehab@gmail.com">dohaehab@gmail.com</a>><br>
To: <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
Subject: Re: [mpich-discuss] static building of mpich<br>
Message-ID:<br>
<<a href="mailto:CAEjFr-aoTMG_igVbRVthsh4YGgLniMF8OdJMj0wfcZRmE8RHMw@mail.gmail.com">CAEjFr-aoTMG_igVbRVthsh4YGgLniMF8OdJMj0wfcZRmE8RHMw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
No , but after I did make and make install I checked whether it was<br>
statically built using the following command :<br>
<br>
file bin/mpiexec<br>
mpiexec: symbolic link to `mpiexec.hydra'<br>
<br>
Then I typed<br>
<br>
file bin/mpiexec.hydrampiexec.hydra: ELF 32-bit LSB executable, Intel<br>
80386, version 1 (SYSV), dynamically linked (uses shared libs), for<br>
GNU/Linux 2.6.24, BuildID[sha1]=0xb4510fb70ac8047d9028dbafe2d43848140fe894,<br>
not stripped<br>
<br>
I don't understand why it is dynamically linked and not statically linked<br>
<br>
<br>
On Mon, Aug 10, 2015 at 6:13 AM, Balaji, Pavan <<a href="mailto:balaji@anl.gov">balaji@anl.gov</a>> wrote:<br>
<br>
><br>
> Did you do make and make install?<br>
><br>
> -- Pavan<br>
><br>
> From: Doha Ehab<br>
> Reply-To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br>
> Date: Sunday, August 9, 2015 at 7:24 PM<br>
> To: "<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br>
> Subject: [mpich-discuss] static building of mpich<br>
><br>
> Hello,<br>
> i'm trying to cross compile mpich , I have extracted mpich-3.1.3 the I<br>
> created a folder name build inside it . In order to statically build mpich<br>
> I used the following commands:<br>
><br>
> export CC="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc"<br>
> export AR="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-ar"<br>
> export CFLAGS="-march=armv5te -static<br>
> -I/home/doha/buildroot-2015.02/output/host/usr/include/"<br>
> export LDFLAGS="-L/home/doha/buildroot-2015.02/output/host/usr/lib/"<br>
><br>
><br>
> cc=/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc<br>
> ./configure --prefix=/home/doha/mpich-3.1.3/build/ --host=arm-linux<br>
> --disable-shared --with-pm=hydra --with-device=ch3:nemesis<br>
> --disable-fortran<br>
><br>
><br>
> but nothing appears in the build folder while it shows no errors on the<br>
> terminal<br>
><br>
> _______________________________________________<br>
> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mpich.org/pipermail/discuss/attachments/20150811/fd768ffb/attachment.html" rel="noreferrer" target="_blank">http://lists.mpich.org/pipermail/discuss/attachments/20150811/fd768ffb/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
End of discuss Digest, Vol 34, Issue 4<br>
**************************************<br>
</blockquote></div><br></div>