Changeset 9471


Ignore:
Timestamp:
2018-04-11T18:04:11+02:00 (3 years ago)
Author:
acc
Message:

Branch 2017/dev_merge_2017. Add protection around compiler directive in geo2ocean.F90 so that it is only applied for Intel compilers. See ticket #2074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/SBC/geo2ocean.F90

    r9467 r9471  
    1010   !!            3.7  !  11-2015  (G. Madec)  remove the unused repere and repcmo routines 
    1111   !!---------------------------------------------------------------------- 
     12#if defined key_agrif 
    1213!clem: these lines do not seem necessary anymore 
    13 #if defined key_agrif 
     14!!DIR$ OPTIMIZE (-O 1)  ! cray formulation 
     15# if defined __INTEL_COMPILER 
     16!acc: still breaks on at least one Ivybridge cluster with ifort 17.0.4 without this directive 
    1417!DIR$ OPTIMIZE:1        ! intel formulation 
    15 !!DIR$ OPTIMIZE (-O 1)   ! cray formulation 
     18# endif 
    1619#endif 
    1720   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.