[mvapich-discuss] Problem Building MVAPICH-1.0-beta with PGI Compilers

Jonathan L. Perkins perkinjo at cse.ohio-state.edu
Fri Feb 8 13:45:22 EST 2008


Jonathan Perkins wrote:
> Peter Cebull wrote:
>> I am still reproducing the failure. First, I am able to successfully 
>> build mvapich the following way. First I set some environment variables:
>>
>> export IBHOME=/usr IBHOME_LIB=/usr/lib64 CC=pgcc CXX=pgCC F77=pgf77
>> export PREFIX=/usr/local/mvapich/mvapich-1.0-beta/pgi-opt
>>
>> Then I modify make.mvapich.gen2, changing only the configure line:
>>
>> *[cebupp at iceapps mvapich-1.0]$ diff make.mvapich.gen2 
>> make.mvapich.gen2.orig
>> 109,110c109,110
>> < ./configure --enable-sharedlib --with-device=ch_gen2 
>> --with-arch=LINUX -prefix=${PREFIX} \
>> <       --enable-f77 --enable-f90 --enable-f90modules $ROMIO 
>> -lib="$LIBS" 2>&1 |tee config-mine.log
>> ---
>>  > ./configure --with-device=ch_gen2 --with-arch=LINUX 
>> -prefix=${PREFIX} \
>>  >       $ROMIO --without-mpe -lib="$LIBS" 2>&1 |tee config-mine.log
>> *
>> The pgf90 compiler gets picked up somehow, even though I haven't set 
>> F90. The build completes, with f90 and f90modules enabled, but 
>> /--without-romio/ (since I haven't set F90, --without-romio is taken 
>> by default).
>>
>> Next, all I do is set F90:
>>
>> *export F90=pgf90
>> *
>> This sets --with-romio, and that is where the build fails:
>>
>> *compiling ROMIO in directory mpi-io
>> /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
>> 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)
>> 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)
>> PGC-W-0156-Type not specified, 'int' assumed 
>> (/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 99)
>> 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)
>> PGC-W-0156-Type not specified, 'int' assumed 
>> (/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 100)
>> PGC-S-0037-Syntax error: Recovery attempted by deleting '}' 
>> (/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 102)
>> PGC-W-0156-Type not specified, 'int' assumed 
>> (/usr/local/src/mvapich-1.0/romio/mpi-io/../adio/include/adioi.h: 102)
>> PGC/x86-64 Linux 7.1-3: compilation completed with severe errors
>> make[4]: *** [close.o] Error 2
>> Make failed in directory mpi-io
>> make[3]: *** [mpiolib] Error 1
>> make[2]: *** [mpio] Error 2
>> make[1]: *** [mpi-modules] Error 1
>> make: *** [mpi] Error 2
>> Failure in building MVAPICH.*
>>
>> 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.
> 
> I'll continue to look into this as well.
> 
> 

Just another suggestion.  Can you try MVAPICH from our trunk and/or 
mvapich2 to see if you encounter the same issue?  Is there an older 
version of MVAPICH that you got to work with the same configuration?

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo


More information about the mvapich-discuss mailing list