Skip to content
Snippets Groups Projects
Commit c8f1b657 authored by LEGOLAS\lenz's avatar LEGOLAS\lenz
Browse files

modifies logfile location in TGV Multi GPU target

parent 1f82ae55
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,7 @@ int mpiWorldSize; ...@@ -101,6 +101,7 @@ int mpiWorldSize;
std::string kernel( "CumulantK17Comp" ); std::string kernel( "CumulantK17Comp" );
std::string path("F:/Work/Computations/out/TaylorGreen3DNew/"); //LEGOLAS std::string path("F:/Work/Computations/out/TaylorGreen3DNew/"); //LEGOLAS
std::string path("results/"); //PHOENIX
//std::string path("E:/DrivenCavity/results/"); //TESLA03 //std::string path("E:/DrivenCavity/results/"); //TESLA03
std::string simulationName("TGV_3D"); std::string simulationName("TGV_3D");
...@@ -243,32 +244,6 @@ void multipleLevel(const std::string& configPath) ...@@ -243,32 +244,6 @@ void multipleLevel(const std::string& configPath)
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
{
std::stringstream _path;
_path << path;
_path << kernel;
_path << "MultiGPU";
if (useLimiter) _path << "_Limiter";
path = _path.str();
}
//////////////////////////////////////////////////////////////////////////
{
std::stringstream _simulationName;
_simulationName << simulationName;
_simulationName << "_nx_" << nx;
_simulationName << "_dtPerL_" << dtPerL << "_";
simulationName = _simulationName.str();
}
//////////////////////////////////////////////////////////////////////////
std::vector<uint> devices( mpiWorldSize ); std::vector<uint> devices( mpiWorldSize );
std::iota(devices.begin(), devices.end(), 0); std::iota(devices.begin(), devices.end(), 0);
...@@ -395,6 +370,34 @@ int main( int argc, char* argv[]) ...@@ -395,6 +370,34 @@ int main( int argc, char* argv[])
if( cmdOptionExists( argv, argv+argc, "--useWale" ) ) if( cmdOptionExists( argv, argv+argc, "--useWale" ) )
useWale = true; useWale = true;
//////////////////////////////////////////////////////////////////////////
{
std::stringstream _path;
_path << path;
_path << kernel;
_path << "MultiGPU";
if (useLimiter) _path << "_Limiter";
path = _path.str();
}
//////////////////////////////////////////////////////////////////////////
{
std::stringstream _simulationName;
_simulationName << simulationName;
_simulationName << "_nx_" << nx;
_simulationName << "_dtPerL_" << dtPerL << "_";
simulationName = _simulationName.str();
}
//////////////////////////////////////////////////////////////////////////
multipleLevel(targetPath + "config.txt"); multipleLevel(targetPath + "config.txt");
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
......
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