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

Last change on this file since 44 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
Line 
1MODULE netcdf_mod
2  USE netcdf
3
4#ifndef CPP_NETCDF4
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 
11#endif
12
13END MODULE netcdf_mod
14
15#ifndef CPP_NETCDF4
16   SUBROUTINE NF90_CREATE_PAR
17   END
18   
19   SUBROUTINE NF90_DEF_VAR_CHUNKING
20   END
21#endif
Note: See TracBrowser for help on using the repository browser.