Ignore:
Timestamp:
03/08/17 16:55:00 (7 years ago)
Author:
yushan
Message:

server mode OK tested with test_complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/interface/c/icdata.cpp

    r1060 r1067  
    11/* ************************************************************************** * 
    2  *      Copyright © IPSL/LSCE, xios, Avril 2010 - Octobre 2011         * 
     2 *      Copyright IPSL/LSCE, xios, Avril 2010 - Octobre 2011         * 
    33 * ************************************************************************** */ 
    44 
     
    2929extern "C" 
    3030{ 
    31 // /////////////////////////////// Définitions ////////////////////////////// // 
    32  
    33    // ----------------------- Redéfinition de types ---------------------------- 
     31// /////////////////////////////// Dfinitions ////////////////////////////// // 
     32 
     33   // ----------------------- Redfinition de types ---------------------------- 
    3434 
    3535   typedef enum { NETCDF4 = 0 } XFileType; 
     
    3737   typedef xios::CContext* XContextPtr; 
    3838 
    39    // -------------------- Traitement des données ------------------------------ 
     39   // -------------------- Traitement des donnes ------------------------------ 
    4040 
    4141   // This function is not exported to the public Fortran interface, 
     
    8888     CTimer::get("XIOS init context").resume(); 
    8989     comm = ep_lib::EP_Comm_f2c(static_cast< int >(*f_comm)); 
     90 
     91     //ep_lib::MPI_Comm ctx_comm; 
     92     //ep_lib::MPI_Comm_dup(comm, &ctx_comm); 
    9093     
    91      CClient::registerContext(str, comm); 
     94     CClient::registerContext(str,comm); 
    9295      
    93      //printf("icdata.cpp: client register context OK\n"); 
     96     printf("icdata.cpp: client register context %s : %p\n", context_id, &comm); 
    9497      
    9598     CTimer::get("XIOS init context").suspend(); 
     
    384387 
    385388 
    386    // ---------------------- Ecriture des données ------------------------------ 
     389   // ---------------------- Ecriture des donnes ------------------------------ 
    387390 
    388391   void cxios_write_data_k80(const char* fieldid, int fieldid_size, double* data_k8, int data_Xsize) 
     
    719722    } 
    720723 
    721    // ---------------------- Lecture des données ------------------------------ 
     724   // ---------------------- Lecture des donnes ------------------------------ 
    722725 
    723726   void cxios_read_data_k80(const char* fieldid, int fieldid_size, double* data_k8, int data_Xsize) 
Note: See TracChangeset for help on using the changeset viewer.