ReLERNN icon indicating copy to clipboard operation
ReLERNN copied to clipboard

Illegal instruction 4 errors when running the example

Open burbrink opened this issue 9 months ago • 3 comments

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

burbrink avatar May 07 '24 15:05 burbrink

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

andrewkern avatar May 07 '24 20:05 andrewkern

This was for a conda install, which was a bit difficult (msprime wheel issues). However, I did eventually get a clean Conda install.__________________________________Frank T. Burbrink, Ph.D.Chair, Division of Vertebrate ZoologyCurator-in-ChargeDepartment of HerpetologyAmerican Museum of Natural HistoryCentral Park West at 79th StreetNew York, NY 10024-5192Website: https://sites.google.com/view/frank-burbrink-website/ Professor, Richard Gilder Graduate School, AMNHAdjunct Professor, Department of Ecology, Evolution and Environmental Biology, Columbia University, New YorkAdjunct Professor of Biology, City University of New York, New YorkOn May 7, 2024, at 4:31 PM, Andrew Kern @.***> wrote: ugh that's not great... how did you install?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

burbrink avatar May 07 '24 21:05 burbrink

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

andrewkern avatar May 15 '24 22:05 andrewkern