<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jonathan Perkins wrote:
<blockquote cite="mid:47AC6493.2080302@cse.ohio-state.edu" type="cite">Jonathan
L. Perkins wrote:
<br>
<blockquote type="cite">Peter Cebull wrote:
<br>
<blockquote type="cite">Jonathan L. Perkins wrote:
<br>
<blockquote type="cite">Jonathan Perkins wrote:
<br>
<blockquote type="cite">Peter Cebull wrote:
<br>
<blockquote type="cite">I'm trying to build MVAPICH with PGI
compilers (version 7.1-3) and am running into an error. Our system is
running SLES 10. Log files are attached. Has anyone seen this before?
<br>
<br>
Thanks,
<br>
Peter
<br>
<br>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
mvapich-discuss mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:mvapich-discuss@cse.ohio-state.edu">mvapich-discuss@cse.ohio-state.edu</a>
<br>
<a class="moz-txt-link-freetext" href="http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss">http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss</a>
<br>
</blockquote>
<br>
Peter:
<br>
We're sorry that you're having trouble with the PGI compiler. We'll
take a look into this issue and get back to you as soon as we can.
<br>
<br>
<br>
</blockquote>
<br>
Peter:
<br>
Can you send a bit more information related to this error. Can you
tell us which variables you set in order to use the pgi compiler.
Also, are you using the make.mvapich.gen2 script for your build
process?
<br>
<br>
I haven't been able to reproduce this error using SuSE 10 and both PGI
7.0-7 and PGI 7.1-3.
<br>
<br>
</blockquote>
I've attached the make.mvapich.gen2 file I was using. I think all I
changed were these variables
<br>
<br>
IBHOME=${IBHOME:-/usr}
<br>
IBHOME_LIB=${IBHOME_LIB:-/usr/lib64}
<br>
PREFIX=${PREFIX:-/usr/local/mvapich/mvapich-1.0-beta/pgi-opt}
<br>
export CC=${CC:-pgcc}
<br>
export CXX=${CXX:-pgCC}
<br>
export F77=${F77:-pgf77}
<br>
export F90=${F90:-pgf90}
<br>
<br>
and added some options to configure:
<br>
<br>
./configure --enable-shared-lib --with-device=ch_gen2 --with-arch=LINUX
-prefix=${PREFIX} \
<br>
--enable-f77 --enable-f90 --enable-f90modules $ROMIO
-lib="$LIBS" 2>&1 |tee config-mine.log
<br>
<br>
Then I just executed the script. Let me know if you need any more info.
<br>
<br>
Thanks,
<br>
Peter
<br>
<br>
</blockquote>
<br>
Thanks for the info. I'm trying this out now.
<br>
<br>
</blockquote>
<br>
Using the supplied make.mvapich.gen2 (editing the IBHOME variables), I
am unable to get configure to run successfully. However, when I take a
pristine make.mvapich.gen2 script and manually make the changes it
configures and builds fine.
<br>
<br>
I suggest starting over with a pristine make.mvapich.gen2 script. If
this builds fine, you should modify the configure line and simply
export the variables you'd like overwritten at the shell before
executing the make.mvapich.gen2 script.
<br>
<br>
Let us know how this goes.<br>
<br>
</blockquote>
I am still reproducing the failure. First, I am able to successfully
build mvapich the following way. First I set some environment variables:<br>
<br>
export IBHOME=/usr IBHOME_LIB=/usr/lib64 CC=pgcc CXX=pgCC F77=pgf77<br>
export PREFIX=/usr/local/mvapich/mvapich-1.0-beta/pgi-opt<br>
<br>
Then I modify make.mvapich.gen2, changing only the configure line:<br>
<br>
<b><tt>[cebupp@iceapps mvapich-1.0]$ diff make.mvapich.gen2
make.mvapich.gen2.orig<br>
109,110c109,110<br>
< ./configure --enable-sharedlib --with-device=ch_gen2
--with-arch=LINUX -prefix=${PREFIX} \<br>
< --enable-f77 --enable-f90 --enable-f90modules $ROMIO
-lib="$LIBS" 2>&1 |tee config-mine.log<br>
---<br>
> ./configure --with-device=ch_gen2 --with-arch=LINUX
-prefix=${PREFIX} \<br>
> $ROMIO --without-mpe -lib="$LIBS" 2>&1 |tee
config-mine.log<br>
</tt></b><br>
The pgf90 compiler gets picked up somehow, even though I haven't set
F90. The build completes, with f90 and f90modules enabled, but <i>--without-romio</i>
(since I haven't set F90, --without-romio is taken by default).<br>
<br>
Next, all I do is set F90:<br>
<br>
<b><tt>export F90=pgf90<br>
</tt></b><br>
This sets --with-romio, and that is where the build fails:<br>
<br>
<b><tt>compiling ROMIO in directory mpi-io<br>
/usr/local/src/mvapich-1.0/bin/mpicc -fPIC -D_EM64T_ -DAUTO_DETECT
-DEARLY_SEND_COMPLETION -DMEMORY_SCALE -DVIADEV_RPUT_SUPPORT -D_SMP_
-D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE -I/usr/include -O3
-DHAVE_MPICHCONF_H -fPIC -D_EM64T_ -DAUTO_DETECT
-DEARLY_SEND_COMPLETION -DMEMORY_SCALE -DVIADEV_RPUT_SUPPORT -D_SMP_
-D_SMP_RNDV_ -DCH_GEN2 -D_GNU_SOURCE -I/usr/include -O3
-DHAVE_MPICHCONF_H -DFORTRANUNDERSCORE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -I.
-I/usr/local/src/mvapich-1.0/romio/mpi-io -I../include
-I/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include
-I../adio/include
-I/usr/local/src/mvapich-1.0/romio/mpi-io/../../../include
-I../../../include -c close.c<br>
PGC-S-0035-Syntax error: Recovery attempted by replacing identifier
MPI_Datarep_extent_function by '}'
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 98)<br>
PGC-S-0040-Illegal use of symbol, MPI_Datarep_conversion_function
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 99)<br>
PGC-W-0156-Type not specified, 'int' assumed
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 99)<br>
PGC-S-0040-Illegal use of symbol, MPI_Datarep_conversion_function
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 100)<br>
PGC-W-0156-Type not specified, 'int' assumed
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 100)<br>
PGC-S-0037-Syntax error: Recovery attempted by deleting '}'
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 102)<br>
PGC-W-0156-Type not specified, 'int' assumed
(/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 102)<br>
PGC/x86-64 Linux 7.1-3: compilation completed with severe errors<br>
make[4]: *** [close.o] Error 2<br>
Make failed in directory mpi-io<br>
make[3]: *** [mpiolib] Error 1<br>
make[2]: *** [mpio] Error 2<br>
make[1]: *** [mpi-modules] Error 1<br>
make: *** [mpi] Error 2<br>
Failure in building MVAPICH.</tt></b><br>
<br>
If you are able to build successfully with PGI 7.1-3 and --with-romio,
then I don't know what could possibly be the problem. I'll poke around
a little more deeply here, but if you have any ideas please let me know.<br>
<br>
Thanks,<br>
Peter<br>
<pre class="moz-signature" cols="72">--
Peter Cebull
HPC User Consultant
Idaho National Laboratory
P.O. Box 1625, MS3605
Idaho Falls, ID 83415
Phone: 208-526-1909
Email: <a class="moz-txt-link-abbreviated" href="mailto:Peter.Cebull@inl.gov">Peter.Cebull@inl.gov</a>
</pre>
</body>
</html>