Troubleshooting and Known Issues

1. yt compilation complains with something like: “Error compiling Cython file”

Answer - try running:

pip install -U Cython

2. Python-fsps compilation returns errors along the lines of


compiling Fortran sources
Fortran f77 compiler: /usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /usr/bin/gfortran -fPIC -fPIC -O3 -funroll-loops

Try re-compiling with the flag:


3. When running pd via a SLURM scheduler, you get the error when importing fsps


build/bdist.linux-x86_64/egg/fsps/ in <module>()
ImportError: Your FSPS version does not seem to be under git version control. FSPS is available on github at and should be cloned from there

Comment out the lines in python-fsps/fsps/ surrounding the checking of githashes. (h/t to Ena Choi for uncovering this one).

4. If in powderday you start getting memory errors on the Pool process call that look like this:


calculating the SEDs for  42  bins
Traceback (most recent call last):
File "/ufrc/narayanan/desika.narayanan/pd/", line 139, in <module>
File "/ufrc/narayanan/desika.narayanan/pd/", line 244, in add_binned_seds
  #of star particles that go in every [wz,wa,wm]
File "/ufrc/narayanan/desika.narayanan/pd/", line 225, in allstars_sed_gen
  p = Pool(processes = cfg.par.n_processes)
File "/ufrc/narayanan/desika.narayanan/miniconda2/lib/python2.7/multiprocessing/", line 232, in Pool
  return Pool(processes, initializer, initargs, maxtasksperchild)
File "/ufrc/narayanan/desika.narayanan/miniconda2/lib/python2.7/multiprocessing/", line 159, in __init__
File "/ufrc/narayanan/desika.narayanan/miniconda2/lib/python2.7/multiprocessing/", line 223, in _repopulate_pool
File "/ufrc/narayanan/desika.narayanan/miniconda2/lib/python2.7/multiprocessing/", line 130, in start
  self._popen = Popen(self)
File "/ufrc/narayanan/desika.narayanan/miniconda2/lib/python2.7/multiprocessing/", line 121, in __init__ = os.fork()
OSError: [Errno 12] Cannot allocate memory

Try reducing the number of n_processes in the file