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

Dave Goodell goodell at mcs.anl.gov
Thu Feb 25 12:40:11 CST 2010


You can send them to me directly or attach them to a new trac ticket,  
which you can create here: https://trac.mcs.anl.gov/projects/mpich2/newticket

-Dave

On Feb 25, 2010, at 12:34 PM, chong tan wrote:

> Dave,
> I look at the config.log file, and there were errors.
>
> I only have the top level config.log at this moment.  Who should I  
> send it to ?
>
> I will recreate the others files later today.
>
> thanks
> 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