source: LMDZ6/trunk/libf/phylmd/ecrad/radiation/ecrad_config.h @ 5422

Last change on this file since 5422 was 4859, checked in by idelkadi, 9 months ago
  • Definition commented of ad_config%aerosol_optics_override_file_name in radiation_setup.F90 routine (defined in namelist)
  • Correction following svn485 update (addition of ecrad_config.h file)
File size: 1.3 KB
Line 
1! ecrad_config.h - Preprocessor definitions to configure compilation ecRad -*- f90 -*-
2!
3! (C) Copyright 2023- ECMWF.
4!
5! This software is licensed under the terms of the Apache Licence Version 2.0
6! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
7!
8! In applying this licence, ECMWF does not waive the privileges and immunities
9! granted to it by virtue of its status as an intergovernmental organisation
10! nor does it submit to any jurisdiction.
11!
12! Author:  Robin Hogan
13! Email:   r.j.hogan@ecmwf.int
14!
15! This file should be included in Fortran source files that require
16! different optimizations or settings for different architectures and
17! platforms.  Feel free to maintain a site-specific version of it.
18
19! The following settings turn on optimizations specific to the
20! long-vector NEC SX (the short-vector x86-64 architecture is assumed
21! otherwise). 
22
23#if defined (__SX__) || defined (_OPENACC)
24#define DWD_TWO_STREAM_OPTIMIZATIONS 1
25#endif
26 
27#if defined (__SX__)
28#define DWD_REDUCTION_OPTIMIZATIONS 1
29#endif
30 
31#if defined (__SX__)
32#define DWD_VECTOR_OPTIMIZATIONS 1
33#endif
34
35! In the IFS, an MPI version of easy_netcdf capability is used so that
36! only one MPI task reads the data files and shares with the other
37! tasks. The MPI version is not used for writing files.
38
39!#define EASY_NETCDF_READ_MPI 1
Note: See TracBrowser for help on using the repository browser.