Quentin 12/07/2021: bugfix revert from commit fde83373 for initialization of IPROC number of variable to write