Jupyterhub: QOL & NEST Fix (MPI remove)
							parent
							
								
									22e4f6b232
								
							
						
					
					
						commit
						9adfae87ee
					
				| 
						 | 
					@ -8,29 +8,48 @@
 | 
				
			||||||
      c.SystemdSpawner.mem_limit = '2G'
 | 
					      c.SystemdSpawner.mem_limit = '2G'
 | 
				
			||||||
      c.SystemdSpawner.cpu_limit = 1.0
 | 
					      c.SystemdSpawner.cpu_limit = 1.0
 | 
				
			||||||
    '';
 | 
					    '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    kernels = {
 | 
					    kernels = {
 | 
				
			||||||
      python3 = let
 | 
					      python3 = let
 | 
				
			||||||
        env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
 | 
					        env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
 | 
				
			||||||
          # Necessary for use as a kernel
 | 
					          # Necessary for use as a kernel
 | 
				
			||||||
          ipykernel
 | 
					          ipykernel
 | 
				
			||||||
 | 
					          ipdb
 | 
				
			||||||
 | 
					          # Interactive widgets
 | 
				
			||||||
 | 
					          ipywidgets
 | 
				
			||||||
 | 
					          # Show images/media
 | 
				
			||||||
 | 
					          mediapy
 | 
				
			||||||
 | 
					          # Progress bars etc. for in Jupyter/IPython
 | 
				
			||||||
 | 
					          halo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          # Common Python Libraries
 | 
					          # Common Python Libraries
 | 
				
			||||||
          numpy
 | 
					          numpy
 | 
				
			||||||
          scipy
 | 
					          scipy
 | 
				
			||||||
          scikit-learn
 | 
					          scikit-learn
 | 
				
			||||||
          pandas
 | 
					          pandas
 | 
				
			||||||
 | 
					          # Tables displayed in Jupyter: like Pandas Dataframes
 | 
				
			||||||
 | 
					          ipytablewidgets
 | 
				
			||||||
          matplotlib
 | 
					          matplotlib
 | 
				
			||||||
 | 
					          ipympl
 | 
				
			||||||
 | 
					          matplotlib-inline
 | 
				
			||||||
          seaborn
 | 
					          seaborn
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          # Neural Data Processing Libraries
 | 
					          # Neural Data Processing Libraries
 | 
				
			||||||
          # Temporarily broken?: https://github.com/NixOS/nixpkgs/issues/259812
 | 
					          # Temporarily broken?: https://github.com/NixOS/nixpkgs/issues/259812
 | 
				
			||||||
          # mne-python
 | 
					          # mne-python
 | 
				
			||||||
          nibabel
 | 
					          nibabel
 | 
				
			||||||
 | 
					          # View niftis!
 | 
				
			||||||
 | 
					          ipyniivue
 | 
				
			||||||
          neo
 | 
					          neo
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
          # Neurosimulators
 | 
					          # Neurosimulators
 | 
				
			||||||
          neuronpy
 | 
					          neuronpy
 | 
				
			||||||
          nest
 | 
					          # nest with MPI is incompatible with Jupyter:
 | 
				
			||||||
 | 
					          # https://www.nest-simulator.org/pynest-api/_modules/nest.html
 | 
				
			||||||
 | 
					          # see pynestkernel comments about their workaround
 | 
				
			||||||
 | 
					          (nest.override {
 | 
				
			||||||
 | 
					            withMpi = false;
 | 
				
			||||||
 | 
					          })
 | 
				
			||||||
          brian2
 | 
					          brian2
 | 
				
			||||||
        ]));
 | 
					        ]));
 | 
				
			||||||
      in {
 | 
					      in {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue