[petsc-users] Building Linux 32-bit PETSc lib

Jed Brown jedbrown at mcs.anl.gov
Wed Jan 8 15:49:52 CST 2014


Qin Lu <lu_qin_2000 at yahoo.com> writes:

> Hello,
>  
> I am trying to build a Linux 32-bit PETSc lib. I first built python-2.7.5 in a 32-bit Linux workstation without problem, then used this python to configure PETSc-3.4.2 with Intel C/C++/Fortran compilers, it got the following error:

Executing: /apps/compilers/intel/Compiler/11.1/056/bin/ia32/ifort  -o /tmp/petsc-3SW45q/config.setCompilers/conftest    -O3 /tmp/petsc-3SW45q/config.setCompilers/conftest.o -ldl
-L/apps/compilers/intel/Compiler/11.1/056/lib/ia32 -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s
-L/apps/compilers/intel/Compiler/11.1/056/lib/ia32 -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -ldl 
sh: 
Executing: /tmp/petsc-3SW45q/config.setCompilers/conftest
sh: /tmp/petsc-3SW45q/config.setCompilers/conftest
Executing: /tmp/petsc-3SW45q/config.setCompilers/conftest
sh: 
ERROR while running executable: Could not execute "/tmp/petsc-3SW45q/config.setCompilers/conftest":
/tmp/petsc-3SW45q/config.setCompilers/conftest: error while loading shared libraries: libirc.so: wrong ELF class: ELFCLASS64


        compilers: Libraries needed to link C code with another linker: ['-ldl', '-L/apps/compilers/intel/Compiler/11.1/056/lib/ia32', '-L/usr/lib/gcc/i386-redhat-linux/4.1.2', '-limf',
'-lsvml', '-lipgo', '-ldecimal', '-lgcc_s', '-lirc', '-lirc_s', '-L/apps/compilers/intel/Compiler/11.1/056/lib/ia32', '-L/usr/lib/gcc/i386-redhat-linux/4.1.2']


Where is this libirc.so coming from?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140108/89faabba/attachment.pgp>


More information about the petsc-users mailing list