-
Notifications
You must be signed in to change notification settings - Fork 99
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
Problem building AMUSE from source #1007
Comments
Could you paste the output of |
Looks like Steven is onto something:
That's definitely not right. The question is why this is happening. I should be getting access to these machines, so then I can experiment a little. |
It seems to use |
|
... thinking about it further, I guess this may follow from AMUSE being configured without MPI in the first place. So a first step would be to re-run configure in the AMUSE dir, and checking |
The output of `module load` is:
Currently Loaded Modules:
1) localhosts
2) GCCcore/12.3.0
3) zlib/1.2.13-GCCcore-12.3.0
4) binutils/2.40-GCCcore-12.3.0
5) GCC/12.3.0
6) numactl/2.0.16-GCCcore-12.3.0
7) XZ/5.4.2-GCCcore-12.3.0
8) libxml2/2.11.4-GCCcore-12.3.0
9) libpciaccess/0.17-GCCcore-12.3.0
10) hwloc/2.9.1-GCCcore-12.3.0
11) OpenSSL/1.1
12) libevent/2.1.12-GCCcore-12.3.0
13) UCX/1.14.1-GCCcore-12.3.0
14) libfabric/1.18.0-GCCcore-12.3.0
15) PMIx/4.2.4-GCCcore-12.3.0
16) UCC/1.2.0-GCCcore-12.3.0
17) OpenMPI/4.1.5-GCC-12.3.0
This is the result of loading the modules 'AMUSE' (AMUSE/2023.5.1) and
'OpenMPI'. In that order.
|
I'd like to see the |
I found the file in the AMUSE root dir on the sterrewacht machine. I turned it into a txt file to share it. |
Thanks. |
Looking at the |
You will also need to install mpi4py (`pip install mpi4py`).
If this is not detected, configure will set MPI_ENABLED to no.
|
Looking at the packages enabled in my environment I see that mpi4py is already installed. |
If you re-run configure, does that change the config.mk file?
|
This did change the config.mk file. I can see that |
It seems that some more of the community codes have been built, but there are still some errors when building. Testing to see if the community codes work results in |
OPAL is OpenMPI's utility library. This error sounds like some kind of data format mismatch, which suggests there are different versions of MPI in use. Possibly |
I had a go at building AMUSE on a Sterrenwacht machine. Progress so far:
Looks like some kind of numpy build issue. Time to start digging... |
If you do |
this was exactly the issue. mpi4py was installed in an incorrect way, built against the wrong (conda) openmpi library - which then clashed with the correct one. This also caused the wrong configuration of the AMUSE module. |
What a mess. Actually, when I try to
That lua script exists, but has permissions 600, so it can't read it... Seems like I should put a working EasyBuild configuration for AMUSE on my to-do list, after Conda packages and a new build system. |
I think the script may be getting updated at the moment, which could account for that weirdness.
But yes, an “official” easybuild module might be a good idea.
|
Hello,
I am trying to build AMUSE from source on a sterrewacht computer.
I am running into issues with certain packages not being built.
Here is the buildlog of the building process.
Thanks in advance,
Menno
The text was updated successfully, but these errors were encountered: