This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32467] structure containing allocatable array is accepted in COPYIN clause
- From: "longb at cray dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2007 18:20:02 -0000
- Subject: [Bug fortran/32467] structure containing allocatable array is accepted in COPYIN clause
- References: <bug-32467-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from longb at cray dot com 2007-06-26 18:20 -------
Subject: Re: structure containing allocatable array is
accepted in COPYIN clause
burnus at gcc dot gnu dot org wrote:
> ------- Comment #4 from burnus at gcc dot gnu dot org 2007-06-22 21:06 -------
> Thanks for the report.
>
>
....
> Reading and re-reading 2.4.1 I fail to find the place which says that with
> omp_set_dynamic(.true.)
> omp_set_num_threads(4)
> the number of threads is guaranteed to be 4. Using omp_set_dynamic(.false.) the
> situation is clear and gfortran (and sunf95) produce the same result.
> I have the feeling that the result of gfortran is perfectly valid.
>
I agree. If dynamic mode is off, the number of threads can be less than
num_threads.
> ifort seems to default for dyn-var = true to the specified number number of
> processors whereas sunf95 and gfortran seem to use min(CPU cores online,
> specified num_threads).
>
Useful information. Thanks.
Cheers,
Bill
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32467