The attached file is the html rendering of a Jupyter notebook version of Cactus tutorials advocated by Ian and Roland. It is my proposal to use this going forward.
To run this tutorial, you can either go to the NDS machine (which I propose should be the default tutorial machine from now on): https://www.einsteintoolkit.nationaldataservice.org/#/
Alternatively, you may run it in docker.
docker run --name myjupyter -d -p 8888:8888 ndslabs/jupyter-et
If you don't like Jupyter, you can open a console on the NDS machine, or you can get a command line interface by doing this
docker run -it ndslabs/jupyter-et bash
Which is a machine that already has the requisite cactus packages installed. You can then use the attached html to enter instructions one by one.
Please send comments, flames, etc. Thanks.
--Steve
Hello Steve,
thank you very much for providing this. This is great!
Please send comments, flames, etc. Thanks.
Comments: * in the list of stuff to install, it should also cover OSX (homebrew and macports). Win10 would be nice but is maybe tricky. * how would plotting work inside of the container? * those install commands are not needed in the container or in the nds machine are they? This should likely be stated. * how to install "which" is only described after the user is asked to run "which mpirun". This should be changed. * do you sometimes need to explicitly ask for perl? * it may be good to sort the list of packages alphabetically to make it easier (for us) to add / remove packages from the list * I think GetComponents --parallell has a bug right now: https://trac.einsteintoolkit.org/ticket/2060 which did not (yet) make it into the release branch * it maybe good to explain what "%" and "!" do in a jupyter script. How would these commands look like if someone chose to take us up on the offer to get a shell? * the build command used "make -j5" but the text above claims it uses "-j2" Flames: * none Thanks: * many
Yours, Roland
On 11/03/2017 06:21 PM, Roland Haas wrote:
Hello Steve,
thank you very much for providing this. This is great!
Please send comments, flames, etc. Thanks.
Comments:
- in the list of stuff to install, it should also cover OSX (homebrew and macports). Win10 would be nice but is maybe tricky.
Someone will have to help me with mac. As for Win10, if you use the subsystem it should be the same as ubuntu.
- how would plotting work inside of the container?
I assume you mean if you run command line rather than as a notebook. There are a couple of ways to do this. Maybe the easiest way would be to enable ssh inside the container and rather than giving a bash prompt, allow people to log in with ssh -X.
- those install commands are not needed in the container or in the nds machine are they? This should likely be stated.
They are not.
- how to install "which" is only described after the user is asked to run "which mpirun". This should be changed.
OK
- do you sometimes need to explicitly ask for perl?
It seems not.
- it may be good to sort the list of packages alphabetically to make it easier (for us) to add / remove packages from the list
That is easy to do since the list is generated from a script.
- I think GetComponents --parallell has a bug right now:
https://trac.einsteintoolkit.org/ticket/2060 which did not (yet) make it into the release branch
Regardless, it works on the NDS machine.
- it maybe good to explain what "%" and "!" do in a jupyter script. How would these commands look like if someone chose to take us up on the offer to get a shell?
Yup.
- the build command used "make -j5" but the text above claims it uses "-j2"
Noted.
--Steve
Flames:
- none
Thanks:
- many
Yours, Roland
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
On 3 Nov 2017, at 19:28, Steven R. Brandt sbrandt@cct.lsu.edu wrote:
The attached file is the html rendering of a Jupyter notebook version of Cactus tutorials advocated by Ian and Roland. It is my proposal to use this going forward.
To run this tutorial, you can either go to the NDS machine (which I propose should be the default tutorial machine from now on): https://www.einsteintoolkit.nationaldataservice.org/#/
Alternatively, you may run it in docker.
docker run --name myjupyter -d -p 8888:8888 ndslabs/jupyter-et
If you don't like Jupyter, you can open a console on the NDS machine, or you can get a command line interface by doing this
docker run -it ndslabs/jupyter-et bash
Which is a machine that already has the requisite cactus packages installed. You can then use the attached html to enter instructions one by one.
Please send comments, flames, etc. Thanks.
Hi Steve,
Very nice!
One comment:
- Users probably would like, for their operating system, a single command that they can copy and paste into their terminal to install the required packages, rather than going through each of the 23 packages one by one. Also, the table format, while quite attractive, won't scale to adding columns for more operating systems, such as Mac OS.
One question:
- Is this tutorial in a repository somewhere?
On 11/04/2017 03:41 AM, Ian Hinder wrote:
On 3 Nov 2017, at 19:28, Steven R. Brandt <sbrandt@cct.lsu.edu mailto:sbrandt@cct.lsu.edu> wrote:
The attached file is the html rendering of a Jupyter notebook version of Cactus tutorials advocated by Ian and Roland. It is my proposal to use this going forward.
To run this tutorial, you can either go to the NDS machine (which I propose should be the default tutorial machine from now on): https://www.einsteintoolkit.nationaldataservice.org/#/
Alternatively, you may run it in docker.
docker run --name myjupyter -d -p 8888:8888 ndslabs/jupyter-et
If you don't like Jupyter, you can open a console on the NDS machine, or you can get a command line interface by doing this
docker run -it ndslabs/jupyter-et bash
Which is a machine that already has the requisite cactus packages installed. You can then use the attached html to enter instructions one by one.
Please send comments, flames, etc. Thanks.
Hi Steve,
Very nice!
One comment:
- Users probably would like, for their operating system, a single
command that they can copy and paste into their terminal to install the required packages, rather than going through each of the 23 packages one by one. Also, the table format, while quite attractive, won't scale to adding columns for more operating systems, such as Mac OS.
I have such a command (see attached). It doesn't yet support Mac (since I don't use Mac). See attached. It needs some commenting, etc.
Cactus builds without needing to build any external packages on all the OS's listed (except jpeg on opensuse). Verified by Docker.
As for the scaling of the table, I think all that really needs to be added is Mac, and we should be able to fit one more column.
One question:
- Is this tutorial in a repository somewhere?
https://github.com/nds-org/jupyter-et
-- Ian Hinder http://members.aei.mpg.de/ianhin
users@lists.einsteintoolkit.org