reporting command line call

This commit is contained in:
Martin Diehl 2018-12-17 21:30:10 +01:00
parent d00154299b
commit 27322847a4
1 changed files with 6 additions and 2 deletions

View File

@ -52,11 +52,15 @@ end subroutine results_init
subroutine results_openJobFile() subroutine results_openJobFile()
use DAMASK_interface, only: & use DAMASK_interface, only: &
getSolverJobName getSolverJobName
implicit none implicit none
character(len=pStringLen) :: commandLine
resultsFile = HDF5_openFile(trim(getSolverJobName())//'.hdf5','a',.true.) resultsFile = HDF5_openFile(trim(getSolverJobName())//'.hdf5','a',.true.)
call HDF5_addAttribute(resultsFile,'DADF5version',0.1_pReal) call HDF5_addAttribute(resultsFile,'DADF5',0.1_pReal)
call HDF5_addAttribute(resultsFile,'DAMASKversion',DAMASKVERSION) call HDF5_addAttribute(resultsFile,'DAMASK',DAMASKVERSION)
call get_command(commandLine)
call HDF5_addAttribute(resultsFile,'call',trim(commandLine))
end subroutine results_openJobFile end subroutine results_openJobFile