Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

OpenMP IFX: Problem with IF clause

LarsD1
Beginner
93 Views
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2025.3.0 Build 20251010

 

Constructs private and firstprivate still take effect, even when if(.false.) disables parallelism.  It worked in iFort 2023.

 

This is a critical error.

 

!$omp  parallel if (QMULT)

!$omp.          private(ITH,JPHAS4,QPAKEEP,MTYPE,KLOW,IT,K,JASEQ,
!$omp.                  JRSEQ,JCSEQ,KRSIDP,MSGLV,NACEEQ_PTR,i,ksp)
!$omp.          firstprivate(IPARM,KSPARC,IPT)
!$omp.          num_threads(min(mprocsS(10),nsmat))
!$omp  do  reduction(max : irc) schedule(MONOTONIC:dynamic,1)
 
Is there a solution?
0 Kudos
0 Replies
Reply