-
wfg authored
Must use polymorphism of the CVariable class with Get and Set? Union should be avoided as it doesn't preserve actual memory size of variable type (always returns the largest).
wfg authoredMust use polymorphism of the CVariable class with Get and Set? Union should be avoided as it doesn't preserve actual memory size of variable type (always returns the largest).
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
helloADIOS_nompi.cpp 492 B
/*
* helloADIOS_nompi.cpp
*
* Created on: Oct 4, 2016
* Author: wfg
*/
#include <stdexcept>
#include <iostream>
#include "public/ADIOS.h"
int main( int argc, char* argv [] )
{
try
{
adios::ADIOS adios( "writer2Groups.xml", true ); //testing with CPOSIXNoMPI
adios.MonitorGroups( std::cout );
std::cout << "Finished initializing ADIOS\n";
}
catch( std::exception& e )
{
std::cout << e.what() << "\n";
}
return 0;
}