cconroy20 / fsps

Flexible Stellar Population Synthesis
MIT License
85 stars 48 forks source link

sfh=2 fail: nzin > 1 no longer supported #16

Closed dnarayanan closed 3 years ago

dnarayanan commented 7 years ago

I'm on the most recent commit and am running into an issue when running with SFH=2. Everything else I set as default:

thundersnow:src desika$ ./autosps.exe
 enter IMF [0-5; def:0]:
  (0=Salpeter, 1=Chabrier 2003, 2=Kroupa 2001, 3=van Dokkum 2008, 4=Dave 2008, 5=tabulated)
1
 ---> Using IMF 1

 Specify SFH [0-2, def:0]
 (0=SSP, 1=CSP, 2=tabulated)
^C
thundersnow:src desika$ ./autosps.exe
 enter IMF [0-5; def:0]:
  (0=Salpeter, 1=Chabrier 2003, 2=Kroupa 2001, 3=van Dokkum 2008, 4=Dave 2008, 5=tabulated)

 ---> Using IMF 0

 Specify SFH [0-2, def:0]
 (0=SSP, 1=CSP, 2=tabulated)
2
 ---> Computing a tabulated SFH

 Include default dust model? [yes/no, def:no]
 (default: tau1=1.0, tau2=0.3, MW extinction)

 ---> tau1=  0.00, tau2=  0.00

 Enter filename [def: "CSP.out"]

 ---> Output filename: CSP.out
 ---> Running model.......

 COMPSP ERROR: nzin > 1 no longer supported.

Am I doing something wrong with my sps_vars by any chance? The only thing I've done differently is to zero MIST and one PADOVA. MY _sps_vars is pasted here:

http://paste.yt-project.org/show/6880/

thanks -desika

dnarayanan commented 7 years ago

I should update to say that I'm just using the default sfh.dat that ships with fsps. Basically, I cloned, compiled, and ran the above and it resulted in the error message pasted.

bd-j commented 7 years ago

This was fixed by #17 (When compsp was rewritten by #7 support for nzin > 1 was dropped, but we added it back in #17)

Sorry for the delay in responding to this issue.