[mpich-discuss] A good starting point for programming and understanding MPI, and parallel programming in general.

Brock Palen brockp at umich.edu
Wed Dec 11 10:34:34 CST 2013


You should have no problem moving between them. 

Both follow the MPI API, you will have to recompile your code, but I every day take code developed on MPICH or MPICH Clones (Intel MPI) and compile with OpenMPI on my local cluster with no issues. 

Brock Palen
www.umich.edu/~brockp
CAEN Advanced Computing
XSEDE Campus Champion
brockp at umich.edu
(734)936-1985



On Dec 11, 2013, at 11:27 AM, mark <dimitsas.markos at gmail.com> wrote:

> Thanks for the pointers, they are always welcomed. Speaking about MPI and MPICH, if i try openmpi, will it be difficult to transcribe my projects and learning to mpich? Are they different or completely the same? In my opinion is like using a different IDE for the same language, so the same, but i am asked to follow the mpich as for my mpi and parallel programming studies.
> 
> Στις 11/12/2013 05:52 μμ, ο/η Brock Palen έγραψε:
>> I'm a big fan of CI tutor for getting started:
>> 
>> 
>> http://www.citutor.org/
>> 
>> 
>> Brock Palen
>> 
>> www.umich.edu/~brockp
>> sing Your Own Computer to Run CI-Tutor MPI Exercises
>> 
>> In order to use CI-Tutor courses and exercises involving MPI, you don't have to have access to XSEDE resources: you can run MPI on your own machine. Simply install your favorite implementation of MPI, if one is not already pre-installed.
>> 
>> To find out whether MPI is already installed, run a query. For instance, on distributions that support rpm packaging:
>> 
>> [arnoldg at lgheron ~]$ rpm -q openmpi
>> openmpi-1.3.1-1.fc11.x86_64
>> OpenMPI (http:\\www.open-mpi.org) is a popular MPI implementation easily available for most Linux distributions. You must have root privileges in order to install OpenMPI on your system. The website includes tarballs and source code that you can download and use to build OpenMPI manually, or (if you are a relatively new Linux user) you can use the software management package that is included with your distribution. Below, we include example instructions for downloading and installing OpenMPI using the software management packages for two commonly-used Linux distributions, Fedora and Ubuntu.
>> 
>> For example, to download and install OpenMPI on a machine running Fedora (or another RedHat-based distribution), you should be able simply to run the yum package manager:
>> 
>> # yum install openmpi openmpi-devel openmpi-libs
>> On an Ubuntu or other Debian-based distribution, you use the Synaptic or Aptitude package manager, either with the graphical user interface provided, or with the command line, e.g.:
>> 
>> # apt-get install openmpi openmpi-dev openmpi-devel
>> CAEN Advanced Computing
>> XSEDE Campus Champion
>> 
>> brockp at umich.edu
>> 
>> (734)936-1985
>> 
>> 
>> 
>> On Dec 11, 2013, at 10:50 AM, Junchao Zhang 
>> <jczhang at mcs.anl.gov>
>>  wrote:
>> 
>> 
>>> Hello, Mark,
>>>   Yes, you can install the latest mpich (
>>> http://www.mpich.org/downloads/
>>> ) and run it on your laptop.
>>>   Do a google search, there are many MPI tutorials. I used this one when I started to learn MPI,  
>>> https://computing.llnl.gov/tutorials/mpi/
>>> 
>>> 
>>> --Junchao Zhang
>>> 
>>> 
>>> On Wed, Dec 11, 2013 at 8:54 AM, mark 
>>> <dimitsas.markos at gmail.com>
>>>  wrote:
>>> Hello from Greece!
>>> Being new in this field, what would be a good starting point to master MPI and parallel programming in general? First of i don't have a cluster, so all the computations are going to happen to a modern day linux laptop.
>>> However if i get familiar with MPI, i will have the chance to work with a cluster remotely on some text retrieval algorithms (yea right :P) for my bachelor thesis.
>>> So, looking for starting points and speed learning about MPI (and parallel programming) in general.
>>> Any tips and advices are welcome.Thank you :)
>>> 
>>> _______________________________________________
>>> discuss mailing list     
>>> discuss at mpich.org
>>> 
>>> To manage subscription options or unsubscribe:
>>> 
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>> 
>>> 
>>> _______________________________________________
>>> discuss mailing list     
>>> discuss at mpich.org
>>> 
>>> To manage subscription options or unsubscribe:
>>> 
>>> https://lists.mpich.org/mailman/listinfo/discuss
>> 
>> 
>> _______________________________________________
>> discuss mailing list     
>> discuss at mpich.org
>> 
>> To manage subscription options or unsubscribe:
>> 
>> https://lists.mpich.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131211/d52ccf8a/attachment.sig>


More information about the discuss mailing list