<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi<br>I have just installed mpich2 using apt-get. But how I can run example programs to test my beywolf cluster? I did not point directory for the installation.Is there any example programs that comes with installation?<br><br>> From: buntinas@mcs.anl.gov<br>> Date: Mon, 22 Nov 2010 11:44:05 -0600<br>> To: mpich-discuss@mcs.anl.gov<br>> Subject: Re: [mpich-discuss] Urgent help needed for Mpich1.2.7p1 installation<br>> <br>> <br>> You should be able to install the mpich packages using apt-get:<br>> <br>> sudo apt-get install mpich2<br>> <br>> -d<br>> <br>> On Nov 21, 2010, at 8:59 PM, Shaandar Nyamtulga wrote:<br>> <br>> > Hi<br>> > I am trying to create Beywolf cluster for 2 computers.(One is desktop, one is laptop, Both has Ubuntu OS)<br>> > I am following one guy's instructions in the following link.The guy stated that he could not do it for mpich2, that is why I am sticking with mpich1.<br>> > <br>> > http://www.ceglug.org/index.php/cluster/3-createcluster?start=1<br>> > <br>> > But I receive the following error from make.Actually it is end of the message.<br>> > <br>> > <br>> > <br>> > ** Testing if C application can use both automatic and manual logging together<br>> > /home/mpiuser/mpich-1.2.7p1/bin/mpicc -DMPI_LINUX -DUSE_STDARG -DHAVE_PROTOTYPES -I/home/mpiuser/mpich-1.2.7p1/include -c cpilog.c<br>> > /home/mpiuser/mpich-1.2.7p1/bin/mpicc -DMPI_LINUX -DUSE_STDARG -DHAVE_PROTOTYPES -o cpilog cpilog.o -L/home/mpiuser/mpich-1.2.7p1/lib -llmpe -lmpe -lm <br>> > ** C application can use both automatic and manual logging together<br>> > <br>> > ./sbin/mpeinstall: 493: ./sbin/install-package: not found<br>> > Installed MPE in /home/mpiuser/mpich-1.2.7p1<br>> > /home/mpiuser/mpich-1.2.7p1/sbin/mpeuninstall may be used to remove the installation<br>> > Finished making MPE Profiling Libraries<br>> > <br>> > make --no-print-directory mpi-utils<br>> > gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR -c /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c -I./ -o serv_p4.o<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:204: error: conflicting types for ‘getline’<br>> > /usr/include/stdio.h:671: note: previous declaration of ‘getline’ was here<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c: In function ‘sendline’:<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1295: warning: format not a string literal and no format arguments<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c: At top level:<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1306: error: conflicting types for ‘getline’<br>> > /usr/include/stdio.h:671: note: previous declaration of ‘getline’ was here<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c: In function ‘getline’:<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1309: error: argument ‘str’ doesn’t match prototype<br>> > /usr/include/stdio.h:671: error: prototype declaration<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1309: error: argument ‘len’ doesn’t match prototype<br>> > /usr/include/stdio.h:671: error: prototype declaration<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1309: error: number of arguments doesn’t match prototype<br>> > /usr/include/stdio.h:671: error: prototype declaration<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c: In function ‘failure’:<br>> > /home/mpiuser/mpich-1.2.7p1/mpid/server/serv_p4.c:1348: warning: format not a string literal and no format arguments<br>> > make[2]: *** [serv_p4.o] Error 1<br>> > bin/mpicc -o /home/mpiuser/mpich-1.2.7p1/bin/mpichversion /home/mpiuser/mpich-1.2.7p1/util/mpichversion.c<br>> > /home/mpiuser/mpich-1.2.7p1/util/mpichversion.c: In function ‘main’:<br>> > /home/mpiuser/mpich-1.2.7p1/util/mpichversion.c:67: warning: incompatible implicit declaration of built-in function ‘exit’<br>> > rm -f /home/mpiuser/mpich-1.2.7p1/bin/mpireconfig.dat<br>> > rm -f /home/mpiuser/mpich-1.2.7p1/bin/mpireconfig.dat<br>> > creating util/mympiinstall<br>> > ---><br>> > Completed build of MPI. Check the output for errors Also try executing 'make<br>> > testing' in examples/test (This relies on mpirun, which currently works for<br>> > many but not all systems. For workstation networks, mpirun requires that you<br>> > first setup a "machines" file listing the machines available; this is covered<br>> > in the installation manual.)<br>> > <br>> > Send bugs and comments to mpi-bugs@mcs.anl.gov<br>> > Bugs and comments in the C++ support should be sent to mpi2cpp-devel@osl.iu.edu<br>> > Bugs and comments in the MPI-IO support should be sent to <br>> > romio-maint@mcs.anl.gov<br>> > <br>> > With any bug report, please send<br>> > The version of MPICH (e.g., 1.2.7)<br>> > <br>> > The output of running your program with the -mpiversion argument<br>> > (e.g., mpirun -np 1 a.out -mpiversion)<br>> > <br>> > The output of <br>> > uname -a<br>> > for your system. If you are on an SGI system, also<br>> > hinv<br>> > <br>> > If the problem is with a script like configure or mpirun, run the script with<br>> > the -echo argument (e.g., mpirun -echo -np 4 a.out )<br>> > <br>> > If you are using a network of workstations, also send the output of<br>> > bin/tstmachines. <br>> > <br>> > <br>> > Please help me.<br>> > _______________________________________________<br>> > mpich-discuss mailing list<br>> > mpich-discuss@mcs.anl.gov<br>> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br>> <br>> _______________________________________________<br>> mpich-discuss mailing list<br>> mpich-discuss@mcs.anl.gov<br>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br>                                            </body>
</html>