ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
depend_mock.h
Go to the documentation of this file.
1#include <fstream>
2//memory.cpp depends on GlobalV::ofs_running and reduce_all
3//GPU depends on reduce_pool
4#ifdef __MPI
5#include "mpi.h"
6
7extern MPI_Comm POOL_WORLD;
8namespace Parallel_Reduce
9{
10 void reduce_all(double& object);
11 void reduce_pool(double& object);
12 void reduce_pool(float& object);
13}
14#endif
15
16namespace GlobalV
17{
18 extern std::ofstream ofs_running;
19}
MPI_Comm POOL_WORLD
Definition parallel_comm.cpp:6
Definition global_variable.cpp:14
std::ofstream ofs_running
Definition global_variable.cpp:38
Definition parallel_reduce.h:14
void reduce_all(T &object)
reduce in all process
Definition depend_mock.cpp:14
void reduce_pool(T &object)
Definition depend_mock.cpp:15