We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27ecf63 + 015e04c commit 7df0dafCopy full SHA for 7df0daf
source/module_base/global_file.cpp
@@ -84,7 +84,7 @@ void ModuleBase::Global_File::make_dir_out(
84
MPI_Barrier(MPI_COMM_WORLD);
85
#endif
86
87
- if(calculation == "md" && calculation == "sto-md")
+ if(calculation == "md" || calculation == "sto-md")
88
{
89
int make_dir_stru = 0;
90
std::string command1 = "test -d " + GlobalV::global_stru_dir + " || mkdir " + GlobalV::global_stru_dir;
0 commit comments