Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AdaptEST
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UT Climate Research Centre
ClimateProjections
AdaptEST
Commits
93499e65
Commit
93499e65
authored
6 months ago
by
Andres Luhamaa
Browse files
Options
Downloads
Patches
Plain Diff
conda fixes
parent
ee9c362c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster_setup/v2/dask-environment.yaml
+5
-10
5 additions, 10 deletions
cluster_setup/v2/dask-environment.yaml
with
5 additions
and
10 deletions
cluster_setup/v2/dask-environment.yaml
+
5
−
10
View file @
93499e65
...
...
@@ -293,9 +293,6 @@ Resources:
-
'
30'
-
--nthreads
-
'
2'
-
--nprocs
-
'
1'
-
--reconnect
Cpu
:
!Ref
DaskWorkerCPU
Essential
:
true
Image
:
!Ref
DaskImage
...
...
@@ -511,20 +508,18 @@ Resources:
sleep 10
echo "\$(date) Creating daskpy3 conda environment"
echo "\$(date) Running in directory ${PWD}"
conda create --name daskpy3
python="3.7.10"
-y
conda create --name daskpy3 -y
source activate daskpy3
conda install -c conda micromamba -y
micromamba install -c conda basemap proj4 nodejs ipywidgets cartopy icclim -y
pip install botocore aiobotocore zarr rechunker ipykernel boto3 dask distributed tornado cloudpickle msgpack blosc numpy pandas lz4 netcdf4 xarray bokeh s3fs fsspec h5netcdf h5py intake-esm intake
conda install -c conda micromamba -y
micromamba install -c conda pip -y
micromamba install -c conda netcdf4 msgpack hdf5 -y
pip install botocore==1.34.51 aiobotocore==2.12.2 boto3==1.34.51 rechunker==0.5.2 ipykernel==6.29.4 dask==2024.4.1 distributed==2024.4.1 tornado==6.4 cloudpickle==3.0.0 msgpack==1.0.7 blosc==1.10.2 numpy pandas lz4==4.3.3 netcdf4==1.6.5 xarray==2023.10.1 bokeh==3.4.0 s3fs==2024.3.1 fsspec==2024.3.1 h5netcdf==1.3.0 h5py==3.10.0 intake-esm==2024.2.6 intake==0.7.0 cartopy==0.22.0 icclim==6.5.0 nodejs ipywidgets==8.1.2 jupyterlab_widgets==3.0.10 zarr==2.17.2 geopandas==0.14.4 shapely==2.0.4
python -m ipykernel install --user --name daskpy3 --display-name "conda_daskpy3"
echo "\$(date) Updating Jupyter config options"
cp ~/.jupyter/jupyter_notebook_config.py ~/.jupyter/jupyter_notebook_config.py.bak
sed -i 's/^#c.NotebookApp.iopub_data_rate_limit.*$/c.NotebookApp.iopub_data_rate_limit = 1.0e10/' ~/.jupyter/jupyter_notebook_config.py
sed -i 's/^#c.NotebookApp.iopub_msg_rate_limit.*$/c.NotebookApp.iopub_msg_rate_limit = 1.0e10/' ~/.jupyter/jupyter_notebook_config.py
source /home/ec2-user/anaconda3/bin/deactivate
source activate JupyterSystemEnv
jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1
source /home/ec2-user/anaconda3/bin/deactivate
echo "\$(date) Finished!"
EOF
...
...
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