Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
khalid
Dadi
Commits
507d741e
Commit
507d741e
authored
Aug 17, 2020
by
khalid
Browse files
adapt module search path
parent
1f781e78
Changes
1
Hide whitespace changes
Inline
Side-by-side
google_collab_cpu_gpu_testing_on_YRI_CEU.py
View file @
507d741e
...
...
@@ -16,13 +16,17 @@ First, you'll need to enable GPUs for the notebook:
# We will install dadi from a modified source hosted in mbb
# MyInference.py : modif. du fichier Infrenec.py de dadi pour incorporer les optimisations anneal et dual_anneal
# local_dual_anneal.py : modif du fichier
dual_anneal de
scipy change to LocalSearchWrapper to allow the use of bounded minimizers other than L-BFGS-B
# local_dual_anneal.py : modif du fichier scipy change to LocalSearchWrapper to allow the use of bounded minimizers other than L-BFGS-B
# or L-BFGS-B with a maxiter < than the default LS_MAXITER_MIN
!
git
clone
https
:
//
gitlab
.
mbb
.
univ
-
montp2
.
fr
/
khalid
/
dadi
.
git
import
os
os
.
chdir
(
'dadi'
)
!
python3
setup
.
py
install
!
python
setup
.
py
install
#L'insallation ne semble pas se faire correctement, il faut ajouter ceci
import
sys
sys
.
path
.
append
(
'/usr/local/lib/python3.6/dist-packages/dadi-2.1.0-py3.6-linux-x86_64.egg'
)
import
warnings
warnings
.
filterwarnings
(
'ignore'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment