random_shuffle does not work for OMP_NUM_THREADS 1

Vincenzo Innocente vincenzo.innocente@cern.ch
Fri Jul 4 13:49:00 GMT 2008


    Dear std developers,
I think I have evidence that the parallel version of random_shuffle  
does not work for OMP_NUM_THREADS=1 (does not shuffle!)
1) is this already known?
2) if not, how shall I submit a bug-report?

   regards,
          Vincenzo Innocente
                     CERN

I use
uname -a
Linux  2.6.25.1-pfm080429 #1 SMP Tue May 6 17:53:24 CEST 2008 x86_64  
x86_64 x86_64 GNU/Linux

c++ -O2 -D_GLIBCXX_PARALLEL -fopenmp -pthread  -v
GNU C++ (GCC) version 4.3.1 (x86_64-unknown-linux-gnu)
	compiled by GNU C version 4.3.1, GMP version 4.2.2, MPFR version 2.3.1.
warning: GMP header version 4.2.2 differs from library version 4.1.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min- 
heapsize=131072
Compiler executable checksum: 430f7ac2667711e9fed5f89e3e054e7c
COLLECT_GCC_OPTIONS='-O2' '-D_GLIBCXX_PARALLEL' '-fopenmp' '-pthread'  
' '-v' '-shared-libgcc' '-mtune=generic' '-pthread'




More information about the Libstdc++ mailing list