Create a directory to keep the solution files from all the processor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | dirname |
subroutine create_directory(dirname)
!< Create a directory to keep the solution files from all the processor
implicit none
character(len=*), intent(in) :: dirname
character(len=FILE_NAME_LENGTH) :: mkdircmd
mkdircmd = 'mkdir -p '//trim(dirname)
call system(mkdircmd)
end subroutine create_directory