Changeset 505 for XIOS/trunk


Ignore:
Timestamp:
10/21/14 11:01:56 (10 years ago)
Author:
mhnguyen
Message:

Fixing a minor bug on compiling with sequential netcdf

+) Include more exception header file
+) Locate function in namespace xios

Test
+) On local
+) Mode: With netcdf_par and netcdf_seq
+) Compilation: success. All tests passed

Location:
XIOS/trunk/src/output
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/output/netCdfInterface.cpp

    r501 r505  
    4949   int CNetCdfInterface::createPar(const StdString& fileName, int cMode, MPI_Comm comm, MPI_Info info, int& ncId) 
    5050   { 
    51      int status = ::nc_create_par((fileName.c_str()), cMode, comm, info, &ncId); 
     51     int status = xios::nc_create_par((fileName.c_str()), cMode, comm, info, &ncId); 
    5252     if (NC_NOERR != status) 
    5353     { 
     
    102102   int CNetCdfInterface::openPar(const StdString& fileName, int oMode, MPI_Comm comm, MPI_Info info, int& ncId) 
    103103   { 
    104      int status = ::nc_open_par((fileName.c_str()), oMode, comm, info, &ncId); 
     104     int status = xios::nc_open_par((fileName.c_str()), oMode, comm, info, &ncId); 
    105105     if (NC_NOERR != status) 
    106106     { 
  • XIOS/trunk/src/output/netCdfInterface.hpp

    r501 r505  
    1212#include "xmlioserver_spl.hpp" 
    1313#include "mpi.hpp" 
     14#include "exception.hpp" 
    1415#include "netcdf.hpp" 
    1516 
Note: See TracChangeset for help on using the changeset viewer.