University of Colorado
The table below shows the lines of code changed to adapt codes for ESMF. The last code in the table, the Hakamada-Akasofu-Fry (HAF) solar wind model, was parallelized at the same time that it was ESMF-ized, so it was subject to more code changes than the others.
|Number of non-comment lines of code|
A perl script is available from BEI that will calculate your code changes. Users need to have old and new copies of their codes e.g. B.ESMF and A.ESMF. The script works better if these versions are in separate directories. To invoke the script:
./code_change_measure.pl dir1 dir2 > summary_changes.txt
Access and questions related to this script should be directed to Lucy Smedstad at the Naval Research Laboratory.