[mpich-discuss] Compiling mpich2 with icc

Rajeev Thakur thakur at mcs.anl.gov
Wed Sep 24 08:47:12 CDT 2008


Those things are defined in src/mpi/init/initinfo.c. Did that file not get
compiled?

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 7:59 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [mpich-discuss] Compiling mpich2 with icc
> 
> I'm trying to compile mpich2-1.1.0a1 with the Intel compiler 
> (-fast) and get the following error:
> 
> make[2]: Entering directory 
> `/home/pts/archives/mpich2-1.1.0a1/src/env'
>    CC              mpich2version.c
> icc -fast   -o mpich2version mpich2version.o  \
>          ../../lib/libmpich.a -lpthread  -lpthread
> ipo: warning #11043: unresolved MPIR_Version_F90
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_F77
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_CXX
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_CC
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_device
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_configure
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_date
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: warning #11043: unresolved MPIR_Version_string
>          Referenced in /tmp/ipo_iccy8ij2j.o
> ipo: remark #11001: performing single-file optimizations
> ipo: remark #11005: generating object file /tmp/ipo_iccy8ij2j.o
> mpich2version.c(59): (col. 2) remark: LOOP WAS VECTORIZED.
> mpich2version.c(63): (col. 2) remark: LOOP WAS VECTORIZED.
> /tmp/ipo_iccy8ij2j.o: In function `main':
> /tmp/ipo_iccy8ij2j.c:(.text+0x405): undefined reference to 
> `MPIR_Version_string'
> /tmp/ipo_iccy8ij2j.c:(.text+0x41f): undefined reference to 
> `MPIR_Version_date'
> /tmp/ipo_iccy8ij2j.c:(.text+0x439): undefined reference to 
> `MPIR_Version_device'
> /tmp/ipo_iccy8ij2j.c:(.text+0x453): undefined reference to 
> `MPIR_Version_configure'
> /tmp/ipo_iccy8ij2j.c:(.text+0x46d): undefined reference to 
> `MPIR_Version_CC'
> /tmp/ipo_iccy8ij2j.c:(.text+0x47c): undefined reference to 
> `MPIR_Version_CXX'
> /tmp/ipo_iccy8ij2j.c:(.text+0x48b): undefined reference to 
> `MPIR_Version_F77'
> /tmp/ipo_iccy8ij2j.c:(.text+0x49a): undefined reference to 
> `MPIR_Version_F90'
> make[2]: *** [mpich2version] Error 1
> make[2]: Leaving directory `/home/pts/archives/mpich2-1.1.0a1/src/env'
> make[1]: *** [all-redirect] Error 2
> make[1]: Leaving directory `/home/pts/archives/mpich2-1.1.0a1/src'
> make: *** [all-redirect] Error 2
> 
> 




More information about the mpich-discuss mailing list