[ewg] Problems building mvapich on ia64 on RedHat EL5.1
Jonathan L. Perkins
perkinjo at cse.ohio-state.edu
Tue Dec 4 05:48:52 PST 2007
It also might be useful to see if a simple program including netdb.h can
compile on the system. We could find out if the error is really in the
system header files or due to some other interaction.
> #include <netdb.h>
>
> int foo(int i) {
> return i > 1 ? i * foo(i - 1) : 1;
> }
Pavel Shamis (Pasha) wrote:
> Hi,
> I don't have access to such platform in Mellanox and from the log I
> don't really understand the problem.
>
> Can I get remote access to the machine ?
>
> Regards,
> Pasha.
>
> Woodruff, Robert J wrote:
>> I get the following build error trying to build
>> mvapich on ia64 on RedHat EL5.1 using today's OFED daily build.
>>
>> gcc -DHAVE_CONFIG_H -I.
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/util
>> -DMPID_DEVICE_CODE -DHAVE_UNAME=1 -DHAVE_NETDB_H=1
>> -DHAVE_GETHOSTBYNAME=1 -DMPID_DEBUG_NONE -DMPID_STAT_NONE -fPIC -O3
>> -fno-strict-aliasing -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE
>> -D_AFFINITY_ -DCOMPAT_MODE -Wall -D_SMP_ -D_SMP_RNDV_
>> -DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER
>> -D_IA64_ -I/usr/include -DHAVE_MPICHCONF_H -D_GNU_SOURCE
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2 -I. -c
>> viainit.c
>> viainit.c: In function 'viainit_setaffinity': viainit.c:140: warning:
>> passing argument 3 of 'sched_setaffinity' from
>> incompatible pointer type
>> viainit.c: In function 'viainit_exchange':
>> viainit.c:752: warning: unused variable 'other_qp_list'
>> viainit.c: In function 'MPID_VIA_Init':
>> viainit.c:952: warning: implicit declaration of function 'init_apm_lock'
>> viainit.c:788: warning: unused variable 'smpi_ptr'
>> viainit.c:784: warning: unused variable 'j'
>> viainit.c:784: warning: unused variable 'i'
>> viainit.c: In function 'ib_qp_enable':
>> viainit.c:1379: warning: implicit declaration of function
>> 'reload_alternate_path'
>> viainit.c: In function 'ib_rank_lid_table': viainit.c:1917: warning:
>> pointer targets in assignment differ in
>> signedness
>> viainit.c: At top level: viainit.c:1907: warning: 'ib_rank_lid_table'
>> defined but not used
>> gcc -DHAVE_CONFIG_H -I.
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/util
>> -DMPID_DEVICE_CODE -DHAVE_UNAME=1 -DHAVE_NETDB_H=1
>> -DHAVE_GETHOSTBYNAME=1 -DMPID_DEBUG_NONE -DMPID_STAT_NONE -fPIC -O3
>> -fno-strict-aliasing -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE
>> -D_AFFINITY_ -DCOMPAT_MODE -Wall -D_SMP_ -D_SMP_RNDV_
>> -DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER
>> -D_IA64_ -I/usr/include -DHAVE_MPICHCONF_H -D_GNU_SOURCE
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639
>> -I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2 -I. -c
>> viasend.c In file included from /usr/include/netdb.h:28,
>> from cm.h:25,
>> from viapriv.h:44,
>> from viasend.c:29:
>> /usr/include/netinet/in.h:355: error: expected ')' before '__netshort'
>> /usr/include/netinet/in.h:355: error: expected ')' before '>>' token
>> /usr/include/netinet/in.h:355: error: expected ')' before '&' token
>> _______________________________________________
>> ewg mailing list
>> ewg at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>>
>>
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
--
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
More information about the ewg
mailing list