This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/28452] __gfortran_random_r10 not found
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2006 17:23:09 -0000
- Subject: [Bug libfortran/28452] __gfortran_random_r10 not found
- References: <bug-28452-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tkoenig at gcc dot gnu dot org 2006-07-23 17:23 -------
While I work on this, I might as well tackle some other issues.
Before I start work, some timings with a vanilla tree as of today.
The timing isn't terrible (within a factor of two with Intel 8.1),
but of course, I don't know Intel's quality of RNG.
$ cat random-single.f90
program main
real, dimension(10**7) :: a
call random_number(a)
end program main
$ gfortran random-single.f90
$ ./a.out && time ./a.out
real 0m0.765s
user 0m0.730s
sys 0m0.036s
$ ifort random-single.f90
$ ./a.out && time ./a.out
real 0m0.362s
user 0m0.313s
sys 0m0.049s
$ cat random-double.f90
program main
real(kind=8), dimension(10**7) :: a
call random_number(a)
end program main
$ gfortran random-double.f90
$ ./a.out && time ./a.out
real 0m0.886s
user 0m0.804s
sys 0m0.077s
$ ifort random-double.f90
$ ./a.out && time ./a.out
real 0m0.402s
user 0m0.328s
sys 0m0.074s
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28452