Benjamin Brock
2017-12-16 03:28:34 UTC
I'd like to run Open MPI on a cluster of RISC-V machines. These machines
are pretty weak cores and so I need to cross-compile. I'd like to do this:
Machine 1, which is x86_64-linux-gnu, compiles programs for machine 2.
Machine 2, which is riscv64-unknown-linux, will run these programs.
It seems to me like the correct configure line for this might be:
./configure --host=riscv64-unknown-linux --target=x86_64-linux-gnu
--enable-static --disable-shared --prefix=/home/ubuntu/src/ben-build/openmpi
However, this yields an error:
configure: WARNING: *** The Open MPI configure script does not support
--program-prefix, --program-suffix or --program-transform-name. Users are
recommended to instead use --prefix with a unique directory and make
symbolic links as desired for renaming.
configure: error: *** Cannot continue
Any tips? Will it be possible for me to cross-compile this way with Open
MPI?
Ben
are pretty weak cores and so I need to cross-compile. I'd like to do this:
Machine 1, which is x86_64-linux-gnu, compiles programs for machine 2.
Machine 2, which is riscv64-unknown-linux, will run these programs.
It seems to me like the correct configure line for this might be:
./configure --host=riscv64-unknown-linux --target=x86_64-linux-gnu
--enable-static --disable-shared --prefix=/home/ubuntu/src/ben-build/openmpi
However, this yields an error:
configure: WARNING: *** The Open MPI configure script does not support
--program-prefix, --program-suffix or --program-transform-name. Users are
recommended to instead use --prefix with a unique directory and make
symbolic links as desired for renaming.
configure: error: *** Cannot continue
Any tips? Will it be possible for me to cross-compile this way with Open
MPI?
Ben