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

Dave Goodell goodell at mcs.anl.gov
Mon Mar 1 10:45:18 CST 2010


It looks like you may have a bad compiler/header installation on your  
machine.  Cursory googling for "ctid_t" turned up this: http://forums.sun.com/thread.jspa?threadID=5077618

I'm pretty sure that I've found the bug in the "struct ifconf" logic  
that was causing a problem for you earlier.  I'll commit a fix to the  
trunk later today.

-Dave

On Feb 25, 2010, at 3:36 PM, chong tan wrote:

> 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
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list