Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fluiddyn_papers
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fluiddyn
fluiddyn_papers
Commits
a60527600c64
Commit
a60527600c64
authored
7 years ago
by
Ashwin Vishnu
Browse files
Options
Downloads
Patches
Plain Diff
Dedalus installation script
parent
cdbbd38f2c35
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.hgignore
+2
-1
2 additions, 1 deletion
.hgignore
fluidsim/Scripts/install_dedalus.sh
+28
-0
28 additions, 0 deletions
fluidsim/Scripts/install_dedalus.sh
fluidsim/Scripts/install_spectraldns.sh
+0
-0
0 additions, 0 deletions
fluidsim/Scripts/install_spectraldns.sh
with
30 additions
and
1 deletion
.hgignore
+
2
−
1
View file @
a6052760
...
...
@@ -24,4 +24,5 @@
**/_minted-*
fluidsim/Scripts/spectralDNS/*
\ No newline at end of file
fluidsim/Scripts/spectralDNS/*
fluidsim/Scripts/dedalus*
This diff is collapsed.
Click to expand it.
fluidsim/Scripts/install_dedalus.sh
0 → 100755
+
28
−
0
View file @
a6052760
#!/bin/bash
# set -e
## Use the following if you use virtualenvwrapper like me ;)
# mkvirtualenv -p python3 --system-site-packages dedalus_python
# python3 -m venv --system-site-packages dedalus_python
python3
-m
venv
-p
python3 dedalus_python
source
dedalus_python/bin/activate
hg clone https://bitbucket.org/dedalus-project/dedalus
cd
dedalus
pip
install
-r
requirements.txt
# Set to help Dedalus find the proper libraries
# export FFTW_PATH=
# export MPI_PATH=
python setup.py build_ext
--inplace
python setup.py
install
pwd
>
$VIRTUAL_ENV
/.project
# python -c 'from dedalus.tests.special_functions import airy; airy.test_airy()'
# python -c 'from dedalus.tests.special_functions import bessel; bessel.test_bessel()'
echo
'*******************************************************************'
echo
Example scripts:
echo
python examples/ivp/2d_rayleigh_benard/rayleigh_benard.py
echo
python examples/ivp/3d_rayleigh_benard/rayleigh_benard.py
echo
'*******************************************************************'
This diff is collapsed.
Click to expand it.
fluidsim/Scripts/install_spectraldns.sh
100644 → 100755
+
0
−
0
View file @
a6052760
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