Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AMBS
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
AMBS
Commits
86f9d7b6
Commit
86f9d7b6
authored
3 years ago
by
Michael Langguth
Browse files
Options
Downloads
Patches
Plain Diff
Remove wrapper from HPC-scripts directory.
parent
829d69ec
No related branches found
No related tags found
No related merge requests found
Pipeline
#89940
failed
3 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
video_prediction_tools/HPC_scripts/wrapper_container.sh
+0
-37
0 additions, 37 deletions
video_prediction_tools/HPC_scripts/wrapper_container.sh
with
0 additions
and
37 deletions
video_prediction_tools/HPC_scripts/wrapper_container.sh
deleted
100755 → 0
+
0
−
37
View file @
829d69ec
#!/usr/bin/env bash
# basic directory variables
ENV_SETUP_DIR
=
`
pwd
`
WORKING_DIR
=
"
$(
dirname
"
$ENV_SETUP_DIR
"
)
"
EXE_DIR
=
"
$(
basename
"
$ENV_SETUP_DIR
"
)
"
VENV_DIR
=
$WORKING_DIR
/
$1
/
$1
shift
# replaces $1 by $2, so that $@ does not include the name of the virtual environment anymore
# sanity checks
if
[[
"
${
EXE_DIR
}
"
!=
"HPC_scripts"
]]
;
then
echo
"ERROR: Run the setup-script for the environment from the HPC_scripts-directory!"
exit
fi
if
!
[[
-d
"
${
VENV_DIR
}
"
]]
;
then
echo
"ERROR: Could not found virtual environment under
${
VENV_DIR
}
!"
exit
fi
#expand PYHTONPATH
# Include site-packages from virtual environment...
unset
PYTHONPATH
export
PYTHONPATH
=
${
VENV_DIR
}
/lib/python3.8/site-packages/:
$PYTHONPATH
# ... dist-packages from container singularity...
export
PYTHONPATH
=
/usr/local/lib/python3.8/dist-packages:
$PYTHONPATH
# ... and modules from current
export
PYTHONPATH
=
${
WORKING_DIR
}
:
$PYTHONPATH
export
PYTHONPATH
=
${
WORKING_DIR
}
/utils:
$PYTHONPATH
# Control
echo
"****** Check PYTHONPATH *****"
echo
$PYTHONPATH
# MPI realted environmental variables
export
PMIX_SECURITY_MODE
=
"native"
export
TF_XLA_FLAGS
=
--tf_xla_auto_jit
=
0
# disable XLA graph optimization
$@
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