[mvapich-discuss] mvapich2-1.2p1 + voltaire infiniband + intel:
compilation failure
Sangamesh B
forum.san at gmail.com
Tue Dec 9 04:33:49 EST 2008
Some more updates:
I put CFLAGS = -DNDEBUG -O2 -D_GNU_SOURCE OFED_VERSION_1_1 in
mvapich2-1.2p1/src/mpid/ch3/channels/mrail/src/gen2/Makefile.
But no effect:
/opt/intel/cce/10.1.018/bin/icc -DHAVE_CONFIG_H -I. -I.
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/include -DNDEBUG
-O2 -D_GNU_SOURCE OFED_VERSION_1_1
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/include
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/include
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/common/datatype
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/common/datatype
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/channels/mrail/include
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/channels/mrail/include
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/channels/mrail/src/gen2
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/channels/mrail/src/gen2
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/common/locks
-I/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/common/locks
-c ibv_send.c
icc: error #10104: unable to open 'OFED_VERSION_1_1'
make[8]: *** [ibv_send.o] Error 1
make[8]: Leaving directory
`/opt/packages/libraries/mvapich2/mvapich2-1.2p1/src/mpid/ch3/channels/mrail/src/gen2'
make[7]: *** [all-redirect] Error 2
Changed and placed a "-"
CFLAGS = -DNDEBUG -O2 -D_GNU_SOURCE -OFED_VERSION_1_1
It thrown:
icc: command line warning #10156: ignoring option '-O'; no argument required
rdma_cm.c(171): error: struct "rdma_cm_event" has no field "param"
if (!event->param.conn.private_data_len){
^
rdma_cm.c(176): error: struct "rdma_cm_event" has no field "param"
rank = ((int *)event->param.conn.private_data)[0];
error.
Thanks,
Sangamesh
On Tue, Dec 9, 2008 at 12:29 PM, Sangamesh B <forum.san at gmail.com> wrote:
> Thanks for the response..
>
> Since infiniband hardware is voltaire, we've used Rocks 4.3 voltaire
> infiniband roll:
>
> http://www.rocksclusters.org/wordpress/?page_id=3
>
> I used the option suggested by you.
> export CFLAGS="OFED_VERSION_1_1"
> The configure failed: icc failed to compile sample C program.
> Then, did configure without the above option.
> Edited Makefile of Mvapich2 root directory, but it failed with same error.
> CFLAGS = "-DNDEBUG -O2 OFED_VERSION_1_1"
> I see during compilation, it was taking -DNDEBUG -O2 only, there was
> no "OFED_VERSION_1_1".
>
> Is there a file which will be accessed by all Makefiles under subdirectories?
>
> Any older version of MVAPICH2 support voltaire?
>
> Thanks,
> Sangamesh
>
> On Tue, Dec 9, 2008 at 2:13 AM, Matthew Koop <koop at cse.ohio-state.edu> wrote:
>> Sangamesh,
>>
>> You seem to be using a very old version of OFED. Are you using 1.1? I'd
>> suggest that you update your OFED install.
>>
>> If this is not possible, run the 'make' step with the following ENV
>> set beforehand.
>>
>> export CFLAGS="OFED_VERSION_1_1"
>>
>> Let us know if you have any other problems,
>>
>> Matt
>>
>> On Sun, 7 Dec 2008, Sangamesh B wrote:
>>
>>> Hello,
>>>
>>> The mvapich2-1.2p1 installation on a Rocks 4.3 cluster (& voltaire
>>> infiniband) with intel 10 compilers has failed (make) with the
>>> following error:
>>>
>>> rdma_cm.c(171): error: struct "rdma_cm_event" has no field "param"
>>> if (!event->param.conn.private_data_len){
>>> ^
>>> rdma_cm.c(176): error: struct "rdma_cm_event" has no field "param"
>>> rank = ((int *)event->param.conn.private_data)[0];
>>> ^
>>> rdma_cm.c(177): error: struct "rdma_cm_event" has no field "param"
>>> rail_index = ((int *)event->param.conn.private_data)[1];
>>> ^
>>> rdma_cm.c(376): warning #589: transfer of control bypasses initialization of:
>>> variable "cMinPort" (declared at line 388)
>>> variable "minPort" (declared at line 389)
>>> variable "portRange" (declared at line 409)
>>> variable "envPort" (declared at line 426)
>>> MPIU_ERR_SETANDJUMP3(
>>> ^
>>> rdma_cm.c(397): warning #589: transfer of control bypasses initialization of:
>>> variable "portRange" (declared at line 409)
>>> variable "envPort" (declared at line 426)
>>> MPIU_ERR_SETANDJUMP3(
>>> ^
>>> rdma_cm.c(414): warning #589: transfer of control bypasses initialization of:
>>> variable "envPort" (declared at line 426)
>>> MPIU_ERR_SETANDJUMP2(
>>> ^
>>> compilation aborted for rdma_cm.c (code 2)
>>>
>>> During configuration the option "--with-rdma=gen2" is used & there
>>> were no errors.
>>>
>>> Is this the problem with the code or anything else? How that can be resolved?
>>>
>>> Thanks,
>>> Sangamesh
>>> _______________________________________________
>>> mvapich-discuss mailing list
>>> mvapich-discuss at cse.ohio-state.edu
>>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>>>
>>
>>
>
More information about the mvapich-discuss
mailing list