Skip to content
Snippets Groups Projects
Commit 7da40c64 authored by Lenz's avatar Lenz
Browse files

changes ASCII writer file name for mMulti GPU

parent c9418e00
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ public:
//calc
int numberNodes = (int)para->getParH(level)->size_Mat_SP;
//write
UbFileOutputASCII out(para->getFName() + "_VelocitiesASCII_" + std::to_string(level) + "_" + std::to_string(t) + ".dat");
UbFileOutputASCII out(para->getFName() + "_VelocitiesASCII_" + std::to_string(level) + "_ID_" + StringUtil::toString<int>(para->getMyID()) + "_t_" + std::to_string(t) + ".dat");
//header
out.writeString("Level:");
out.writeInteger(level);
......
......@@ -3,7 +3,7 @@
#include <map>
#include <string>
#include <exception>
#include <stdexcept>
template <typename T>
class EnumMapperImp
......
......@@ -101,8 +101,9 @@ int mpiWorldSize;
std::string kernel( "CumulantK17Comp" );
//std::string path("F:/Work/Computations/out/TaylorGreen3DNew/"); //LEGOLAS
std::string path("results/"); //PHOENIX
//std::string path("results/"); //PHOENIX
//std::string path("E:/DrivenCavity/results/"); //TESLA03
std::string path("E:/TaylorGreen3D/"); //AzultecPC
std::string simulationName("TGV_3D");
//////////////////////////////////////////////////////////////////////////
......@@ -250,6 +251,8 @@ void multipleLevel(const std::string& configPath)
//para->setDevices(std::vector<uint>{0,1});
para->setDevices(devices);
para->setMaxDev(mpiWorldSize);
//////////////////////////////////////////////////////////////////////////
......@@ -262,6 +265,7 @@ void multipleLevel(const std::string& configPath)
para->setTEnd( 40 * lround(L/velocity) );
para->setTOut( 5 * lround(L/velocity) );
//para->setTOut( 100 );
//para->setTEnd( 1000 );
//para->setTOut( 1 );
......@@ -377,7 +381,7 @@ int main( int argc, char* argv[])
_path << path;
_path << kernel;
_path << "MultiGPU";
_path << "MultiGPU/";
if (useLimiter) _path << "_Limiter";
......
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