bsc-pm / dlb

DLB (Dynamic Load Balancing) library is a tool, transparent to the user, that will dynamically react to the application imbalance modifying the number of resources at any given time.
https://pm.bsc.es/dlb
GNU Lesser General Public License v3.0
21 stars 6 forks source link

Talp example bug: doesn't print the summary table. #1

Closed TovRudyy closed 4 years ago

TovRudyy commented 4 years ago

When executing the talp exampe located in dlb/doc/examples/talp it does not print the table summary with the profiling information at the end of its execution.

The reason of that is because the source file talp_01.c lacks one MPI_Finalize() call before the DLB_Finalize():

int main(int argc, char *argv[])
{
.
.
.
    } else {
        printf("DLB failed with the following error: %s\n", DLB_Strerror(err));
    }
    printf("Finalizing TALP example.\n");
    MPI_Finalize();
    DLB_Finalize();

    return 0;
}

All the best,

vlopezh commented 4 years ago

Fixed in 57de413 Thanks Olek