2. Then go to the directory ~/.ipython/profile_mpi
and check for the following file ipcluster_config.py
.
3. Add or uncomment and modify lines:
c.IPClusterEngines.engine_launcher_class = 'MPI'
c.IPClusterStart.controller_launcher_class = 'MPI'
4. Open IPython Clusters
tab
In [11]:
%%sh
cat << EOF >> ~/.ipython/profile_mpi/ipcluster_config.py
c.IPClusterEngines.engine_launcher_class = 'MPI'
c.IPClusterStart.controller_launcher_class = 'MPI'
EOF
In [16]:
!cat ~/.ipython/profile_mpi/ipcluster_config.py |grep -v "^$"|grep -v "^#"
In [ ]:
$ cat ipcluster_config.py |grep -v "^$"|grep -v "^#"