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.
This commit is contained in:
parent
f815c8f192
commit
60477481dd
1 changed files with 5 additions and 0 deletions
|
|
@ -518,6 +518,11 @@ MODULE moduleSolver
|
||||||
|
|
||||||
INTEGER, INTENT(in):: t
|
INTEGER, INTENT(in):: t
|
||||||
|
|
||||||
|
IF (t == tInitial) THEN
|
||||||
|
CALL SYSTEM('git rev-parse HEAD > ' // path // folder // '/' // 'fpack_commit.txt')
|
||||||
|
|
||||||
|
END IF
|
||||||
|
|
||||||
counterOutput = counterOutput + 1
|
counterOutput = counterOutput + 1
|
||||||
IF (counterOutput >= triggerOutput .OR. &
|
IF (counterOutput >= triggerOutput .OR. &
|
||||||
t == tFinal .OR. t == tInitial) THEN
|
t == tFinal .OR. t == tInitial) THEN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue