Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 4af965a1 authored by frey_m's avatar frey_m
Browse files

AMR test case: Add option for weak scaling (testGaussian.cpp).

parent 000aad21
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
* Call:\n
* mpirun -np [#cores] testGaussian [#gridpoints x] [#gridpoints y] [#gridpoints z]
* [#particles] [#levels] [max. box size]
* [out: timing file name (optiona)]
*
* @brief Computes \f$\Delta\phi = -\rho\f$
*/
......@@ -284,7 +285,7 @@ int main(int argc, char *argv[]) {
std::stringstream call;
call << "Call: mpirun -np [#procs] " << argv[0]
<< " [#gridpoints x] [#gridpoints y] [#gridpoints z] [#particles] "
<< "[#levels] [max. box size]";
<< "[#levels] [max. box size] [out: timing file name (optiona)]";
if ( argc < 7 ) {
msg << call.str() << endl;
......@@ -319,6 +320,9 @@ int main(int argc, char *argv[]) {
<< std::setfill('0') << std::setw(6) << Ippl::getNodes()
<< "-threads-1.dat";
if ( argc == 8 )
timefile << std::string(argv[7]);
IpplTimings::print(timefile.str());
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment