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:
Jorge Gonzalez 2023-02-09 16:48:49 +01:00
commit 60477481dd

View file

@ -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