Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] openmpi-1.5.5rc1: atomic_cmpset failure on Solaris10/UltraSPARC-T2
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2011-12-21 00:41:33


Building openmpi-1.5.5rc1 on Solaris10/UltraSPARC-T2 (with -mcpu=v9 as
README requires) I see the following from "make check":
> --> Testing atomic_cmpset
> Assertion failed: volptr == newptr, file
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/atomic_cmpset.c,
> line 199
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/run_tests:
> line 8: 19487 Abort
> (core dumped) $* $threads
> - 1 threads: Failed
> Assertion failed: volptr == newptr, file
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/atomic_cmpset.c,
> line 199
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/run_tests:
> line 8: 19488 Abort
> (core dumped) $* $threads
> - 2 threads: Failed
> Assertion failed: volptr == newptr, file
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/atomic_cmpset.c,
> line 199
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/run_tests:
> line 8: 19489 Abort
> (core dumped) $* $threads
> - 4 threads: Failed
> Assertion failed: volptr == newptr, file
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/atomic_cmpset.c,
> line 199
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/run_tests:
> line 8: 19490 Abort
> (core dumped) $* $threads
> - 5 threads: Failed
> Assertion failed: volptr == newptr, file
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/atomic_cmpset.c,
> line 199
> /home/hargrove/OMPI/openmpi-1.5.5rc1//openmpi-1.5.5rc1/test/asm/run_tests:
> line 8: 19491 Abort
> (core dumped) $* $threads
> - 8 threads: Failed
> FAIL: atomic_cmpset

The vital stats:
> $ uname -a
> SunOS [hostname] 5.10 Generic_137111-07 sun4v sparc SUNW,T5240
> $ which gcc
> /usr/bin/gcc
> $ gcc --version | head -1
> sparc-sun-solaris2.10-gcc (GCC) 4.0.4 (gccfss)
Note that "gccfss" is a GCC front-end grafted onto Sun's own back-end.

Configured with "CFLAGS=-mcpu=v9 CXXFLAGS=-mcpu=v9 --disable-mpi-f77
--disable-mpi-f90 --without-hwloc"
Which results in
> $ grep -i atomic config.log
> configure:27700: result: yes (atomic-sparcv9-32-solaris.s)
> configure:27757: checking for atomic assembly filename
> configure:27764: result: atomic-sparcv9-32-solaris.s
> ompi_cv_asm_file=atomic-sparcv9-32-solaris.s
> OMPI_ASM_FILE='atomic-sparcv9-32-solaris.s'

-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900