milupHPC documentation
  • src
Macros | Functions | Variables
main.cpp File Reference
#include "../include/miluphpc.h"
#include "../include/integrator/explicit_euler.h"
#include "../include/integrator/predictor_corrector_euler.h"
#include "../include/integrator/leapfrog.h"
#include "../include/utils/config_parser.h"
#include <boost/filesystem.hpp>
#include <fenv.h>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <string.h>
#include <random>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Macros

#define ENV_LOCAL_RANK   "OMPI_COMM_WORLD_LOCAL_RANK"
 

Functions

bool checkFile (const std::string file, bool terminate=false, const std::string message="")
 
void SetDeviceBeforeInit ()
 
int main (int argc, char **argv)
 

Variables

structLog LOGCFG = {}
 

Macro Definition Documentation

◆ ENV_LOCAL_RANK

#define ENV_LOCAL_RANK   "OMPI_COMM_WORLD_LOCAL_RANK"

Definition at line 15 of file main.cpp.

Function Documentation

◆ checkFile()

bool checkFile ( const std::string  file,
bool  terminate = false,
const std::string  message = "" 
)

Definition at line 18 of file main.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

SETTINGS/INITIALIZATIONS

MPI rank setting

Setting CUDA device

Command line argument parsing

Config file parsing

Collect settings/information in struct

Logger settings

H5 profiling/profiler

INTEGRATOR SELECTION

MAIN LOOP

END OF SIMULATION

Definition at line 52 of file main.cpp.

+ Here is the call graph for this function:

◆ SetDeviceBeforeInit()

void SetDeviceBeforeInit ( )

Definition at line 34 of file main.cpp.

Variable Documentation

◆ LOGCFG

structLog LOGCFG = {}

Definition at line 50 of file main.cpp.


milupHPC - src/main.cpp File Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3