Line | |
---|
1 | /* ************************************************************************** * |
---|
2 | * Copyright © IPSL/LSCE, XMLIOServer, Avril 2010 - Octobre 2011 * |
---|
3 | * ************************************************************************** */ |
---|
4 | /** |
---|
5 | * \file main_server.cpp |
---|
6 | * \brief Programme principal du projet. |
---|
7 | * \author Hervé Ozdoba |
---|
8 | * \version 0.4 |
---|
9 | * \date 1er Juin 2011 |
---|
10 | * |
---|
11 | * Ce fichier contient le point d'entrée du programme permettant |
---|
12 | * de lancer le serveur d'Entrée/Sortie parallÚle. |
---|
13 | */ |
---|
14 | |
---|
15 | // XMLIOServer headers |
---|
16 | #include "xmlioserver_spl.hpp" |
---|
17 | |
---|
18 | #include "mpi_interface.hpp" |
---|
19 | #include "onetcdf4.hpp" |
---|
20 | #include "onetcdf4_impl.hpp" |
---|
21 | |
---|
22 | namespace xios = xmlioserver; |
---|
23 | //~ using namespace xios::data; |
---|
24 | using namespace xios::io; |
---|
25 | //~ using namespace xios::tree; |
---|
26 | //~ using namespace xios::xml; |
---|
27 | using namespace xios::comm; |
---|
28 | //~ using namespace xios::func; |
---|
29 | |
---|
30 | // Point d'entrée du programme serveur principal. |
---|
31 | int main (int argc, char ** argv, char ** XIOS_UNUSED (env)) |
---|
32 | { |
---|
33 | try |
---|
34 | { |
---|
35 | CMPIManager::Initialise(&argc, &argv); |
---|
36 | { |
---|
37 | |
---|
38 | } |
---|
39 | CMPIManager::Finalize(); |
---|
40 | } |
---|
41 | catch (xios::CException & _exception) |
---|
42 | { |
---|
43 | std::cerr << _exception.getMessage() << std::endl; |
---|
44 | return (-1); |
---|
45 | } |
---|
46 | return (0); |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.