Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bioinfo_utils
Manage
Activity
Members
Labels
Plan
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
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
Blaise LI
bioinfo_utils
Commits
7f6056dc
Commit
7f6056dc
authored
5 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Fix scipy build issue.
parent
1e37c6ef
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
singularity/Makefile
+1
-1
1 addition, 1 deletion
singularity/Makefile
singularity/run_pipeline.def
+5
-0
5 additions, 0 deletions
singularity/run_pipeline.def
with
6 additions
and
1 deletion
singularity/Makefile
+
1
−
1
View file @
7f6056dc
...
@@ -18,4 +18,4 @@ install: run_pipeline
...
@@ -18,4 +18,4 @@ install: run_pipeline
# Should depend on the rest of the repository.
# Should depend on the rest of the repository.
run_pipeline
:
run_pipeline.def
run_pipeline
:
run_pipeline.def
sudo
singularity build run_pipeline run_pipeline.def
nohup
sh
-c
"yes |
sudo singularity build run_pipeline run_pipeline.def
> build.err 2>&1"
&
This diff is collapsed.
Click to expand it.
singularity/run_pipeline.def
+
5
−
0
View file @
7f6056dc
...
@@ -80,6 +80,8 @@ From:python:3.7-buster
...
@@ -80,6 +80,8 @@ From:python:3.7-buster
# To avoid using python things installed in the HOME of root
# To avoid using python things installed in the HOME of root
# (that will be mounted during singularity build)
# (that will be mounted during singularity build)
export PYTHONNOUSERSITE=1
export PYTHONNOUSERSITE=1
# To get scipy properly built as requirement:
python3.7 -m pip install pybind11
# Needed to manually cythonize custom pybedtools before installing it
# Needed to manually cythonize custom pybedtools before installing it
#/usr/bin/env python3 -m pip install Cython
#/usr/bin/env python3 -m pip install Cython
#/usr/bin/env python3 -m pip install --global-option="cythonize" git+https://github.com/blaiseli/pybedtools.git@fix_missing_headers
#/usr/bin/env python3 -m pip install --global-option="cythonize" git+https://github.com/blaiseli/pybedtools.git@fix_missing_headers
...
@@ -96,6 +98,9 @@ From:python:3.7-buster
...
@@ -96,6 +98,9 @@ From:python:3.7-buster
cd bioinfo_utils
cd bioinfo_utils
git submodule update --init --remote --merge
git submodule update --init --remote --merge
has_requirements=$(find . -name requirements.txt -print | xargs dirname)
has_requirements=$(find . -name requirements.txt -print | xargs dirname)
# Needed for scipy (https://stackoverflow.com/a/58534155/1878788)
# No, does not solve the issue...
# apt install -y gfortran
for dir in ${has_requirements}
for dir in ${has_requirements}
do
do
(cd ${dir} && pip install -r requirements.txt)
(cd ${dir} && pip install -r requirements.txt)
...
...
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