Comments (3)
Hi @pstaerk,
I am not 100% sure I got your setup correctly. You did install pyiron on an HPC and want to run there? Then you would not need the so called remote setup of the queuing system, but only the queueing itself (remote is for working at your laptop and sending stuff to another HPC - which also could be your setup...)
In either case, it is sadly not possible right now to specify a the environment in which the remote pyiron should be executed. The python process determining this is always started first (and thus would be in the standard login environment). (In addition to conda, there could also be several different other environmental variables be changing, like e.g. module load intel/2019
or the like to be considered). If it would not harm otherwise, you may alter your login script (e.g. .bashrc
) to load the correct environment for pyiron from the beginning. In that case, all features should work like expected.
If you 'only' want to send specific jobs with external executables to the (HPC local) queuing system, you can alter the run scripts in the pyiron resources to load a specific environment before starting the actual calculation.
from pyiron.
I have a work-machine from which i submit jobs over ssh to a HPC slurm queue. And I installed pyiron via the usual conda install -c conda_forge pyiron
command, however not in the base environment but into a conda environment. I will try to change the bashrc as you have suggested, sounds like a good idea!
Edit: Changing the .bashrc
has worked very well and the environment gets loaded perfectly.
from pyiron.
Just for completeness: another point of injecting this would be via the queuing script defined for the queue adapter. You could do this already now by changing the script that is in the queues
folder of your pyiron resources. Midterm, it might be nice to add this to pysqa
, similar as requested here.
from pyiron.
Related Issues (20)
- Restructure pyiron HOT 1
- How to modify "run_thermointdfteam_0.01_mpi.sh" in pyiron HOT 12
- outdated informations in the CONTRIBUTING.rst
- pyiron in binder - jupyter and jupyterlab extensions throw an error HOT 5
- submitted jobs disappeared in the queue list HOT 11
- pyiron inside pycharm: ValueError: Was not able to locate a periodic table HOT 5
- working in view_mode HOT 5
- Mailing list or chat room? HOT 1
- docker command is not correct HOT 1
- Creating a custom job HOT 6
- Reporting a vulnerability HOT 1
- import pyiron error HOT 3
- Installation is confusing HOT 4
- Intrecting Potential is missing for Potassium Niobate(KNbO3) HOT 14
- Documentation is broken HOT 2
- Outdated (pr.create) commands in tutorials
- [Bug] The module index is currently broken
- Bug: .h5 file of remote job is transferred twice, but it is deleted after the first time HOT 12
- Lost kernels after creating a new conda environment
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 pyiron.