Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double finalization when using application interface in test programs #809

Open
wangvsa opened this issue Mar 7, 2024 · 0 comments
Open

Comments

@wangvsa
Copy link
Collaborator

wangvsa commented Mar 7, 2024

Describe the problem you're observing

When using the application interface, I got a unmount error at the end of execution.
it seems that the unifyfs_finalize() is called twice. See logs below.

Describe how to reproduce the problem

With the -a flag, test_fini() will report a unmount error
mpirun -n 1 write-static -n 1 -b 1048576 -f test -r -a --verbose

Include any warning or errors or releveant debugging data

DEBUG: finished stat
I/O pattern:               N-to-1
2024-03-07T11:35:21 tid=884873 @ unifyfs_finalize() [unifyfs_api.c:295] syncing data
I/O block size:            1024.00 KiB
2024-03-07T11:35:21 tid=884873 @ unifyfs_finalize() [unifyfs_api.c:303] calling unmount
I/O request size:          1024.00 KiB
2024-03-07T11:35:21 tid=884873 @ invoke_client_unmount_rpc() [margo_client.c:391] invoking the unmount rpc function in client
Number of processes:       1
Each process wrote:        1.00 MiB
Total data written:        1.00 MiB
File create time:          0.005440 sec
Maximum write time:        0.001199 sec
Global write time:         0.001199 sec
Maximum sync time:         0.050524 sec
Global sync time:          0.050524 sec
File laminate time:        0.000000 sec
Full write time:           0.057638 sec
File stat time:            0.000421 sec
Aggregate write bandwidth: 834.028 MiB/s
Effective write bandwidth: 834.028 MiB/s

2024-03-07T11:39:39 tid=884943 @ get_page_size() [../../common/src/unifyfs_logio.c:83] returning page size 4096 B
2024-03-07T11:39:39 tid=884943 @ unifyfs_finalize() [unifyfs_api.c:295] syncing data
2024-03-07T11:39:39 tid=884943 @ unifyfs_finalize() [unifyfs_api.c:303] calling unmount
2024-03-07T11:39:39 tid=884943 @ unifyfs_finalize() [unifyfs_api.c:306] client unmount rpc failed
2024-03-07T11:39:39 tid=884943 @ get_page_size() [../../common/src/unifyfs_logio.c:83] returning page size 4096 B
UNIFYFS ERROR: unifyfs_unmount() failed with 'Failure'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant