Git Product home page Git Product logo

Comments (3)

niklassiemer avatar niklassiemer commented on June 5, 2024

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.

pstaerk avatar pstaerk commented on June 5, 2024

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.

pmrv avatar pmrv commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.