Benjamin,

try removing the --target option.

if it still does not work, then try replacing --target with --build

you can refer to 
http://jingfenghanmax.blogspot.jp/2010/09/configure-with-host-target-and-build.html
 for the details

As far as Open MPI is concerned, note you cannot cross build Fortran 
support from the scratch.

Cheers,

Gilles

----- Original Message -----

    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



_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to