[mpich-discuss] mpich-discuss Digest, Vol 40, Issue 46 How should I run a source code in C with MPICH2

Jeff Hammond jhammond at alcf.anl.gov
Tue Jan 31 23:30:09 CST 2012


Check out http://irl.eecs.umich.edu/jamin/pointers/gprof_quick.html.

Google "MPI profiling" for additional information if gprof is not
sufficient.  I like TAU (tau.uoregon.edu) but it may be more
feature-rich than you want.

Jeff

On Tue, Jan 31, 2012 at 11:07 PM, Pradheep Kumar <pradconf at gmail.com> wrote:
> Hi All,
> I have installed MPICH2 on Fedora 13. I need to profile a C program on
> MPICH2. Kindly let me know how to do the same.
>
> Pradheep
>
> On Tue, Jan 31, 2012 at 11:51 PM, <mpich-discuss-request at mcs.anl.gov> wrote:
>>
>> Send mpich-discuss mailing list submissions to
>>        mpich-discuss at mcs.anl.gov
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> or, via email, send a message with subject or body 'help' to
>>        mpich-discuss-request at mcs.anl.gov
>>
>> You can reach the person managing the list at
>>        mpich-discuss-owner at mcs.anl.gov
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of mpich-discuss digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re:  References for FORTRAN (Gustavo Correa)
>>   2.  MPICH2 installation failure (Dute?s)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 31 Jan 2012 13:19:24 -0500
>> From: Gustavo Correa <gus at ldeo.columbia.edu>
>> Subject: Re: [mpich-discuss] References for FORTRAN
>> To: Mpich-Discuss <mpich-discuss at mcs.anl.gov>
>> Message-ID: <FA60ADE2-C0A0-46E4-9A70-779272BE3A76 at ldeo.columbia.edu>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Hi
>>
>> Here are some references in MPI+Fortran.
>>
>> 1) The LLNL MPI tutorial has some [light weight] MPI examples in Fortran:
>> https://computing.llnl.gov/tutorials/mpi/
>>
>> 2) NCCS tutorials & references:
>>
>> http://www.nccs.gov/user-support/training-education/hpcparallel-computing-links/
>>
>> http://www.nccs.gov/user-support/training-education/hpcparallel-computing-links/mpi-examples
>> An early version in Fortran of Peter Pacheco's book:
>> ladon.iqfr.csic.es/docs/MPI_ug_in_FORTRAN.pdf
>>
>> 3) Matrix multiplication:
>>
>> http://www.mcs.anl.gov/research/projects/mpi/usingmpi/examples/simplempi/main.htm
>>
>> http://www.mcs.anl.gov/research/projects/mpi/usingmpi/examples/simplempi/f90/matmat_f90.htm
>>
>> 4) 2D Diffusion PDE solved by the Jacobi method [illustrates the use of
>> cartesian
>> domain decomposition and PDE solver in MPI+Fortran]:
>>  http://beige.ucs.indiana.edu/I590/node71.html
>>
>> If you want really to go for large codes [my bias is
>> ocean/atmosphereclimate]
>> there are several which are publically available, mostly written in
>> Fortran, with a few bits in C:
>>
>> 5) weather forecast:
>> http://www.wrf-model.org/index.php
>>
>> 6) coupled climate model:
>> http://www.cesm.ucar.edu/
>>
>> 7) ocean general circulation and regional models:
>> http://mitgcm.org/
>> http://www.gfdl.noaa.gov/fms
>> http://www.gfdl.noaa.gov/fms
>>
>> 8) molecular dynamics:
>> http://www.vasp.at/
>> http://ambermd.org/
>>
>> 9) NAS parallel benchmarks:
>> http://www.nas.nasa.gov/publications/npb.html
>>
>>
>> I hope this helps.
>> Gus Correa
>>
>>
>>
>>
>> On Jan 31, 2012, at 10:16 AM, Anthony Chan wrote:
>>
>> >
>> > Try doing a google search of "MPI Fortran tutorial"....
>> > MPI is a communication library, so you can do numerical
>> > intensive calculation between communications.
>> >
>> > A.Chan
>> >
>> > ----- Original Message -----
>> >> Dear all,
>> >>
>> >> Can someone give me good references to exploit MPICH using Fortran
>> >> programs ? A tutorial or an example of a calculation-intensive program
>> >> would be appreciated.
>> >>
>> >> Thanks,
>> >> Jose
>> >>
>> >> _______________________________________________
>> >> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
>> >> To manage subscription options or unsubscribe:
>> >> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > _______________________________________________
>> > mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> > To manage subscription options or unsubscribe:
>> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 31 Jan 2012 18:05:54 +0000
>> From: Dute?s, Paul <p.m.duteis at cranfield.ac.uk>
>> Subject: [mpich-discuss] MPICH2 installation failure
>> To: "mpich-discuss at mcs.anl.gov" <mpich-discuss at mcs.anl.gov>
>> Message-ID:
>>
>>  <82495BE8A8646A49968777B0BE261ACB17E24C85 at CCEXCHMBX-2.central.cranfield.ac.uk>
>>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Good evening,
>>
>> For some reasons I can't get MPICH2 to install correctly on my Opensuse
>> 12.1 system.
>> Everything goes smoothly until I try the first following test
>>  mpiexec -n 2 ./examples/cpi
>> where it says
>> ssh: Could not resolve hostname linux-hpws.site: Name or service not known
>> and just crashes.
>>
>> Could you help me with whatever is wrong? I've joined the log files.
>>
>> Best Regards,
>> Paul Dute?s
>>
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: logfiles.tar.gz
>> Type: application/x-gzip
>> Size: 69560 bytes
>> Desc: logfiles.tar.gz
>> URL:
>> <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120131/7c472f27/attachment.bin>
>>
>> ------------------------------
>>
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>> End of mpich-discuss Digest, Vol 40, Issue 46
>> *********************************************
>
>
>
>
> --
> --
> Regards,
>
> K.Pradheep Kumar
> mobile:  +919003079697
> email:    pradconf at gmail.com
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/old/index.php/User:Jhammond


More information about the mpich-discuss mailing list