Skip to content

Commit 27ecf63

Browse files
authored
Merge pull request #956 from YuLiu98/develop
fix : add judgment for sto-md to make a dir
2 parents df16499 + e7563ed commit 27ecf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_base/global_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void ModuleBase::Global_File::make_dir_out(
8484
MPI_Barrier(MPI_COMM_WORLD);
8585
#endif
8686

87-
if(calculation == "md")
87+
if(calculation == "md" && calculation == "sto-md")
8888
{
8989
int make_dir_stru = 0;
9090
std::string command1 = "test -d " + GlobalV::global_stru_dir + " || mkdir " + GlobalV::global_stru_dir;

0 commit comments

Comments
 (0)