Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python environment on NERSC for IPS+OMFIT #53

Open
parkjm opened this issue May 11, 2020 · 2 comments
Open

Python environment on NERSC for IPS+OMFIT #53

parkjm opened this issue May 11, 2020 · 2 comments

Comments

@parkjm
Copy link
Contributor

parkjm commented May 11, 2020

@elwasif @orso82 @smithsp

omfit on cori uses a local miniconda installation:

/global/cfs/cdirs/atom/atom_repo/miniconda3_2.1.0_11/bin/python

The default python environment of IPS is

module load python (==> python/3.7-anaconda-2019.10)

In order to use omfit classes in the ips wrrapper, 1) we have to use @orso82 ’s miniconda install or 2) install omfit dependancies under conda or virtualenv for a NERSC managed python.

Suggestion?

@orso82
Copy link
Contributor

orso82 commented May 11, 2020

If you are only going to use certain classes, you may get away with a reduced set of OMFIT dependencies. That said, it may just be easier to either use the OMFIT's miniconda installation, or install OMFIT's required https://github.com/gafusion/OMFIT-source/blob/unstable/install/requirements.txt and optional https://github.com/gafusion/OMFIT-source/blob/unstable/install/optional.txt packages.

@elwasif
Copy link
Member

elwasif commented May 11, 2020

For the IPS framework itself, it doesn't really matter which one is used. For the various workflows, it depends on which Python modules are used. I suspect the miniconda installation probably has everything most or all workflows need (the one major system specific module at NERSC that may require special tuning is mpi4py which is linked against the system MPI libraries for the default Python environments)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants