Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
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
Container registry
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
esde
machine-learning
MLAir
Commits
6a6b3e9c
Commit
6a6b3e9c
authored
May 4, 2020
by
Felix Kleinert
Browse files
Options
Downloads
Patches
Plain Diff
clean up setup__venv and mlt_midules.sh
parent
f145d38b
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!125
Release v0.10.0
,
!124
Update Master to new version v0.10.0
,
!97
Felix issue106 hpc modules for juwels
Pipeline
#35929
passed
May 4, 2020
Stage: test
Stage: pages
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mlt_modules.sh
+0
-21
0 additions, 21 deletions
mlt_modules.sh
setup_venv.sh
+0
-30
0 additions, 30 deletions
setup_venv.sh
with
0 additions
and
51 deletions
mlt_modules.sh
deleted
100755 → 0
+
0
−
21
View file @
f145d38b
#!/bin/bash
# __author__ = Felix Kleinert
# __date__ = '2020-04-06'
# This script loads the required modules for mlt which are available on JUWELS.
# Note that some other packages have to be installed into a venv (see setup_venv.sh).
module
--force
purge
module use
$OTHERSTAGES
ml Stages/Devel-2019a
ml GCCcore/.8.3.0
ml Jupyter/2019a-Python-3.6.8
ml Python/3.6.8
ml TensorFlow/1.13.1-GPU-Python-3.6.8
ml Keras/2.2.4-GPU-Python-3.6.8
ml SciPy-Stack/2019a-Python-3.6.8
ml dask/1.1.5-Python-3.6.8
ml GEOS/3.7.1-Python-3.6.8
ml Graphviz/2.40.1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup_venv.sh
deleted
100755 → 0
+
0
−
30
View file @
f145d38b
#!/bin/bash
# __author__ = Felix Kleinert
# __date__ = '2020-04-06'
# This script creates a virtual env which contains all modules which are not available via slrum/easybuild (see mlt_modules.sh)
# load existing modules
source
mlt_modules.sh
# create venv
python3
-m
venv venv
source
venv/bin/activate
# export path for side-packages
export
PYTHONPATH
=
${
PWD
}
/venv/lib/python3.6/site-packages:
${
PYTHONPATH
}
pip
install
-r
requirements_JUWELS_outcommented.txt
pip
install
--ignore-installed
matplotlib
==
3.2.0
# Comment: Maybe we have to export PYTHONPATH a second time ater activating the venv (after job allocation)
# source venv/bin/activate
# alloc_develgpu
# source venv/bin/activate
# export PYTHONPATH=${PWD}/venv/lib/python3.6/site-packages:${PYTHONPATH}
# srun python run.py
# create batch run scripts
source
create_runscripts_HPC.sh
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