This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

random_shuffle does not work for OMP_NUM_THREADS 1


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'




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]