Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
presentation
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sose24-ppds-qp
presentation
Commits
bb470eb8
Verified
Commit
bb470eb8
authored
8 months ago
by
Joshua Balthasar Kobschätzki
Browse files
Options
Downloads
Patches
Plain Diff
chore: add untested setup script for rn.sh
parent
207b2a29
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmark/setup.sh
+33
-0
33 additions, 0 deletions
benchmark/setup.sh
with
33 additions
and
0 deletions
benchmark/setup.sh
0 → 100644
+
33
−
0
View file @
bb470eb8
#!/bin/bash
# setup env for running ppds benchmarks
# asssumes you run on a blogin node as a normal user
set
-xeu
# create main container dir, ppds
cd
"
$HOME
"
mkdir
ppds
# create aux dirs
mkdir
targets aux logs
# clone src
git clone https://git.tu-berlin.de/sose24-ppds-qp/sose24-ppds-qp-rs.git ppds-qp
# check if rustup is available
if
[
-f
"
$HOME
/.cargo/env"
]
;
then
source
"
$HOME
/.cargo/env"
fi
if
!
command
-v
rustup &> /dev/null
then
echo
"Installing rustup"
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs | sh
-s
--
--default-toolchain
none
-y
source
"
$HOME
/.cargo/env"
fi
# pull tested nightly version
rustup toolchain
install
nightly-2024-06-24
echo
"you are ready to rock, just copy your jobfiles into
$(
pwd
)
/aux"
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