[MPICH] PGI with mpich2[Scanned]

Arif Ali aali at ocf.co.uk
Mon Aug 8 07:15:26 CDT 2005


Hi,

I am now compiling on the same cluster mpich2 with ssm with PGI 
compilers, haven't had not problems with PGI/MPICH1 before, below I have 
attached the build.sh which I use to build the mpich2. The configure 
goes ok, but I get to a problem with compiling, any help here would be 
useful thanks, I hav included the error message below aas well when 
comipling

thanks
Arif

----------------------build.sh------------------------
#!/bin/bash

PREFIX=/opt/mpich/pgi
PGIVERSION=6.0
MPICHVERSION=1.0.2p1

BUILD_DIR=$PREFIX
mkdir -p $BUILD_DIR
export PGI=/usr/pgi
export PATH=$PGI/linux86-64/$PGIVERSION/bin:$PATH
export PGI_FLAGS="-tp k8-64 -mcmodel=medium"
export OPTFLAGS="-fast"
#export LDFLAGS=$PGI_FLAGS
export RSHCOMMAND=ssh
export CXX=pgCC
export CC=pgcc
export FC=pgf77
export F90=pgf90
export CCLINKER=pgCC
export CLINKER=pgcc
export FLINKER=pgf77
export F90LINKER=pgf90
export CCFLAGS="$PGI_FLAGS"
export CFLAGS="$PGI_FLAGS"
export FFLAGS="$PGI_FLAGS"
export F90FLAGS="$PGI_FLAGS"
../mpich2-$MPICHVERSION/configure \
--prefix=$BUILD_DIR \
--with-device=ch3:ssm --with-cxx --with-f77 \
 > $BUILD_DIR/configure.log 2>&1
make > $BUILD_DIR/make.log 2>&1
make install > $BUILD_DIR/make_install.log 2>&1
----------------------------------------------------------------------------

----------------------------------make-------------------------------------
Beginning make
make all-local
make[1]: Entering directory `/root/ocf/mpich2/mpich2-build-pgi'
if [ ! -d lib ] ; then mkdir lib ; \
else \
    echo " src/mpid/ch3 src/mpid/common/locks src/mpid/common/sock  
src/mpi/romio src/pmi/simple src/pm/mpd src/mpe2  src/binding/f90" > 
lib/pkglist.new ; \
    echo "pgcc" >>lib/pkglist.new ;\
    echo "--prefix=/opt/mpich/pgi --with-device=ch3:ssm --with-cxx 
--with-f77" >>lib/pkglist.new ; \
    if diff lib/pkglist lib/pkglist.new >/dev/null 2>&1 ; then \
        rm -f lib/pkglist.new ; \
            else \
        make cleanobjsandlibs ; \
        rm -f lib/pkglist ; \
        mv -f lib/pkglist.new lib/pkglist ; \
    fi ; \
fi
make[1]: Leaving directory `/root/ocf/mpich2/mpich2-build-pgi'
make[1]: Entering directory `/root/ocf/mpich2/mpich2-build-pgi/src'
make[2]: Entering directory `/root/ocf/mpich2/mpich2-build-pgi/src/mpid'
make[3]: Entering directory `/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3'
make[4]: Entering directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/channels'
make[5]: Entering directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/channels/ssm'
make[6]: Entering directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock'
make[7]: Entering directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock/poll'
make[7]: Leaving directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock/poll'
make[6]: Leaving directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock'
make[6]: Entering directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/locks'
pgcc -DHAVE_CONFIG_H -I. 
-I../../../../../mpich2-1.0.2p1/src/mpid/common/locks 
-I../../../../../mpich2-1.0.2p1/src/mpid/common/locks -I../../../include 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/include -tp k8-64 -mcmodel=medium 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/binding/f77 
-I/root/ocf/mpich2/mpich2-build-pgi/src/binding/f77 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/include 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/ch3/include 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/datatype 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/common/datatype 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/channels/ssm/include 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/ch3/channels/ssm/include 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/locks 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/common/locks 
-DUSE_PROCESS_LOCKS 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/common/sock 
-I/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/sock/poll 
-I/root/ocf/mpich2/mpich2-1.0.2p1/src/mpid/common/sock/poll -c 
../../../../../mpich2-1.0.2p1/src/mpid/common/locks/mpidu_process_locks.c
PGC-F-0249-#error --  *** No atomic memory operation specified to 
implement busy locks *** 
(../../../../../mpich2-1.0.2p1/src/mpid/common/locks/mpidu_process_locks.h: 
234)
PGC/x86-64 Linux/x86-64 6.0-2: compilation aborted
make[6]: *** [mpidu_process_locks.o] Error 2
make[6]: Leaving directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/common/locks'
make[5]: *** [all-redirect] Error 2
make[5]: Leaving directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/channels/ssm'
make[4]: *** [all-redirect] Error 1
make[4]: Leaving directory 
`/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3/channels'
make[3]: *** [all-redirect] Error 2
make[3]: Leaving directory `/root/ocf/mpich2/mpich2-build-pgi/src/mpid/ch3'
make[2]: *** [all-redirect] Error 1
make[2]: Leaving directory `/root/ocf/mpich2/mpich2-build-pgi/src/mpid'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/root/ocf/mpich2/mpich2-build-pgi/src'
make: *** [all-redirect] Error 2
--------------------------------------------------------------------------------------------------------------------------

-- 
Arif Ali
Software Engineer
OCF plc
Mob:    +44 (0)7970 148122
Office: +44 (0)114 2572200
Fax:    +44 (0)114 2570022
Web:    http://www.ocf.co.uk

This email including any attachments to it is confidential and intended solely for the use of the individual to whom it is addressed. Its contents may be protected by copyright. If you are not the intended recipient, please be advised that you have received this email in error and that you should delete it from your system and not copy its contents or disclose them to any other person. If you have received this email in error please notify OCF plc by telephone on 0845 702 3829

We do not accept responsibility for viruses; you must scan for these.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aali.vcf
Type: text/x-vcard
Size: 315 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050808/0373d893/attachment.vcf>


More information about the mpich-discuss mailing list