Commit 080e659d authored by Sebastian Wahl's avatar Sebastian Wahl

update README.md, updated conda package selection

according to Willi's suggestions, see issue #11
parent 95e754f9
......@@ -3,14 +3,42 @@ channels:
- defaults
- conda-forge
dependencies:
- numpy
- matplotlib
- scipy
- python=3
- anaconda-client
- aospy
- basemap
- basemap-data-hires
- cartopy
- cdo
- cf_units
- cftime
- cmocean
- dask
- distributed
- eofs
- fortran-magic
- git
- git-lfs
- gsw
- haversine
- hdf5
- ipython
- iris
- iris-sample-data
- line_profiler
- matplotlib
- memory_profiler=0.52
- mtspec
- nco
- netCDF4
- numpy
- pandas
- pytables
- python-cdo
- scikit-learn
- scipy
- seaborn
- seawater
- spyder
- xarray
- ipykernel
- git
- python=3
- cdo
- netcdf4
- xarray
- libiconv
- cartopy
......@@ -96,6 +96,11 @@ hname=$1
task=$2
page=
port=
# setting 0.0.0.0 for login on mistral kind of works if you start up the server but connecting to an existing
# server on one of the login nodes does not work
# see issues on gitlab
ip="127.0.0.1"
[[ $# -eq 3 ]] && ip=$3
if [[ "$task" == "start" ]] || [[ "$task" == "stop" ]]; then
page=$(ssh $hname "\${HOME}/miniconda3/bin/python \${HOME}/miniconda3/bin/jupyter notebook list" | grep http | awk '{print$1}')
......@@ -108,7 +113,7 @@ if [[ "$task" == "start" ]]; then
echo " No Jupyterlab server running on $hname. Will start a server and connect to it "
# TODO: avoid hitting Ctrl+C --> how to I start this in the backgroud adding & does not work
echo " Wait until you see the URL of the server and then hit Ctrl+C to continue"
ssh $hname "\${HOME}/miniconda3/bin/python \${HOME}/miniconda3/bin/jupyter lab --no-browser --ip 127.0.0.1 "
ssh $hname "\${HOME}/miniconda3/bin/python \${HOME}/miniconda3/bin/jupyter lab --no-browser --ip $ip"
echo " Jupyterlab on $hname started"
else
echo " Jupyterlab on $hname, port $port already running. Connecting to existing server."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment