MDAnalysis / WorkshopHackathon2018

Materials, issues and things for the 2018 Workshop and Hackathon
https://www.mdanalysis.org/WorkshopHackathon2018/
GNU General Public License v3.0
14 stars 25 forks source link

installation instructions #9

Closed orbeckst closed 5 years ago

orbeckst commented 6 years ago

We need a single set of installation instructions as a web page.

The installation instructions (link) will be send as part of the info pack email.

Environment

See for example

Conda Packages

Old installation instructions

For comparison, see what we had for

orbeckst commented 5 years ago

I updated the requirements for installation instructions after today's conference call.

orbeckst commented 5 years ago

I updated the issue after yesterday's conference call.

@dotsdl already started with INSTALL.md.

dotsdl commented 5 years ago

Continuing on this tomorrow evening. Thanks @orbeckst for laying out the requirements!

dotsdl commented 5 years ago

@richardjgowers @orbeckst are we good to proceed with Python 3.7? I don't think we currently test for this in Travis.

dotsdl commented 5 years ago

To do yet:

  1. Update versions of software attendees should expect to see, in particular Python (can we use 3.7?).
  2. Include instructions to install required conda packages.
orbeckst commented 5 years ago

Although 3.7 should work in principle, I'd rather go with 3.6 which is extensively tested.

There's an issue or PR to add 3.7 to the test matrix but I forgot what the status is.

-- Oliver Beckstein email: orbeckst@gmail.com

Am Oct 23, 2018 um 23:12 schrieb David Dotson notifications@github.com:

@richardjgowers @orbeckst are we good to proceed with Python 3.7? I don't think we currently test for this in Travis.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

kain88-de commented 5 years ago

conda-forge is still updating everything for python 3.7. status. It is combined with a switch to the new compiler infrastructure in conda. They are making good progress but they don't have as much CI time as they would like and a lot of packages to update.

dotsdl commented 5 years ago

Ah okay, we'll instruct participants to install 3.6 then. Agreed.

dotsdl commented 5 years ago

Added package installation instructions. Decided to use conda for installing only MDAnalysis until we have conda packages for pmda and MDAnalysisData. Since the latter are pure Python we should be okay there.

Also, jupyter and dask come with Anaconda, so those are already in place.

Note: installing mdanalysis with conda will auto-downgrade the installed python:

The following packages will be DOWNGRADED:

    python:               3.7.0-hc3d631a_0                   --> 3.6.6-h5001a0f_0       conda-forge
richardjgowers commented 5 years ago

@dotsdl some feedback, roughly from top to bottom on the installation instructions:

Can we say that people need Anaconda, rather than Python?

Also from my Windows 10 VM, there's an "anaconda shell" which seems to be good enough to do simple command line things from

From Windows it looks like there's a start menu shortcut to Jupyter notebook (inbetween the Candy Crush shortcuts) which might be the best way to launch this?

In which case, are we even using a bash shell at all? Most stuff is from notebooks, git interaction can be via Atom I think.. only thing I can think of is running pytest, but surely that can be via the "IDE" too..

VOD555 commented 5 years ago

@dotsdl @richardjgowers Windows version Anaconda has a navigator which contains Jupyter notebook. And we can do pip install or conda install using the Anaconda prompt("anaconda shell").

Current problem is that we don't have a windows conda installation for MDAnalysis and PMDA. It seems that Microsoft Visual C++ 14.0 is required to install MDAnalysis using pip install. (I'm not sure whether C++ 14.0 is required if we use conda install.)

richardjgowers commented 5 years ago

@VOD555 Yeah I've managed to pip install a source distribution of MDAnalysis on Windows with visual c++ 14 too. Ideally we get a Windows conda build working...

kain88-de commented 5 years ago

@richardjgowers if you make a minor release of MDA we can publish a windows build on conda-forge.

richardjgowers commented 5 years ago

@kain88-de yeah I just want to get (at least reading) PDB files working: https://github.com/MDAnalysis/mdanalysis/pull/2127

kain88-de commented 5 years ago

Pmda is now installable via conda

kain88-de commented 5 years ago

The data package is now also on conda forge. Everything is now conda installable.

orbeckst commented 5 years ago

@kain88-de thanks for PR #29 – merged.

orbeckst commented 5 years ago

https://github.com/MDAnalysis/WorkshopHackathon2018/issues/9#issuecomment-433640230

Can we say that people need Anaconda, rather than Python?

Yes, although we should really say that we install it for a full Python-based scientific computing software stack.

In which case, are we even using a bash shell at all? Most stuff is from notebooks, git interaction can be via Atom I think.. only thing I can think of is running pytest, but surely that can be via the "IDE" too..

I am not familiar with any of these shells and my experience is, that once something goes wrong, you just want to open a config file in vi or run the shell commands that you know work. We don't have to spend time teaching the shell, I think, but it should be there (and git-bash makes it easy!)

We don't have to emphasize the shell but I think it will make our life easier having it. It also allows us to give people (almost) identical instructions across Windows, macOS, and Linux.

orbeckst commented 5 years ago

The installation instructions don't render nicely in GitHub markdown because of highlight sections. We should put them into a website. Should we use Jekyll as static site generator (possibly using the MDA theme)? Or use Sphinx (like the SPIDAL-MDAnalysis tutorial) but then this has to be recoded into reST. @dotsdl ?

EDIT: @dotsdl please open a new issue describing how you'd want to proceed

micaela-matta commented 5 years ago

WRT the shell: the majority of attendees already have some familiarity with python, so I think it's ok to assume that most of them, being PhD students, are already (becoming) familiar with the terminal

In which case, are we even using a bash shell at all? Most stuff is from notebooks, git interaction can be via Atom I think.. only thing I can think of is running pytest, but surely that can be via the "IDE" too..

I am not familiar with any of these shells and my experience is, that once something goes wrong, you just want to open a config file in vi or run the shell commands that you know work. We don't have to spend time teaching the shell, I think, but it should be there (and git-bash makes it easy!)

We don't have to emphasize the shell but I think it will make our life easier having it. It also allows us to give people (almost) identical instructions across Windows, macOS, and Linux.

orbeckst commented 5 years ago

@dotsdl please check the formatting, https://www.mdanalysis.org/WorkshopHackathon2018/INSTALL is garbled towards the end.

orbeckst commented 5 years ago