[mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10

chong tan chong_guan_tan at yahoo.com
Thu Feb 25 15:36:17 CST 2010


more error after hacking:

  CC              ad_iread.c
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from ad_iread.c:14:
/usr/include/sys/siginfo.h:259: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: parse error before '}' token
/usr/include/sys/siginfo.h:294: parse error before '}' token
make: Fatal error: Command failed for target `ad_iread.o'
Current working directory ....../mpich2-1.2.1p1/src/mpi/romio/adio/common
*** Error code 1


tan



________________________________
From: Dave Goodell <goodell at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Sent: Thu, February 25, 2010 9:05:53 AM
Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10

Please send us your c.txt, config.log, and src/mpid/ch3/channels/nemesis/config.log files.  This will help us to figure out what went wrong in the configure test.

After you do that, you should be able to get going again by changing src/mpid/ch3/channels/nemesis/nemesis/netmod/tcp/tcp_getip.c:61 from this

------8<-------
#if defined(SIOCGIFCONF) && defined(HAVE_STRUCT_IFCONF)
------8<-------

to this

------8<-------
#if 0
------8<-------

After making this change you won't be able to choose your TCP communication interface in MPICH2.

-Dave

On Feb 24, 2010, at 4:54 PM, chong tan wrote:

> Soory, mistake, it did not work with 1.2.1p1 either.
> with this config:
> setenv CFLAGS "-O3 -m32"
> setenv MPICH2LIB_CFLAGS "-O3 -m32"
> 
> ./configure --prefix=/home/chong/install_dir/mpich2/mpich2.1.21p1/solaris_10   \
>     --disable-f90 --disable-f77 \
>     --enable-fast \
>     --verbose \
>     --enable-threads=single
> 
> I got this error:
>   CC              tcp_getip.c
> tcp_getip.c: In function `MPIDI_GetIPInterface':
> tcp_getip.c:108: sizeof applied to an incomplete type
> tcp_getip.c:113: storage size of `ifconf' isn't known
> tcp_getip.c:140: sizeof applied to an incomplete type
> tcp_getip.c:157: dereferencing pointer to incomplete type
> tcp_getip.c:160: dereferencing pointer to incomplete type
> tcp_getip.c:163: dereferencing pointer to incomplete type
> tcp_getip.c:205: sizeof applied to an incomplete type
> tcp_getip.c:209: dereferencing pointer to incomplete type
> *** Error code 1
> 
> 
> looks like it is in directory mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/nemesis/netmod.
> 
> I will keep probing a little further.  if you have any suggestion, please
> let me know.
> 
> thanks
> tan
> 
> 
> 
> From: chong tan <chong_guan_tan at yahoo.com>
> To: mpich-discuss at mcs.anl.gov
> Sent: Wed, February 24, 2010 1:54:41 PM
> Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10
> 
> Dave,
> 1.2.1p1 works.  If possible, please put a note on 1.2.1 that it is not for Solaris.
> 
> thanks
> tan
> 
> 
> From: Dave Goodell <goodell at mcs.anl.gov>
> To: mpich-discuss at mcs.anl.gov
> Sent: Wed, February 24, 2010 1:21:14 PM
> Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10
> 
> The "cannot find include file" errors that you are getting indicate that one or more sub-configure scripts did not run successfully but somehow did not cause failure at configure-time.
> 
> If you are not hitting the issue described in #992, then in order to help I will need to see your c.txt and config.log files as described in the MPICH2 README.  I do still recommend starting with 1.2.1p1 and debugging from there.  It contains a number of useful bug fixes.
> 
> -Dave
> 
> On Feb 24, 2010, at 3:11 PM, chong tan wrote:
> 
> > Dave,
> >
> > No, I already 'hacked' that line.  I ran into other error with that line.
> >
> > I will see if I have any luck with 1.2.1p1.
> >
> > tan
> >
> >
> > From: Dave Goodell <goodell at mcs.anl.gov>
> > To: mpich-discuss at mcs.anl.gov
> > Sent: Wed, February 24, 2010 10:47:30 AM
> > Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10
> >
> > I think you are hitting this issue: https://trac.mcs.anl.gov/projects/mpich2/ticket/992
> >
> > The recently-released MPICH2 1.2.1p1 fixes this problem.  Please try that instead and let us know if you are still encountering problems.
> >
> > -Dave
> >
> > On Feb 24, 2010, at 11:46 AM, chong tan wrote:
> >
> > > I have tried GCC and Solaris C, getting pretty much the same errors.
> > > configuration:
> > >
> > > setenv CFLAGS "-O3 -m32"
> > > setenv MPICH2LIB_CFLAGS "-O3 -m32"
> > >
> > > ./configure --prefix=<my_install_dir> \
> > >        --disable-f90 --disable-f77 \
> > >        --enable-fast \
> > >        --verbose \
> > >        --enable-threads=single
> > >
> > > with this configuration, I get this error:
> > >
> > > In file included from ../../../include/mpiimpl.h:120,
> > >                  from /home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidimpl.h:22,
> > >                  from mpidu_process_locks.h:20,
> > >                  from mpidu_process_locks.c:6:
> > > /home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidpre.h:13:28: mpidi_ch3_conf.h: No such file or directory
> > >
> > >
> > > If I specify --with-device=ch3:ssm, I get this error, among others:
> > >
> > > "/home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidpre.h", line 13: cannot find include file: "mpidi_ch3_conf.h"
> > >
> > >
> > > any suggestion ?
> > >
> > > thanks
> > > tan
> > >
> > >
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100225/dc73bb8b/attachment-0001.htm>


More information about the mpich-discuss mailing list