Hi everyone,

I'm trying to cross compile openmpi-1.10.3 for arm-openwrt-linux-muslgnueabi
on x86_64-linux-gnu with below configure options...


./configure --enable-orterun-prefix-by-default
--prefix="/home/nmahesh/Workspace/ARM_MPI/openmpi"
 --build=x86_64-linux-gnu
--host=x86_64-linux-gnu
--target=arm-openwrt-linux-muslgnueabi
--enable-script-wrapper-compilers
--disable-mpi-fortran
--enable-shared
--disable-mmap-shmem
--disable-posix-shmem
--disable-sysv-shmem
--disable-dlopen
configuring,make &make install successfully.
I added
$export PATH="$PATH:/home/$USER/Workspace/ARM_MPI/openmpi/bin/"
$export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/Workspace/
ARM_MPI/openmpi/lib/"

$export PATH="$PATH:/home/$USER/Workspace/ARM_MPI/openmpi/bin/" >>
/home/$USER/.bashrc
$export 
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/Workspace/ARM_MPI/openmpi/lib/"
>>
/home/$USER/.bashrc

But while compiling as below i'am getting error

*$ /home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc
-L/home/nmahesh/Workspace/ARM_MPI/openmpi/lib helloworld.c *
Possible unintended interpolation of @ORTE_WRAPPER_EXTRA_CXXFLAGS_PREFIX in
string at /home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc line 40.
Possible unintended interpolation of @libdir in string at
/home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc line 43.
Name "main::ORTE_WRAPPER_EXTRA_CXXFLAGS_PREFIX" used only once: possible
typo at /home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc line 40.
Name "main::libdir" used only once: possible typo at
/home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc line 43.
/home/nmahesh/Workspace/ARM_MPI/openmpi/lib/libmpi.so: file not recognized:
File format not recognized
collect2: error: ld returned 1 exit status

*can anybody help..*
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to