GeneRax icon indicating copy to clipboard operation
GeneRax copied to clipboard

Error during building: "make: *** [Makefile:91: all] Error 2"

Open AAleotti opened this issue 1 year ago • 2 comments

Hi Benoit,

I am trying to build GeneRax on an Ubuntu virtual machine but I am having the following error: "make: *** [Makefile:91: all] Error 2".

I have copied the entire output from the prompt in here: output_install.txt

Could you help me understand what could be the problem and what I can do to fix it?

Many Thanks!

Alessandra

AAleotti avatar Dec 12 '23 21:12 AAleotti

Hi Alessandra,

This one looks tricky, we'll have to try different things. The issue seems to happen in a dependency of GeneRax.

  1. Could you please run the following command on a console (on your virtual machine) and send me the output? cat /proc/cpuinfo

  2. Can you edit the install.sh file, and replace "cmake .." with "cmake .. -DCORAX_ENABLE_AVX2=OFF". And then run ./install.sh again

  3. If 2) doesn't work, try replacing the same line with "cmake .. -DCORAX_ENABLE_AVX2=OFF -DCORAX_ENABLE_AVX=OFF ". And then run ./install.sh again If it fails again, please send me the new compilation error log.

Best, Benoit

Le mar. 12 déc. 2023 à 22:48, AAleotti @.***> a écrit :

Hi Benoit,

I am trying to build GeneRax on an Ubuntu virtual machine but I am having the following error: "make: *** [Makefile:91: all] Error 2".

I have copied the entire output from the prompt in here: output_install.txt https://github.com/BenoitMorel/GeneRax/files/13653485/output_install.txt

Could you help me understand what could be the problem and what I can do to fix it?

Many Thanks!

Alessandra

— Reply to this email directly, view it on GitHub https://github.com/BenoitMorel/GeneRax/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ3UL3AGGK2VFJI464R6LYJDGL7AVCNFSM6AAAAABASE67L2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTQNJZHA2DGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BenoitMorel avatar Dec 14 '23 08:12 BenoitMorel

Hi Benoit,

Apologies that it took me a while to get back to you.

I modified the install.sh file with the "cmake .. -DCORAX_ENABLE_AVX2=OFF" ( your point 2 ) and that has resolved the issue! I was able to conclude the installation and I have already set up a generax run that seems to be running smoothly :)

I am attaching here the out put of the cat /proc/cpuinfo for your information: cpuinfo.txt

And here is the output of the successful installation: output_install.txt

Thanks a lot for helping me to solve this issue!

Best wishes, Alessandra

AAleotti avatar Dec 16 '23 17:12 AAleotti