Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psco-2019-gp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Julian Scherzer
psco-2019-gp
Commits
350ef221
Commit
350ef221
authored
5 years ago
by
Florian Heinrichs
Browse files
Options
Downloads
Patches
Plain Diff
script for fa
parent
9d419194
Branches
Branches containing commit
2 merge requests
!11
Forced assignments
,
!10
Forced assignments
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmark/execute_fa.sh
+25
-0
25 additions, 0 deletions
benchmark/execute_fa.sh
with
25 additions
and
0 deletions
benchmark/execute_fa.sh
0 → 100755
+
25
−
0
View file @
350ef221
#!/bin/bash
BIN
=
../build/gp-bnb
OPT
=
"-l fa"
TIMEOUT
=
600
if
[
"
$1
"
=
"--help"
]
||
[
"
$1
"
=
"-h"
]
;
then
echo
"Aufruf: sh execute.sh [PATH-TO-BINARY]"
exit
0
elif
[
-n
"
$1
"
]
;
then
BIN
=
$1
fi
for
i
in
$(
ls
sample2
)
;
do
FILE
=
sample/
${
i
}
NAME
=
"
$(
echo
"
${
i
}
"
|
sed
's/^.*_//'
|
sed
's/.graph//'
)
"
IFS
=
' '
read
-r
-a
A
<<<
"
$(
head
-n
1
${
FILE
}
)
"
echo
"##################################################################################"
echo
"Start partitioning of graph
${
NAME
}
(#nodes:
${
A
[0]
}
;#edges:
${
A
[1]
}
)"
echo
"##################################################################################"
timeout
${
TIMEOUT
}
${
BIN
}
${
FILE
}
${
OPT
}
echo
""
done
exit
0
This diff is collapsed.
Click to expand it.
Preview
0%
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