[mvapich-discuss] mvapich2-1.2p1 + voltaire infiniband + intel: compilation failure

Sangamesh B forum.san at gmail.com
Wed Dec 10 01:07:01 EST 2008


Thanks. It got installed

-Sangamesh

On Tue, Dec 9, 2008 at 6:05 PM, Jonathan Perkins
<perkinjo at cse.ohio-state.edu> wrote:
> On Tue, Dec 09, 2008 at 12:29:08PM +0530, Sangamesh B 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"
>
> I think this needs to be...
> export CFLAGS="-DOFED_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"
>
> or this can be...
> CFLAGS          =  "-DNDEBUG -O2 -DOFED_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
>> >>
>> >
>> >
>> _______________________________________________
>> mvapich-discuss mailing list
>> mvapich-discuss at cse.ohio-state.edu
>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
> --
> Jonathan Perkins
> http://www.cse.ohio-state.edu/~perkinjo
>


More information about the mvapich-discuss mailing list