Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] configure:25579: error: No atomic primitives available for ppc74xx-linux-gnu
From: Bailey, Eric (ebailey_at_[hidden])
Date: 2008-04-09 13:57:13

I am trying to use a cross compiler to build Open MPI for an embedded
ppc7448 running Linux 2.6 but during configure I get the following
configure:25579: error: No atomic primitives available for
Does anyone have an idea as to how to get past this error?

I searched on the openmpi archives to see if any one else has seen
this.. and this is what I found, but it is related to another processor
(same error though) and solves specifically for it.

The configure is complaining about the missing atomic directives for
your processor. We have the MIPS atomic calls but not the MIPS64. We
just have to add them in the opal/asm/base.

Unfortunately, there is no opal directory associated with the cross
compiler and I am not sure what lib might contain the atomic primitives
or where the configure program is looking for them. Both could be an
issue. i assume the atomic primitives are particular to the ppc7448
processor and the Linux OS that runs on it but the cross compiler tool
chain should contain them.

The configure works fine for the local compiler / machine, it hits this
error only for cross compiling. I did modiify the config.sub file to add
the ppc74xx host. Here is the configure command I am using.

--host=ppc74xx-linux --build=i686-pc-linux-gnu

configure finds and checks the c and c++ crosscompilers without any
problems and does quite alot until it hits this error and stops thus not
producing any Makefiels or finishing.