Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scord
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eu
ADMIRE
scord
Commits
262311d4
Verified
Commit
262311d4
authored
2 years ago
by
ANA MANZANO RODRIGUEZ
Committed by
Alberto Miranda
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ADM_update_job.cpp creation of job controller added
parent
71518ee5
No related branches found
No related tags found
1 merge request
!12
Resolve "Execute RPCs tests in CI"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/cxx/ADM_update_job.cpp
+11
-1
11 additions, 1 deletion
examples/cxx/ADM_update_job.cpp
with
11 additions
and
1 deletion
examples/cxx/ADM_update_job.cpp
+
11
−
1
View file @
262311d4
...
...
@@ -57,7 +57,17 @@ main(int argc, char* argv[]) {
admire
::
adhoc_storage
::
access_type
::
read_write
,
42
,
100
,
false
);
admire
::
job_requirements
reqs
{
inputs
,
outputs
,
std
::
move
(
p
)};
const
auto
job
=
admire
::
register_job
(
server
,
reqs
);
try
{
[[
maybe_unused
]]
const
auto
job
=
admire
::
register_job
(
server
,
reqs
);
fmt
::
print
(
stdout
,
"ADM_register_job() remote procedure completed "
"successfully
\n
"
);
exit
(
EXIT_SUCCESS
);
}
catch
(
const
std
::
exception
&
e
)
{
fmt
::
print
(
stderr
,
"FATAL: ADM_register_job() failed: {}
\n
"
,
e
.
what
());
exit
(
EXIT_FAILURE
);
}
std
::
vector
<
admire
::
dataset
>
new_inputs
;
...
...
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