Search found 17 matches

by FDSUser
Thu Apr 18, 2013 2:22 pm
Forum: OpenMP 4.0 Public Review Release Candidates
Topic: OMP_STACKSIZE issue
Replies: 0
Views: 22785

OMP_STACKSIZE issue

All, during parallelization work of a CFD code with OpenMP we found out that sometimes the software was not running because the OMP_STACKSIZE was not big enough. We told our users to set-up a higher value but we have no possibility to check, if this has been done right... So, a great feature would b...
by FDSUser
Fri Jun 10, 2011 3:22 am
Forum: Using OpenMP
Topic: Do-Loop and DEFAULT(NONE) clause
Replies: 9
Views: 10208

Re: Do-Loop and DEFAULT(NONE) clause

I use the Sun/Oracle compiler which is in the latest .tar-file downloaded two days ago. It is the Sun/Oracle Fortran Compiler included in Oracle Studio 12.2 (f90: Sun Fortran 95 8.5 Linux_i386 2010/08/13) Here are also the compilation flags I used: -m64 -Bstatic -openmp If people from Oracle are int...
by FDSUser
Thu Jun 09, 2011 9:00 am
Forum: Using OpenMP
Topic: Do-Loop and DEFAULT(NONE) clause
Replies: 9
Views: 10208

Re: Do-Loop and DEFAULT(NONE) clause

No, the other loops are like the loop I posted, but here is the full part of the code (the parallel section). !$OMP PARALLEL DEFAULT(NONE) & !$OMP SHARED(KBAR,IBAR,JBAR,US,VS,WS,U,V,W,DT,FVX,FVY,FVZ,RDXN,RDYN,RDZN,H, & !$OMP KRES) !$OMP DO COLLAPSE(3) SCHEDULE(STATIC) PRIVATE(K,J,I) DO K=1,KBAR DO J...
by FDSUser
Thu Jun 09, 2011 7:56 am
Forum: Using OpenMP
Topic: Do-Loop and DEFAULT(NONE) clause
Replies: 9
Views: 10208

Re: Do-Loop and DEFAULT(NONE) clause

Thanks for your clarification. I think that my loops are correct, but here is an original example from the code. !$OMP PARALLEL DEFAULT(NONE) & !$OMP SHARED(KBAR,IBAR,JBAR,US,VS,WS,U,V,W,DT,FVX,FVY,FVZ,RDXN,RDYN,RDZN,H, & !$OMP KRES) !$OMP DO COLLAPSE(3) SCHEDULE(STATIC) PRIVATE(K,J,I) DO K=1,KBAR D...
by FDSUser
Thu Jun 09, 2011 6:51 am
Forum: Using OpenMP
Topic: Do-Loop and DEFAULT(NONE) clause
Replies: 9
Views: 10208

Re: Do-Loop and DEFAULT(NONE) clause

:oops: mixing c and fortran... it should only be fortran, like !$OMP PARALLEL DO COLLAPSE(3) DEFAULT(NONE) PRIVATE(I,J,K) SHARED(IBAR,KBAR,JBAR) DO I=1, IBAR DO J=1, JBAR DO K=1, KBAR do some independent work END DO END DO END DO !$OMP END PARALLEL DO I use the Sun/Oracle Fortran Compiler included i...
by FDSUser
Thu Jun 09, 2011 4:57 am
Forum: Using OpenMP
Topic: Do-Loop and DEFAULT(NONE) clause
Replies: 9
Views: 10208

Do-Loop and DEFAULT(NONE) clause

All, I have a very simple question, based on a compiler warning. If I have a loop like FOR I=1, IBAR FOR J=1, JBAR FOR K=1, KBAR do some independent work END DO END DO END DO Is this kind of parallelization for the loop variables correct. !$OMP PARALLEL DO COLLAPSE(3) DEFAULT(NONE) PRIVATE(I,J,K) SH...
by FDSUser
Fri Apr 08, 2011 11:10 am
Forum: Draft 3.1 Public Comment
Topic: Fortran parameter
Replies: 1
Views: 25178

Fortran parameter

All, I checked the 3.1 specification (and 3.0) and found no entry that a fortran parameter can not be used within a shared list, if I use a DEFAULT(NONE) clause. Maybe this could be added for clarification, here a short example, which is not possible: REAL, PARAMETER :: Y_FU_MIN=2.0 !$OMP PARALLEL D...
by FDSUser
Fri Feb 04, 2011 10:42 am
Forum: Using OpenMP
Topic: OpenSource projects heavily using OpenMP?
Replies: 9
Views: 15209

Re: OpenSource projects heavily using OpenMP?

The Fire Dynamics Simulator uses also OpenMP (it is in an early stadium, but some of our source-files have OpenMP compiler directives). Please note the the actual SVN has no correct OpenMP implementation, thus you need one with OpenMP which "should run correctly" have a look at the download-page, at...
by FDSUser
Wed Nov 03, 2010 3:30 am
Forum: Using OpenMP
Topic: Question about OMP_STACKSIZE
Replies: 2
Views: 4478

Question about OMP_STACKSIZE

All, I have two questions about the OMP_STACKSIZE: 1) is it possible to get the actual value of the OMP_STACKSIZE like the OMP_GET_NUM_THREADS in a Fortran program? 2) is it possible to calculate the OMP_STACKSIZE a program needs (it is a CFD programm, thus I would like to calculate like "number of ...
by FDSUser
Tue Jun 02, 2009 6:10 am
Forum: Using OpenMP
Topic: SINGLE vs. ORDERED?
Replies: 1
Views: 3397

SINGLE vs. ORDERED?

All, I have a question about loop parallelization using !$OMP SINGLE or !$OMP DO ORDERED The loop which I have to parallelize must be calculated in sequential order. Because of the code I cannot do anything in parallel, thus values are needed in the next parallel loop. THe structure of the code is a...