source: codes/icosagcm/trunk/src/netcdf_mod.F90 @ 61

Last change on this file since 61 was 44, checked in by dubos, 12 years ago

Small fixes to enable compilation on MacOSX
Introduced key CPP_NETCDF4 (netcdf_mod.F90) to enable NetCDF4 with sequential version.

Tested : test case 3 with nbp=20 on MacOSX, sequential, gfortran 4.5.4, NetCDF4.2

File size: 359 bytes
RevLine 
[26]1MODULE netcdf_mod
2  USE netcdf
3
[44]4#ifndef CPP_NETCDF4
[26]5  INTEGER ::  NF90_NETCDF4
6  INTEGER ::  NF90_MPIIO
7  INTEGER ::  NF90_CHUNKED
8 
9  INTEGER,EXTERNAL :: NF90_CREATE_PAR
10  INTEGER,EXTERNAL :: NF90_DEF_VAR_CHUNKING 
[44]11#endif
[26]12
13END MODULE netcdf_mod
14
[44]15#ifndef CPP_NETCDF4
[26]16   SUBROUTINE NF90_CREATE_PAR
17   END
18   
19   SUBROUTINE NF90_DEF_VAR_CHUNKING
20   END
[44]21#endif
Note: See TracBrowser for help on using the repository browser.