How to install Dedalus in Windows 10?

1,069 views
Skip to first unread message

huang....@gmail.com

unread,
Feb 1, 2020, 1:04:10 AM2/1/20
to Dedalus Users
Hi, 

I am interested in learning to use Dedalus. I am a Windows 10 user and a beginner of using Python. I found that "install notes for CU/Janus" of "Installing Dedalus" web page is most close to my situation such that I don't have all the required packages to run Dedalus. How can I do the equivalent tasks as listed in "install notes for CU/Janus" in order to install Dedalus in Windows 10?

Thank you!

Ben Brown

unread,
Feb 1, 2020, 1:21:22 AM2/1/20
to dedalus-users
Huang,
     Welcome to the Dedalus community.

A number of students in my class have been trying to install Dedalus on windows 10 machines.  I think the consensus from their experiences is that the thing to do is to activate the "linux subsystem for windows" and then run an instance of Ubuntu in the windows hyper visor.  With that system up and running, it's fairly straightforward to set up a conda installation of the required software following these instructions (https://dedalus-project.readthedocs.io/en/latest/installation.html#conda-installation).

Some guidance is here:
and I think there are now versions of 19.04 available (but I don't use Windows myself).  The big holdup on building the stack yourself on Windows will probably be a lack of openly available mpi compilers.  But that situation may have changed.  Regardless, the Ubuntu hyper-visor approach has been working pretty well for the three students who tested it.

I would avoid the Janus instructions myself; I wrote them a long time ago and they haven't been updated.  We have an automated install script for clusters (it's in the mailing list at various places, as "cluster_install.sh") and conda installs have worked well on CU Summit and some other supercomputers.

--Ben

--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/479bb76c-749b-4921-bb28-2a63e7349544%40googlegroups.com.

Hsin-Ho Huang

unread,
Feb 1, 2020, 11:03:48 AM2/1/20
to dedalu...@googlegroups.com
Thanks for the prompt response!

I managed to run an instance of Ubuntu in the windows hyper visor and have done the Conda Installation. I found that (base) appears in front of the terminal prompt after the Conda installation.

I tried to run example scripts of Dedalus. I run "python xxx.py" in terminal but it said 
in <module>
import dedalus.public as de
ModuleNotFoundError: No module named 'dedalus'

What do I miss?

Thank you!



You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/DT4TZedXOb8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAHqBLzzmKVnA2ZAsXa2iPau_rcwN_-0Ob%2BjKXVsJeYW1MmnmMg%40mail.gmail.com.

Jeffrey S. Oishi

unread,
Feb 1, 2020, 11:09:12 AM2/1/20
to dedalus-users
Hi Huang,

If (base) appears, you need to do

$ conda activate Dedalus

Before proceeding to activate the environment with Dedalus and it's dependencies installed.

Jeff

刘长号

unread,
Jul 10, 2021, 1:49:28 PM7/10/21
to Dedalus Users
你好,我在安装dedalus时总是装不上,提示错误,能帮我解决一下吗?
Reply all
Reply to author
Forward
0 new messages