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

Illegal instruction 4 errors when running the example #54

Open
burbrink opened this issue May 7, 2024 · 3 comments
Open

Illegal instruction 4 errors when running the example #54

burbrink opened this issue May 7, 2024 · 3 comments

Comments

@burbrink
Copy link

burbrink commented May 7, 2024

Hello,

I am running ReLERNN on a mac with an M1 chip and suspect that this might be the main cause of the following error when running the example file. Is there an update for MacOS instillations with the M1-M3 chips?

Here is the error:

(msprime-env) frankburbrink@Mac-Studio examples % ./example_pipeline_pool.sh
./example_pipeline_pool.sh: line 25: 54699 Illegal instruction: 4 ${SIMULATE} --pool ${POOL} --sampleDepth 20 --genome ${GENOME} --mask ${MASK} --projectDir ${DIR} --assumedMu ${MU} --upperRhoThetaRatio ${URTR} --nTrain 13000 --nVali 2000 --nTest 100 --seed ${SEED}
./example_pipeline_pool.sh: line 34: 54779 Illegal instruction: 4 ${TRAIN} --projectDir ${DIR} --readDepth 20 --maf 0.05 --nEpochs 2 --nValSteps 2 --seed ${SEED}
./example_pipeline_pool.sh: line 40: 54783 Illegal instruction: 4 ${PREDICT} --pool ${POOL} --projectDir ${DIR} --seed ${SEED}
./example_pipeline_pool.sh: line 47: 54788 Illegal instruction: 4 ${BSCORRECT} --projectDir ${DIR} --nSlice 2 --nReps 2 --seed ${SEED}

Thanks for any advice!

Frank

@andrewkern
Copy link
Member

ugh that's not great... how did you install?

@burbrink
Copy link
Author

burbrink commented May 7, 2024 via email

@andrewkern
Copy link
Member

what happens if you install using pip install .? be sure to be using a tensorflow version thats <=2.15.0

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

2 participants