timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
120 stars 62 forks source link

memory error with tracks.initialize() #89

Closed bjnorfolk closed 5 years ago

bjnorfolk commented 5 years ago

Hi again,

When I following the steps from the doc to get a test track

image

I run into a memory error on the supercomputer. Now my home directory has a 10gb limit but my working directory has a 10tb limit. My conda environment has to be installed in my home directory but I'm running ipython in the working directory. The issue I'm having is all the tracks are being downloaded into the .isochrones folder in my home directory, is there a way when I initialise the tracks to have the package download the tracks in the current working directory?

Cheers,

timothydmorton commented 5 years ago

You should define an $ISOCHRONES environment variable, and that will put all the tracks/grids there. (Another thing to add to docs, thanks!)

bjnorfolk commented 5 years ago

thanks again,

would I do something along the lines of

export $ISOCHRONES=PATH

in my bash profile/rc, where PATH is my working directory path?