-
Hello: When I tried the create a sample as in the tutorial: def add_diploid_sites(vcf, samples): But when I run command: 'ts = tsinfer.infer(samples)' python crashes with a segment fault. "[1] 10164 segmentation fault python3 infer_sample.py Sorry to bother this erudite discussion group with such mundane issues, but I am following the Documentation and we do want to attract users from far-afield who may make ignorant mistakes such as I am. Thanks for any help. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
(also posted on Slack): If you are installing from source, there’s an issue on OSX with mixed compilers (#376). You can get round it by installing the Conda C compilers in a separate env (
should do it. Let us know here if it works. |
Beta Was this translation helpful? Give feedback.
-
Following that suggestion I tried this in a number of the suggested approaches without the c-compiler. I could never get an installation in which the tsinfer infer command did not crash.
Compiling from source seems to have done the trick. Obviously, I don’t have a clue.
Cheers,
Chuck
… On 19/Jun/2021, at 12:54 AM, Jerome Kelleher ***@***.***> wrote:
Just as a follow-up here, there there shouldn't be any need to install the c-compilerif you're installing tsinfer from conda. The compilers are only needed for developers, really.
|
Beta Was this translation helpful? Give feedback.
(also posted on Slack): If you are installing from source, there’s an issue on OSX with mixed compilers (#376). You can get round it by installing the Conda C compilers in a separate env (
conda install -c conda-forge c-compiler
) and compiling there, or now that there are Conda packages, justshould do it. Let us know here if it works.