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
f693b998
Commit
f693b998
authored
5 years ago
by
Bing Gong
Browse files
Options
Downloads
Patches
Plain Diff
update env_setup
parent
603573f6
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
env_setup/create_env.sh
+25
-0
25 additions, 0 deletions
env_setup/create_env.sh
env_setup/modules.sh
+1
-1
1 addition, 1 deletion
env_setup/modules.sh
scripts/create_env.sh
+0
-1
0 additions, 1 deletion
scripts/create_env.sh
with
26 additions
and
2 deletions
env_setup/create_env.sh
0 → 100755
+
25
−
0
View file @
f693b998
#!/usr/bin/env bash
if
[[
!
-n
"
$1
"
]]
;
then
echo
"Provide the user name, which will be taken as folder name"
exit
1
fi
FOLDER_NAME
=
$1
WORKING_DIR
=
/p/project/deepacf/deeprain/
${
FOLDER_NAME
}
/Video_Prediction_SAVP
ENV_DIR
=
${
WORKING_DIR
}
/env_setup
source
${
ENV_DIR
}
/modules.sh
# Install additional Python packages.
pip3
install
--ignore-installed
-r
requirement.txt
#pip3 install --user netCDF4
#pip3 install --user numpy
#Copy the hickle package from bing's account
cd
ENV_DIR
cp
-r
/p/project/deepacf/deeprain/bing/hickle
.
export
PYTHONPATH
=
${
ENV_DIR
}
/hickle/lib/python3.6/site-packages:
$PYTHONPATH
export
PYTHONPATH
=
${
WORKING_DIR
}
:
$PYTHONPATH
export
PYTHONPATH
=
/p/home/jusers/
${
USER
}
/juwels/.local/bin:
$PYTHONPATH
This diff is collapsed.
Click to expand it.
env_setup/modules.sh
+
1
−
1
View file @
f693b998
#!/usr/bin/env bash
#!/usr/bin/env bash
module
--force
purge
module
--force
purge
module /usr/local/software/jureca/OtherStages
module /usr/local/software/jureca/OtherStages
module load Stages/20
19a
module load Stages/20
20
module load Intel/2019.3.199-GCC-8.3.0 ParaStationMPI/5.2.2-1
module load Intel/2019.3.199-GCC-8.3.0 ParaStationMPI/5.2.2-1
module load mpi4py/3.0.1-Python-3.6.8
module load mpi4py/3.0.1-Python-3.6.8
This diff is collapsed.
Click to expand it.
scripts/create_env.sh
deleted
100755 → 0
+
0
−
1
View file @
603573f6
#!/usr/bin/env bash
\ No newline at end of file
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