On 05/04/2016 14:57, Jerome Redoute wrote:
Hello,
I try to install the MPI package from octave forge but I get the
following error:
pkg install -forge -global mpi
/bin/sh: 1: mpic++: not found
/bin/sh: 1: mpic++: not found
MPI_Init.cc:26:40: fatal error: mpi.h: Aucun fichier ou dossier de ce
type
#include "mpi.h" // mpi.h, oct.h
^
the message is very clear.
You need the mpi c++ compiler wrapper and the development header
to build from source.
compilation terminated.
make: *** [MPI_Init.oct] Error 1
make: Entering directory '/tmp/oct-i7eDV9/mpi/src'
/usr/bin/mkoctfile MPI_Init.cc
Makefile:24: recipe for target 'MPI_Init.oct' failed
make: Leaving directory '/tmp/oct-i7eDV9/mpi/src'
pkg: error running `make' for the mpi package.
error: called from 'configure_make' in file
/usr/share/octave/4.0.0/m/pkg/private/configure_make.m near line 96,
column 9
Any ideas to help me?
Thnks
J.R
May be if you let us know which system you are using,
someone can suggest you a pre-built package.
Regards
Marco