[petsc-dev] Random values with c89
Jed Brown
jedbrown at mcs.anl.gov
Fri May 10 10:49:56 CDT 2013
"Jose E. Roman" <jroman at dsic.upv.es> writes:
> I tried configuring with CFLAGS="-std=c89 -pedantic -Wno-long-long" and it seems that random vectors do not work. In particular, in src/sys/classes/random/examples/tutorials
> $ ./ex1 -view_randomvalues 0
> returns all zeros.
This occurs because our test for drand48 is broken. Actually, all the
"missing" tests are broken with C89, but fixing the tests opens up
another can of worms. I explained the issue here:
http://lists.mcs.anl.gov/pipermail/petsc-dev/2013-April/011931.html
More information about the petsc-dev
mailing list