Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

libmpifort.so: file not recognized: File format not recognized

Masrul
Beginner
2,540 Views

Dear all:

I installed evaluation version of  Intel® Parallel Studio XE Cluster Edition for Linux. It installed perfectly, but i could not compile  with  mpicc. I got following error.

...../linux/mpi/intel64/lib/libmpifort.so: file not recognized: File format not recognized

 

Our system administrator also installed Intel® Parallel Studio XE Cluster on our cluster. I also got same error using  those build.

--Masrul

 

0 Kudos
7 Replies
Artem_R_Intel1
Employee
2,540 Views

Hi Masrul,

Could you please share the command line which produced this error?

0 Kudos
Masrul
Beginner
2,540 Views

mpicc hello.c

After googling, what i understand, it is due to 32 bit and 64 bit conflict. But our cluster is 64bit architecture. I sourced intel64 in compilervars.sh and mpivars.sh. So, there should not be conflict.

--Masrul

 

0 Kudos
Artem_R_Intel1
Employee
2,540 Views

Hi Masrul,

Could you please show the output of 'mpicc hello.c -show'? Which version of gcc is installed on your system?

If you would like to compile your hello.c with icc use mpiicc.

0 Kudos
Masrul
Beginner
2,540 Views

1)

Talon-login[107] mmh568$ mpicc hello.c -show
gcc hello.c -I/usr/local/intel-2015.2//impi/5.0.3.048/intel64/include -L/usr/local/intel-2015.2//impi/5.0.3.048/intel64/lib/release_mt -L/usr/local/intel-2015.2//impi/5.0.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /usr/local/intel-2015.2//impi/5.0.3.048/intel64/lib/release_mt -Xlinker -rpath -Xlinker /usr/local/intel-2015.2//impi/5.0.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.0/intel64/lib/release_mt -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.0/intel64/lib -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread

2)Talon-login[108] mmh568$ gcc --version
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Artem, i am really sorry for being late. I was out of town. I think problem is  due to gcc. Because, previously system has gcc less than 4.8 version. But when i loaded gcc-4.8.3. Previous error is gone but now i get following error.

$mpiicc hello.c

/usr/local/intel-2015.2//impi/5.0.3.048/intel64/lib/release_mt/libmpi.so: undefined reference to `vmsplice@GLIBC_2.5'

--Masrul

0 Kudos
Artem_R_Intel1
Employee
2,540 Views

Hi Masrul,

Thanks for the update.

Could you please also provide the following information:
1. OS version.
2. Linux* kernel version (and 'uname -a' output).
3. glibc version (e.g. with 'rpm -qa | grep glibc').

0 Kudos
Masrul
Beginner
2,540 Views

1)Talon-login[1] mmh568$ cat /etc/issue.net
Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel %r (%t).

2)Talon-login[2] mmh568$ uname -a
Linux Talon-login.HPC.MsState.Edu 2.6.16.60-0.42.8-smp #1 SMP Tue Dec 15 17:28:00 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux

3) Talon-login[3] mmh568$ rpm -qa | grep glibc
glibc-32bit-2.4-31.61
glibc-devel-2.4-31.61
glibc-devel-32bit-2.4-31.61
glibc-locale-2.4-31.61
glibc-i18ndata-2.4-31.61
glibc-2.4-31.61
glibc-locale-32bit-2.4-31.61

 

 

0 Kudos
Artem_R_Intel1
Employee
2,540 Views

Hi Masrul,

Your OS version isn't supported by Intel MPI Library 5.0.3.048. According to the Intel(R) MPI Library 5.0 Update 3 for Linux* OS Release Notes:

Supported Software
------------------
Operating Systems: (issues including installation ones are possible for
Operating Systems that are not released at the date of Intel(R) MPI Library 5.0
release)

    Systems based on the Intel(R) 64 architecture:
      Red Hat* Enterprise Linux* 6, 7,
      Fedora* 20, 21,
      CentOS* 6.0,
      SUSE* Linux Enterprise Server* 11, 12,
      Ubuntu* LTS 12.04, 14.04,
      Debian* 6, 7,

0 Kudos
Reply