Adds the commit to the output folder #40
1 changed files with 5 additions and 0 deletions
Adds the commit to the output folder
I thought it will be a good idea to write the commit into the output folder to better track the code version responsible for the results.
commit
60477481dd
|
|
@ -518,6 +518,11 @@ MODULE moduleSolver
|
|||
|
||||
INTEGER, INTENT(in):: t
|
||||
|
||||
IF (t == tInitial) THEN
|
||||
CALL SYSTEM('git rev-parse HEAD > ' // path // folder // '/' // 'fpack_commit.txt')
|
||||
|
||||
END IF
|
||||
|
||||
counterOutput = counterOutput + 1
|
||||
IF (counterOutput >= triggerOutput .OR. &
|
||||
t == tFinal .OR. t == tInitial) THEN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue