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

GSL error. #30

Closed
ldutoit opened this issue Jan 25, 2024 · 2 comments
Closed

GSL error. #30

ldutoit opened this issue Jan 25, 2024 · 2 comments

Comments

@ldutoit
Copy link

ldutoit commented Jan 25, 2024

Hi Bradley,

thank you for your fantastic tool.

I am getting errors when running run_bgc.sh, and I have no idea where to look for the problem:

After:
Initializing MCMC chain
gsl: ../gsl/gsl_vector_int.h:182: ERROR: index out of range

I attached my input files and I'd be most grateful for any pointers.

Kind regards

Ludo

bgc_p1in.txt
bgc_p0in.txt
bgc_loci.txt
bgc_admixedin.txt
bgc_settings.txt

@btmartin721
Copy link
Owner

Hi Ludo,

That sounds like maybe a versioning issue with GSL. What version of GSL are you using? Also, are you running this on a high-performance computing node? If so, are there any other GSL versions that you can load with a pre-built module?

@btmartin721
Copy link
Owner

Actually I take that back. It looks to me like your input files aren't formatted correctly. The bgc_p1in.txt and bgc_p2in.txt files just contain the locus names, but they have what is currently in your loci.txt file, and vice versa. Also, I think there is only one population (pop0) present in the data, whereas there should be discrete populations defined in p1in.txt, p2in.txt, and admixedin.txt.

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