-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core]: Added ofi_get_realtime interfaces
Added new interfaces to support pthread_cond_timedwait which use CLOCK_REALTIME.In general CLOCK_MONOTONIC is preferred and in use by several providers, therefore new interfaces are added to support the special case of pthread apis. [prov/sockets]: changes made to use ofi_get_realtime instead of ofi_get_time before ofi_wait_cond. Signed-off-by: Nikhil Nanal <[email protected]>
- Loading branch information
1 parent
3180bab
commit 1a6447a
Showing
6 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1a6447a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikhilnanal @j-xiong i am reaching out to know if
if (shm->shared_fd < 0) {
FI_WARN(&core_prov, FI_LOG_CORE, "shm_open failed\n");
ret = -FI_EINVAL;
goto failed;
}
the warning in unis/osd.c has any detrimental consequences because if we enable FI_LOG_LEVEL=Debug we see the following in our log
"libfabric:458240:1718387425::psm3:av:psmx3_av_open():995 housky-n-cp503a35.americas.shell.com:rank39: FI_AV_MAP asked, but force FI_AV_TABLE for shared AV
libfabric:458255:1718387425::core:core:ofi_shm_map():173 shm_open failed
libfabric:458255:1718387425::psm3:av:psmx3_av_open():1050 housky-n-cp503a35.americas.shell.com:rank37: failed to map shared AV: FI_NAMED_AV_0
"
please help me understand this.
Thanks in advance.
1a6447a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nahkbce2 I don't think the
FI_WARN
statement has any side effects other than providing the feedback to users. If you are talking about the entireif
block, that's the necessary error check. The log indicates that the shm object named "FI_NAMED_AV_0" for the shared AV can't be opened. Do you see that name under/dev/shm
at the timepsmx3_av_open
is called?1a6447a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j-xiong Thank you for responding, i am a newbie and dont know how to check /dev/shm. Could you pls give me some instructions on how to do that?
