This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/32467] structure containing allocatable array is accepted in COPYIN clause



------- 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


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