[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling Octave: HDF5 and openmpi
From: |
Mike Miller |
Subject: |
Re: Compiling Octave: HDF5 and openmpi |
Date: |
Sun, 05 Jan 2014 22:22:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
On Sun, 5 Jan 2014 09:51:25 -0800, Niels wrote:
> Thanks for all the infos!!
>
> I just found out something important for other "compiling beginners" like
> me:
>
> Setting flags and then entering
>
> sudo ./configure
>
> will not work. The flags will be forgotten by the time cofigure is executed
> (in a root shell).
>
> I had to start off with
>
> sudo -i
>
> and then setting all the compiler flags in the environment.
Also, you probably shouldn't be building with sudo or as the root user
at all.
> Now mpi.h will be found and I arrived at the "real" difficulties ;-).
>
> ./.libs/liboctinterp.so: undefined reference to `ompi_mpi_cxx_op_intercept'
> ./.libs/liboctinterp.so: undefined reference to `MPI::Win::Free()'
> ./.libs/liboctinterp.so: undefined reference to `MPI::Datatype::Free()'
> ./.libs/liboctinterp.so: undefined reference to `MPI::Comm::Comm()'
>
> Does anyone know by chance what to do now? (BTW. I can google these
> messages and find a page where somebody posted the exact same errors, but
> no solution.
>
> Can I utter a suspicion? I think it is what was mentioned above: I will also
> have to tell the linker where to find the mpi-library. For that I would have
> to know its name and its location. I will start searching for it.
Yes, that's exactly it. I had this working at one point but it was too
much of a pain to get right so now I only build with the non-MPI HDF5
library. I recommend you do the same if you can.
--
mike