UMR-CNRM / pyfortool

Python FORTRAN tool
Other
2 stars 3 forks source link

Towards version 1.0 #18

Open SebastienRietteMTO opened 9 months ago

SebastienRietteMTO commented 9 months ago

Several features must be implemented first:

And some issues must be solved:

SebastienRietteMTO commented 2 months ago

The commit 76f61bcd9eae523ced16e8d854e0f065fa82078e adds the possibility to apply a set of transformations in parallel to the files in the tree. One thread by file, and inside each process there's a loop on the transformations to apply.

To apply a set of transformations in the way described in the issue, we would need to reverse both loops: an outer loop on the transformations and the inner loop with the files. We cannot apply the transformations on parallel, the processes are still affected one per file. But we cannot instantiate as much processes as there are files, then we would need to open, read, write and close each file several times.