-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: a particle only test case. #1670
base: dev
Are you sure you want to change the base?
Conversation
todo: BTD support
for more information, see https://pre-commit.ci
{ | ||
m_Rank = rank; | ||
#if defined(__linux) | ||
// m_Name = "/proc/meminfo"; |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* | ||
m_Silent = silent; | ||
if (!m_Silent) | ||
MemoryProfiler(rank, tag); | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
|
||
std::string m_Tag; | ||
int m_Rank = 0; | ||
// bool m_Silent = false; |
Check notice
Code scanning / CodeQL
Commented-out code Note
for (const auto &[name, p] : m_GlobalProfilers) | ||
{ | ||
std::vector<double> result(input.m_MPISize, 0); | ||
// unsigned long buffer[m_Input.m_MPISize]; |
Check notice
Code scanning / CodeQL
Commented-out code Note
// currSpecies["positionOffset"]["x"].resetDataset(realDataSet); | ||
// currSpecies["positionOffset"]["x"].makeConstant(0.); |
Check notice
Code scanning / CodeQL
Commented-out code Note
if (m_Input.m_UseJoinedDim) | ||
return; | ||
} | ||
// Timer g("Gather Particle logistics ", m_Input.m_MPIRank); |
Check notice
Code scanning / CodeQL
Commented-out code Note
for more information, see https://pre-commit.ci
{ | ||
std::string filename = argv[1]; | ||
std::fstream infile; | ||
infile.open(filename, std::ios::in); |
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression High
user input (a command-line argument)
This argument to a file access function is derived from
Particle only test for particles only.
example input file:
encoding=v
fileLocation=joined
maxMil=1
minMil=1
steps=2
joinedArray=true
backend=bp
usePDW=true
To do: simulate a BTD use case