[mpich-discuss] Compiling mpich2 with icc

Rajeev Thakur thakur at mcs.anl.gov
Wed Sep 24 13:44:19 CDT 2008


I saw that as well, but thought it may just be a problem with our
installation. I then tried on a 32-bit machine, where that error doesn't
appear.
 
Rajeev

> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Anthony Chan
> Sent: Wednesday, September 24, 2008 1:23 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Compiling mpich2 with icc
> 
> I tried 10.1 "icc -fast" on a simple program on a AMD box.
> 
> > icc -fast ~/ts_C/ts_main_rc.c ; echo $?
> ipo: remark #11001: performing single-file optimizations
> ipo: remark #11005: generating object file /tmp/ipo_iccSrFoSL.o 0
> 
> > a.out
> 
> Fatal Error: This program was not built to run on the 
> processor in your system.
> The allowed processors are: Intel(R) Core(TM) Duo processors 
> and compatible Intel processors with supplemental Streaming 
> SIMD Extensions 3 (SSSE3) instruction support.
> 
> I tried -xT and -xP as well, both give the same error 
> message.  It appear -fast can't be used on at least AMD box.
> 
> 
> 
> ----- "Rajeev Thakur" <thakur at mcs.anl.gov> wrote:
> 
> > I am able to reproduce the problem if I use the -fast option to icc.
> > But
> > without -fast it works. Wonder if it is a problem with icc. I used 
> > version 10.1.
> > 
> > Rajeev
> > 
> > > -----Original Message-----
> > > From: owner-mpich-discuss at mcs.anl.gov 
> > > [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Robert
> > Kubrick
> > > Sent: Wednesday, September 24, 2008 11:54 AM
> > > To: mpich-discuss at mcs.anl.gov
> > > Subject: Re: [mpich-discuss] Compiling mpich2 with icc
> > > 
> > > Compiling with ipcp returns this error:
> > > 
> > > make[4]: Entering directory 
> `/home/pts/archives/mpich2-1.1.0a1/src/
> > > mpid/common/locks'
> > >    CC              mpidu_process_locks.c
> > > ../../../include/pmi.h(740): error: parameter type 
> involves pointer 
> > > to array of unknown bound
> > >    int PMI_Args_to_keyval(int *argcp, char *((*argvp)[]), 
> > > PMI_keyval_t **keyvalp, int *size);
> > >                                       ^
> > > 
> > > compilation aborted for mpidu_process_locks.c (code 2)
> > > make[4]: *** [mpidu_process_locks.o] Error 2
> > > make[4]: Leaving directory `/home/pts/archives/mpich2-1.1.0a1/src/
> > > mpid/common/locks'
> > > make[3]: *** [all-redirect] Error 2
> > > make[3]: Leaving directory `/home/pts/archives/mpich2-1.1.0a1/src/
> > > mpid/common'
> > > make[2]: *** [all-redirect] Error 2
> > > make[2]: Leaving directory
> > > `/home/pts/archives/mpich2-1.1.0a1/src/mpid'
> > > make[1]: *** [all-redirect] Error 2
> > > make[1]: Leaving directory `/home/pts/archives/mpich2-1.1.0a1/src'
> > > make: *** [all-redirect] Error 2
> > > 
> > > 
> > > I tried nm -a libmpich.a and it didn't return the 
> required symbols. 
> > > I am not too familiar with nm, but I am not sure this 
> symbol table 
> > > is
> > > right:
> > > 
> > > me at harper1:~/archives/mpich2-1.1.0a1> nm -a lib/libmpich.a
> > > |grep MPIR_Version_date me at harper1:~/archives/mpich2-1.1.0a1>
> > > nm -a lib/libmpich.a
> > > 
> > > mpidu_process_locks.o:
> > > 00000000 a .strtab
> > > 00000000 a .symtab
> > > 00000000 n __ildata
> > >           w __ildata_included
> > > 00000000 a mpidu_process_locks.c
> > > 
> > > mpidu_atomic_primitives.o:
> > > 00000000 a .strtab
> > > 00000000 a .symtab
> > > 00000000 n __ildata
> > >           w __ildata_included
> > > 00000000 a mpidu_atomic_primitives.c
> > > 
> > > mpidu_queue.o:
> > > 00000000 a .strtab
> > > 00000000 a .symtab
> > > 00000000 n __ildata
> > >           w __ildata_included
> > > 00000000 a mpidu_queue.c
> > > 
> > > dataloop.o:
> > > 00000000 a .strtab
> > > 00000000 a .symtab
> > > 00000000 n __ildata
> > >           w __ildata_included
> > > 00000000 a dataloop.c
> > > ...
> > > ...
> > > ...
> > > 
> > > On Sep 24, 2008, at 12:00 PM, Rajeev Thakur wrote:
> > > 
> > > > Can you do an "nm" on libmpich.a and see if those 
> symbols are in 
> > > > there.
> > > > Also, use icpc as the C++ compiler.
> > > >
> > > > Rajeev
> > > >
> > > >> -----Original Message-----
> > > >> From: owner-mpich-discuss at mcs.anl.gov 
> > > >> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of
> > > Robert Kubrick
> > > >> Sent: Wednesday, September 24, 2008 10:55 AM
> > > >> To: mpich-discuss at mcs.anl.gov
> > > >> Subject: Re: [mpich-discuss] Compiling mpich2 with icc
> > > >>
> > > >> initinfo.c compiles fine, but there are several 
> warnings during 
> > > >> compilation. I am attaching here the complete make log.
> > > >>
> > > >>
> > > >>
> > > >
> > > 
> > >
> 
> 




More information about the mpich-discuss mailing list