[mpich-discuss] Cannot build mpich2-1.0.8p1 (nemesis) with PGI 8.0-4 on Linux x86_64
Gus Correa
gus at ldeo.columbia.edu
Tue Mar 31 16:21:07 CDT 2009
Hi Dave, list
Thank you for your answer and help.
See my comments inline.
Dave Goodell wrote:
> On Mar 31, 2009, at 10:54 AM, Gus Correa wrote:
>
>> Dave: Thank you very much for the configure.in
>> patch and for your help.
>>
>> I applied the patch, did "make distclean", deleted all old
>> build files and directories, configured again, did make again.
>> However, I still get the same exact error on the make phase.
> ...
>> There may be more that needs to be patched in configure.in, I'd guess.
>
> Hi Gus,
>
> I forgot to tell you to run "./maint/updatefiles" in order to regenerate
> the configure from the configure.in. You'll need perl and autoconf-2.62
> or later to go that route though. Sorry about the mix-up.
>
OK, perl 5.8.8 is there, but autoconf is 2.59, older than 2.62.
I must use the tarball you created.
> If you prefer, you can use the tarball I've created here [1] that
> already has the patch and has an already-regenerated configure script.
>
I decompressed the tarball on a fresh new subdirectory,
configured again, ran make again.
However, I still get the same exact error.
Moreover, the preprocessor macro
HAVE_GCC_AND_X86_64_ASM
continues not to be defined in the
src/include/mpichconf.h file,
and most likely continues to be the source for the error.
By contrast, configure.in is identical to my patched
version (with the pgcc_atomics.patch file).
I will send you the output of configure, config.log
and src/include/mpichconf.h off list.
And here is the "diff" between the configure script from your
latest tarball
and the configure script from the 1.2.8p1 after I patched it with
pgcc_atomics.patch:
[build_pgi-8.0-4]% diff ../configure
/home/swinst/mpich2/1.0.8p1/mpich2-1.0.8p1/configure29449,29451c29449
< # FIXME checking for compiler name is a dirty hack and should not be
used long-term
< if test "$ac_cv_c_compiler_gnu" = "yes" -o "$ac_cv_prog_CC" = "icc" \
< -o "$ac_cv_prog_CC" = "pgcc"; then
---
> if test "$ac_cv_c_compiler_gnu" = "yes" -o "$ac_cv_prog_CC" = "icc" ;
then
29534,29536c29532
< # FIXME checking for compiler name is a dirty hack and should not be
used long-term
< if test "$ac_cv_c_compiler_gnu" = "yes" -o "$ac_cv_prog_CC" = "icc" \
< -o "$ac_cv_prog_CC" = "pgcc"; then
---
> if test "$ac_cv_c_compiler_gnu" = "yes" ; then
30139c30135
< #line 30139 "configure"
---
> #line 30135 "configure"
31653c31649
< #line 31653 "configure"
---
> #line 31649 "configure"
33372c33368
< #line 33372 "configure"
---
> #line 33368 "configure"
33969c33965
< #line 33969 "configure"
---
> #line 33965 "configure"
35112c35108
< #line 35112 "configure"
---
> #line 35108 "configure"
35203c35199
< #line 35203 "configure"
---
> #line 35199 "configure"
**
Did I do anything wrong?
Thank you for your help.
Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------
> -Dave
>
> [1] http://www.mcs.anl.gov/~goodell/mpich2-1.0.8p1-pgcc.tar.gz
More information about the mpich-discuss
mailing list