I have two systems A (aka Host) and B (aka Target). On A a compiler suite
is installed (intel 14.0.2), on B there is no compiler. I want to compile
openmpi on A for running it on system B (in particular, I want to use
mpirun and mpif90), so I want to have static linking to the intel
libraries. First of all, I would like to know if it is possible to do this.

The output of  uname -a on the two systems is:
1) Host
Linux host 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64
x86_64 x86_64 GNU/Linux

2) Target
Linux target 2.6.35-32-server #67-Ubuntu SMP Mon Mar 5 21:13:25 UTC 2012
x86_64 GNU/Linux

I am using the following configuration:

export CC=icc
export FC=ifort
export CXX=icpc
export LDFLAGS=-static-intel
export LANG=C

./configure --prefix=/home/user/local/openmpi-1.8.4-cc/
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --enable-static
--disable-shared

I am not sure if the configuration triplets I am using are correct. I know
that in this case I am not technically cross-compiling, but I was wondering
if in the general case I have also to set --target and to what.

I get this error:

Catastrophic error: could not set locale "" to allow processing of
multibyte characters

I attach make.out and output.out (zipped)

Attachment: config.out.bz2
Description: BZip2 compressed data

Attachment: make.out.bz2
Description: BZip2 compressed data

Reply via email to