Comments (4)
The gist appears to be that it's using .ipython
rather than ~/.ipython
, so the path is sensitive to the working directory. This should presumably not be the case.
from ipyparallel.
You are correct. Note though, that I'm setting absolute path in my config file but the controller does not respect my choice and turns it into rel path. Is there a quick fix? Is there an option to ask controller to use absolute paths? Or do I need to tweak the source code? What would be easier/feasible - postpone the change to working directory after the engines are started loaded or force the controller/engines to keep absolute path? Is there any particular reason why the engines work with relative paths?
In addition what is the purpose of the profile-dir? I thought profile-dir is the directory that specifies the location of the config files while the work-dir is the working directory where the code, sent to the engines, is executed.
from ipyparallel.
It's probably a bug in the launcher code stripping the path prefix, not taking the working dir into account.
from ipyparallel.
I now have a fix. The solution is simply to set '--profile-dir' for each engine. If the remote profile dir is not set, the launcher guesses that the remote profile dir is a subdirectory of the remote working dir. This is effectively accomplished with the help of SSHClusterLauncher._strip_home
which is a clumsy hack and should be removed. strip_home makes it impossible for the user to specify the remote user dir by setting c.SSHClusterLauncher.remote_profile_dir
in the config, which initially confused me. In general a much better guess could be constructed based on the location data of each engine.
from ipyparallel.
Related Issues (20)
- No module named 'jupyter_server' HOT 2
- How to make it work with torch DDP HOT 4
- Transition from `CompositeError` to builtin `ExceptionGroup` HOT 1
- ipcluster nbextension enable not working after notebook upgrade HOT 2
- Print in multiprocessing.Process crashing the engine HOT 7
- Windows ssh support by ipcluster HOT 39
- map_sync with pandas operation function does not finish. HOT 1
- Py3.10 code serialization does not work on PyPy3.10
- sync_imports not working as intended HOT 9
- ipyparallel and pymoo doesn't work HOT 2
- AsyncResult.join doesn't work
- AsyncResult.abort() call hangs if not all jobs can be stopped HOT 1
- Question: engines and databases HOT 1
- BroadcastView map Not Implemented HOT 3
- Cannot run ipythonparallel with openmpi HOT 7
- 60s timeout on get_connection_info() is not configurable HOT 1
- please release/tag/pypi the current version as it supports JupyterLab 4.x HOT 2
- SSHEngineLauncher does not work as expected HOT 2
- Outstanding task on client but hub says completed when using broadcast view
- Entrypoints should be phased out HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipyparallel.