[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling Octave: HDF5 and openmpi
From: |
John Hayes |
Subject: |
Re: Compiling Octave: HDF5 and openmpi |
Date: |
Sat, 4 Jan 2014 13:51:01 +0100 |
Hi Niels,
I think you probably want to play with the ‘configure’ options (check
‘./configure --help’). In particular, I think you may want to pass the absolute
path to mpi.h as the argument to --includedir and re-‘make’. Once the compiler
starts linking though, you’ll probably also have to pass it the directory for
the mpi libraries themselves, which will be specified with --libdir.
HTH, best regards,
John
Le 4 janv. 2014 à 10:10, Niels a écrit :
> Hello,
>
> I wanted to compile Octave 3.6.4 on Ubuntu 12.04 LTS with HDF5-support.
>
> The first thing I do is to type:
> ./configure
> in the directory I unpacked the sources in.
>
> I receive the following errors in the config.log:
>
> configure:35512: checking hdf5.h usability
> configure:35512: gcc -c -g -O2 -pthread conftest.c >&5
> In file included from /usr/include/hdf5.h:24:0,
> from conftest.c:590:
> /usr/include/H5public.h:57:20: fatal error: mpi.h: No such file or directory
>
> But the header-file mpi.h is available as the followin log shows:
>
> address@hidden:/usr/local/src/octave/octave-3.6.4$ ll
> /usr/include/mpi
> lrwxrwxrwx 1 root root 21 Jun 30 2013 /usr/include/mpi ->
> /etc/alternatives/mpi/
> address@hidden:/usr/local/src/octave/octave-3.6.4$
> /etc/alternatives/mpi
> bash: /etc/alternatives/mpi: Is a directory
> address@hidden:/usr/local/src/octave/octave-3.6.4$ ls
> /etc/alternatives/mpi
> mpif-common.h mpif-config.h mpif.h mpif-mpi-io.h mpi.h openmpi
> vampirtrace
>
> How do I make ./configure find mpi.h?
>
> Kind regards
> Niels Christoffers
>
>
>
>
> --
> View this message in context:
> http://octave.1599824.n4.nabble.com/Compiling-Octave-HDF5-and-openmpi-tp4660641.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave