-
Notifications
You must be signed in to change notification settings - Fork 15
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
The build instructions are out of date #114
Comments
Anyone ? |
Dear Martin, apologies for the delay in replying, I've been on holiday for the last few weeks, and it doesn't seem that anybody else picked this up. You are correct, the README does point to the build pdf document, but that document is very out of date. Firstly, to answer some of your questions, the CMake build system builds both iron (the computational engine) and zinc (graphics etc.). Thus manage is not the new iron but the repository that "manages" the build system. The problems you have stem from the fact that the build system has not been created/installed. Your best bet to build OpenCMISS is to use the setup scripts that will setup the build system and then build OpenCMISS. If you look at http://opencmiss.org/documentation/building/ it details how to build from scratch using setup. Please let me know how you get on. |
Hi @chrispbradley ! Following the steps in
and in the log file it ends with:
Which version of Fortran do I need to use ? http://opencmiss.org/documentation/building/requirements.html does not mention versions. |
On my Ubuntu 20.04.5 aarch64 machine the build fails with another error:
and the log file contains:
In the CMake command from the first snippet we see
I have OpenMPI installed:
Any idea why it fails ? |
Hi Martin, once again apologies for the delay in replying. We are in the process of re-writing/upgrading the build system to deal with one of the problems you have identified. Some of the dependencies are old and newer versions of compilers have problems compiling them. Is there any chance you can try an earlier version of the GNU compiler or another compiler (e.g., intel - yes, I know it is not free)? The new build system with the new version of the dependencies is not really ready for use at the moment. As for the error on the Ubuntu system then it seems to be a problem with not finding the mpicc compiler which it should be able to find. I've personally had problems with OpenMPI in the past and tend to use MPICH but I understand OpenMPI is the default on Ubuntu. The two versions of MPI should be interchangeable but it never seems to work out that way. Are you able to completely uninstall OpenMPI and install MPICH? If so, maybe do that, delete the build and install folders and then try building from setup again? |
Hi @chrispbradley ! When I remove OpenMPI and I install MPICH I get this error:
I have tried with GCC 7 too (it is the oldest I can install from Ubuntu 20.04 repos):
I will try to get Intel compiler! |
Hi Martin, can I just confirm that you are using the develop branches of everything? i.e., git checkout -b develop. If not (or you want to check), can you checkout the develop branches in every repository in /home/ubuntu/hpc/opencmiss/opencmiss/src and in the setup directory. Then delete the build and install directories and try running setup again. Also, it may be possible to provide binaries if there are problems building. Would something like a virtual machine image or a container be useful or do you need to build the source? |
Hi @chrispbradley ! I can confirm that I use
I need to use OpenCMISS on Linux ARM64. Are there download binaries or Docker image for ARM64 ? I also found the Intel oneAPI compilers (free!) and I am going to try them to build OpenCMISS on x86_64, but the oneAPI installers also do not work on aarch64 (ARM64)... |
I just tried again and this time the build failed with:
|
Thank you for the issue. Yes, the build instructions (and much else) are outdated. We are working on a new build system and instructions and hope to update everything shortly. If you have more urgent requirements, I can advise? |
Hello,
I am trying to build https://github.com/OpenCMISS/iron.
Its README points to these build instructions - https://github.com/OpenCMISS/manage/raw/v1.0/OpenCMISSBuildEnvironment.docx.pdf
(The below is valid also for http://opencmiss.org/documentation/cmake/docs/build/index.html > Build on Linux)
To build on Linux the steps are:
My first confusion is: Why the document explains how to build
manage
project instead ofiron
?! Ismanage
v2 ofiron
?Second question: The instructions say "Enter manage/build folder" but there is no such folder (https://github.com/OpenCMISS/manage/tree/develop/build -> error 404). Maybe the documentation should say "create manage/build folder and navigate to it" ?!
Anyway, following the steps leads to this error:
And indeed
OCArchitecturePathFunctions.cmake
is not available at that location. I'd pass-DOPENCMISS_ROOT=...
but I cannot find OCArchitecturePathFunctions.cmake neither inmanage
project, nor iniron
,zinc
orsetup
projects.Any hints what should be the correct build steps ?
Thank you!
The text was updated successfully, but these errors were encountered: