Rev | Line | |
---|
[215] | 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 | |
---|
[249] | 18 | #include "mpi_interface.hpp" |
---|
| 19 | #include "onetcdf4.hpp" |
---|
| 20 | #include "onetcdf4_impl.hpp" |
---|
[229] | 21 | |
---|
[215] | 22 | namespace xios = xmlioserver; |
---|
| 23 | //~ using namespace xios::data; |
---|
[229] | 24 | using namespace xios::io; |
---|
[215] | 25 | //~ using namespace xios::tree; |
---|
| 26 | //~ using namespace xios::xml; |
---|
[249] | 27 | using namespace xios::comm; |
---|
[215] | 28 | //~ using namespace xios::func; |
---|
| 29 | |
---|
| 30 | // Point d'entrée du programme serveur principal. |
---|
[249] | 31 | int main (int argc, char ** argv, char ** XIOS_UNUSED (env)) |
---|
[215] | 32 | { |
---|
| 33 | try |
---|
| 34 | { |
---|
[249] | 35 | CMPIManager::Initialise(&argc, &argv); |
---|
| 36 | { |
---|
[215] | 37 | |
---|
[249] | 38 | } |
---|
| 39 | CMPIManager::Finalize(); |
---|
[215] | 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.