[Rcppoctave-user] unable to install RcppOctave (Octave 3.8 Linux)

kam kammon kammon101 at hotmail.ca
Mon Mar 3 22:56:58 CET 2014


Hi,

Still doesn't work but with a different error which doesn't seem to involve mpi this time. It says it is an octave error but I have no idea what it may be.

Date: Mon, 3 Mar 2014 13:03:25 +0200
Subject: Re: [Rcppoctave-user] unable to install RcppOctave (Octave 3.8 Linux)
From: renaud at mancala.cbio.uct.ac.za
To: kammon101 at hotmail.ca
CC: rcppoctave-user at lists.r-forge.r-project.org

Hi,

can you please try again (from branch 'develop'). I have pushed a fix that should solve the issue.
The MPI flags were stored in CPPFLAGS, which I now append to INCFLAGS


mkoctfile -p INCFLAGS
mkoctfile -p CPPFLAGS

Please flag this thread as SOLVED if this fixes the issue.
Thanks.

Bests,
Renaud



On 3 March 2014 10:30, Renaud Gaujoux <renaud at mancala.cbio.uct.ac.za> wrote:

One more thought: have you tried installing after doing

export  CPPFLAGS="-I/usr/include/mpi -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX"

?





On 3 March 2014 10:16, Renaud Gaujoux <renaud at mancala.cbio.uct.ac.za> wrote:


Actually, the flags are most likely to be found in mkoctfile config.
Currently I use the flags returned by:

mkoctfile -p INCFLAGS

Might be easier if you could look if those effectively appear in this variable or any other (do mkoctfile --help to list all variables). They have to come from somewhere...



Thanks.

Renaud




On 3 March 2014 10:05, Renaud Gaujoux <renaud at mancala.cbio.uct.ac.za> wrote:

Good.
The MPI issue seems to be due to some compilation flags not being carried over when compiling RcppOctave library. 



The MPI specific flags "-I/usr/include/mpi -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX" are correctly used when compiling the Octave modules, so these flags should be available from octave-config.

Will look into it later.
Thanks.

Bests,
Renaud









 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcppoctave-user/attachments/20140303/603dbdf8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcppoctave
Type: application/octet-stream
Size: 1061 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcppoctave-user/attachments/20140303/603dbdf8/attachment.obj>


More information about the Rcppoctave-user mailing list