Comments (2)
The feature you want is called a prolog in SCOOP. You can pass a prolog file (essentially a shell script) that will be sourced before executing Python on remote hosts. In this shell script, you could for example activate your virtual environment or modify environment variables. You then have to pass the absolute path to your prolog file by adding --prolog <absolute path to prolog file>
to your SCOOP launch arguments, before your executable.
You are right, this is not written clearly in the documentation. It will be added soon.
from scoop.
cool, thanks for the pointer :)
from scoop.
Related Issues (20)
- If there any possibility to support IBM LSF system? HOT 3
- In a PBS job context, pbs_tmrsh should be used in favour of ssh
- source prolog file not working HOT 1
- [**Time Sensitive**] pyscoop.org domain expired HOT 3
- Is this project abandoned? HOT 2
- Failure trying to distribute work in HPC environment HOT 4
- Cannot use on a single node in a SLURM cluster HOT 2
- Scoop not working on Windows
- TypeError: 'NoneType' object is not callable in Python 3.5 HOT 2
- How to wait for the finish of subprocess.run (["./executer"]) when lunched by SCOOP? HOT 1
- Fix simple typo: tupel -> tuple
- Why it is much slower when using python -m scoop deap_ga_onemax.py
- Another question, help me please. HOT 1
- cpu_usage 100% In centos HOT 1
- Could not successfully launch the remote worker HOT 1
- requested remote group process id received:b''
- problems using SCOOP shared object API
- Python 3.10 Cannot import name 'Iterable' from 'collections'
- Warnings: lost track of future
- Backport collections patch to 0.7.1.1 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 scoop.