octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mpi 1.1.1 released


From: c.
Subject: Re: mpi 1.1.1 released
Date: Tue, 7 Jan 2014 22:00:48 +0100

On 7 Jan 2014, at 20:00, Doug Stewart <address@hidden> wrote:

> I have an older texinfo but I am not sure how to get mpi 1.2.0

you should be able to get it from this link:

 http://sourceforge.net/p/octave/package-releases/73/attachment/mpi-1.2.0.tar.gz

if you have mpicxx installed in a nonstandard location (or with a nonstandard 
name 
as in my case) you must set the environment variable MPICC to point to it 
before 
installing, e.g.:

 setenv MPICC=openmpicxx

then you can install as usual:

 pkg install mpi-1.2.0.tar.gz

in order for the demos to work you have to set two more environment variables
HOSTFILE should be the name of the hostfile, i.e. a file containing the list of
your MPI nodes and NUMBER_OF_MPI_NODES should be the number of nodes.

For example, if you save the attachment in your home you should then do

 setenv ("HOSTFILE", fullfile (getenv ("HOME"), "hostfile") 
 setenv NUMBER_OF_MPI_NODES 2

then the html help files are created via

 pkg install -forge generate_html
 pkg load generate_html
 generate_package_html ("mpi", "mpi-html", "octave-forge")
 system ("tar cvzf mpi-1.2.0-html.tar.gz mpi-html && md5 mpi-1.2.0-html.tar.gz")

Thanks for your help!
c.


Attachment: hostfile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]