[gmx-developers] thread_mpi for Power7 on Linux PPC64

Brad Lambeth bradlambeth at rice.edu
Fri May 28 16:15:55 CEST 2010


That compiler flag didn't work, I think the compiler actually defaults
to -qasm=gcc now.  The OS is Red Hat Enterprise Linux 5.4 with the
2.6.32 kernel.  The compiler versions are 11.1 for xlc and 13.1 for
xlf.  It appears to be something syntax related in
include/thread_mpi/atomic/xlc_ppc.h, but I can't figure out how to fix
it.  I can provide any other information you need, including the full
config.log.

Brad


On Fri, May 28, 2010 at 8:37 AM, Sander Pronk <pronk at cbr.su.se> wrote:
> I fixed that part of the library to work on ppc/power with xlc a while ago; what OS is this? Unfortunately, I don't have access to a Power/ppc machine right now, so unfortunately I can't reproduce it.
> One thing you might want to try is adding the compiler flag '-qasm=gcc'. Please let me know if that works.
>
> Sander
>
>
> On May 28, 2010, at 15:17 , Brad Lambeth wrote:
>
>> When configuring the git master branch on our Power7 system, the
>> configure script warns that our cpu+compiler combination does not
>> support atomics and suggests disabling threads in favor of MPI.
>> include/thread_mpi.h seems to suggest that our cpu+compiler
>> combination should be supported (xlc on PPC64).  The relevant portion
>> of config.log is included below.
>>
>> Brad Lambeth
>>
>>
>> configure:7476: checking if atomic operations are supported
>> configure:7487: cc_r  -c -q64 -O3 -qarch=pwr7 -qtune=pwr7  -I./include
>> -I./include -DTMPI_CHECK_ATOMICS -I/users/bpl1/local/include
>> conftest.c >&5
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 85.1: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 83.8: 1506-485 (S)
>> Parameter declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 112.33: 1506-045 (S)
>> Undeclared identifier i.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 112.43: 1506-045 (S)
>> Undeclared identifier a.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 121.1: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 118.8: 1506-485 (S)
>> Parameter declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 165.49: 1506-045 (S)
>> Undeclared identifier a.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 174.1: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 173.8: 1506-485 (S)
>> Parameter declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 195.33: 1506-045 (S)
>> Undeclared identifier x.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 200.1: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 202.23: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 203.30: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 199.8: 1506-485 (S)
>> Parameter declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 221.5: 1506-045 (S)
>> Undeclared identifier x.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 226.1: 1506-277 (S)
>> Syntax error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 225.8: 1506-485 (S)
>> Parameter declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic/xlc_ppc.h", line 238.25: 1506-045 (S)
>> Undeclared identifier x.
>> "./include/thread_mpi/atomic.h", line 619.1: 1506-277 (S) Syntax
>> error: possible missing ';' or ','?
>> "./include/thread_mpi/atomic.h", line 618.8: 1506-485 (S) Parameter
>> declaration list is incompatible with declarator for inline.
>> "./include/thread_mpi/atomic.h", line 623.22: 1506-045 (S) Undeclared
>> identifier a.
>> "./include/thread_mpi/atomic.h", line 623.9: 1506-045 (S) Undeclared
>> identifier oldval.
>> "./include/thread_mpi/atomic.h", line 624.7: 1506-046 (S) Syntax error.
>> configure:7493: $? = 1
>> configure: failed program was:
>> | #include "thread_mpi/atomic.h"
>> configure:7522: WARNING: No atomics.
>> --
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> http://lists.gromacs.org/mailman/listinfo/gmx-developers
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-developers-request at gromacs.org.
>
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
>



More information about the gromacs.org_gmx-developers mailing list