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: Doug Stewart
Subject: Re: mpi 1.1.1 released
Date: Tue, 7 Jan 2014 17:02:37 -0500




On Tue, Jan 7, 2014 at 4:00 PM, c. <address@hidden> wrote:

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.



I'm getting closer!
---------------+---------+-----------------------
generate_html *|   0.1.5 | .../octave/packages/generate_html-0.1.5
          mpi *|   1.2.0 | .../share/octave/packages/mpi-1.2.0
>>  generate_package_html ("mpi", "mpi-html", "octave-forge")
sh: 1: mpirun: not found
sh: 1: mpirun: not found
sh: 1: mpirun: not found
sh: 1: mpirun: not found
sh: 1: mpirun: not found
sh: 1: mpirun: not found
>>

What should I do now?
--
DAS


reply via email to

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