As it says check the config.log for any error messages. I have not had any
problems using external hwloc on my debian boxes.

2015-03-18 1:30 GMT+00:00 Peter Gottesman <mygames1...@gmail.com>:

> Hey all,
> I am trying to compile Open MPI on a 32bit laptop running debian wheezy
> 7.8.0. When I
>
>> ../ompi-master/configure --prefix=$HOME/ompi-master/build
>> --with-hwloc=$HOME/openmpi/hwloc/build
>> --with-hwloc-libdir=$HOME/openmpi/hwloc/build/lib
>
> I get the error code:
>
>> checking whether we are cross compiling... configure: error: in
>> `/home/peter/openmpi/build/opal/mca/event/libevent2022/libevent':
>> configure: error: cannot run C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details
>> configure: /bin/bash
>> '../../../../../../ompi-master/opal/mca/event/libevent2022/libevent/configure'
>> *failed* for opal/mca/event/libevent2022/libevent
>> configure: WARNING: Event library failed to configure
>> configure: error: Cannot continue
>
> I have looked at a previous message in this mailing list, and I have a
> working compiler, so I do not believe that that is the problem here. Any
> help is appreciated.
> Thanks,
> Peter
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/03/26491.php
>



-- 
Kind regards Nick

Reply via email to