-
Notifications
You must be signed in to change notification settings - Fork 23
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
compile from source have some problems #48
Comments
You can ignore the shellcheck message. I would recommend to restrict the number of processes Compiling with make -j 4 or so should work. |
Yes!!! make -j 4 can work,thank you very much! but i still have dependency problem. It seems that the compiler is able to provide this file, but my attempts to import this file at the cmake stage failed I'm a little confused, do I need to install other software that provides libc++.so.1, or continue testing with this provided by the compiler |
Can you please try to comment out lines 167-171 in this file: metaeuk/lib/mmseqs/CMakeLists.txt Line 167 in 1da320a
And repeat the compilation with a clean cmake-build folder? |
Still able to succeed ! Thank you for your enthusiasm and response. 👍 Also I need to learn the reason why commenting out these lines can work. 😃 |
Your compiler probably already links its own c++ std lib somehow. Not really sure whats going on. I am quite interested in your use-case of Metaeuk on ARM. |
I haven't started using Metaeuk yet, and the current server for building metaeuk is 4vCPUs 8GiB aarch64. I would really like to test the functionality on ARM 😃 |
Sorry I have a problem with openMP 😭 1. problemI use the following command to test metaeuk
and it shows
these message can be find in this link 2.I try to unset this Environment Variables
But it didn't work. Do i need to edit the CmakeLists? |
You can disable the check here:
|
If you see that the cpu utilization is stuck to a load of 1.0 instead of 4.0, then it’s probably some issue with the cpu affinity selection in the openmp implementation of your compiler. |
DescriptionWhen I tested metaeuk, the arm machine I used had 128 cores, while the comparison x86 machine had only 8 (my laptop). At the same time, the number of files generated by the 128-core machine is much more than that of the x86. I wonder if it is because of some tasks that are repeatedly executed that the arm is time-consuming. If the number of cores is the same, is the execution time of the two machines similar? Why are there so many files generated on the arm server Armx86 |
Metaeuk generates one output file per thread/core for intermediate result files. The final result files (fasta,gtf,etc.) should be merged and not be split. |
Do you mean to execute all the contents of run.sh? In this case, arm is still much slower than x86, why is this? |
|
It makes sense, does it have something to do with openMP? Is there a way to fix this threading problem? or use other independent tests to evaluate performanced 🤷🏻♂️ |
This is not a problem, this is expected behavior. To benchmark MetaEuk's runtime you need to run it on larger query/target sets. |
Does this software use mpi for multi-process computing, or just use openMP for multi-thread computing |
When using mpi to execute multiple processes, the two processes generate the same result file and cause an error to exit. How to solve this problem? can i use mpi for testing |
If you use MPI, only the search stage will be parallelized. This is the most time consuming step usually. You have to specify the mpi runner and parameters through the This should work, is however not very well tested anymore since we now exclusively use high-core count servers ourselves and don't require MPI anymore. |
Thank you for your reply. Can I directly modify the number of threads used by metaeuk? For example, I have 128 threads and only want to use 8, which is convenient for comparison with x86 |
Yes you can specify the |
That sounds like a bug from our side. As a workaround, you can also set the
|
This works, thanks! |
Do you have larger query/target sets. I don't know where to find a larger test set and the corresponding commands |
Current Behavior
I still have this shellcheck not found ,and it is difficult to install shellcheck from source code . I wonder if it will affect the compilation if I don't install this
Steps to Reproduce (for bugs)
Please make sure to execute the reproduction steps with newly recreated and empty tmp folders.
Your Environment
Include as many relevant details about the environment you experienced the bug in.
If I want to fix make errors, do I start with cmake or do I modify the cpp source code?
The text was updated successfully, but these errors were encountered: