Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
75dc1d63
Commit
75dc1d63
authored
Feb 1, 2022
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Add a NotImplementedError exception when using sockets with MPI
parent
26ddd753
No related branches found
No related tags found
1 merge request
!126
Begin socket handling: core functionalities are available
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/utils/Socket.cpp
+8
-1
8 additions, 1 deletion
src/utils/Socket.cpp
with
8 additions
and
1 deletion
src/utils/Socket.cpp
+
8
−
1
View file @
75dc1d63
#include
<utils/Exceptions.hpp>
#include
<utils/Socket.hpp>
#include
<utils/Messenger.hpp>
#include
<arpa/inet.h>
#include
<cstring>
#include
<iostream>
...
...
@@ -62,7 +64,12 @@ class Socket::Internals
Internals
(
const
Internals
&
)
=
delete
;
Internals
(
Internals
&&
)
=
delete
;
Internals
(
bool
is_server_socket
=
false
)
:
m_is_server_socket
{
is_server_socket
}
{}
Internals
(
bool
is_server_socket
=
false
)
:
m_is_server_socket
{
is_server_socket
}
{
if
(
parallel
::
size
()
>
1
)
{
throw
NotImplementedError
(
"Sockets are not managed in parallel"
);
}
}
~
Internals
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment