Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OpenMPI 1.6.5 and IBM-AIX
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-07-08 10:21:49


+1.

This one seems like it could be as simple as a missing header file. Try adding

#include "opal/constants.h"

in the timer_aix_component.c file.

On Jul 6, 2013, at 1:08 PM, Ralph Castain <rhc_at_[hidden]> wrote:

> We haven't had access to an AIX machine in quite some time, so it isn't a big surprise that things have bit-rotted. If you're willing to debug, we can try to provide fixes. Just may take a bit to complete.
>
>
> On Jul 6, 2013, at 9:49 AM, Ilias Miroslav <Miroslav.Ilias_at_[hidden]> wrote:
>
>> Hi again,
>>
>> even for GNU compilers the OpenMPI compilation fails on AIX:
>> .
>> .
>> .
>> Making all in mca/timer/aix
>> make[2]: Entering directory `/gpfs/home/ilias/bin/openmpi_gnu/openmpi-1.6.5/opal/mca/timer/aix'
>> CC timer_aix_component.lo
>> timer_aix_component.c: In function 'opal_timer_aix_open':
>> timer_aix_component.c:68:10: error: 'OPAL_SUCCESS' undeclared (first use in this function)
>> timer_aix_component.c:68:10: note: each undeclared identifier is reported only once for each function it appears in
>> timer_aix_component.c: At top level:
>> ../../../../opal/include/opal/sys/atomic.h:393:9: warning: 'opal_atomic_add_32' used but never defined [enabled by default]
>> ../../../../opal/include/opal/sys/atomic.h:403:9: warning: 'opal_atomic_sub_32' used but never defined [enabled by default]
>> make[2]: *** [timer_aix_component.lo] Error 1
>> make[2]: Leaving directory `/gpfs/home/ilias/bin/openmpi_gnu/openmpi-1.6.5/opal/mca/timer/aix'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/gpfs/home/ilias/bin/openmpi_gnu/openmpi-1.6.5/opal'
>> make: *** [all-recursive] Error 1
>>
>> ________________________________________
>> From: Ilias Miroslav
>> Sent: Saturday, July 06, 2013 1:51 PM
>> To: users_at_[hidden]
>> Subject: OpenMPI 1.6.5 and IBM-AIX
>>
>> Dear experts,
>>
>> I am trying to build up OpenMPI 1.6.5 package with the AIX compiler suite:
>>
>> ./configure --prefix=/gpfs/home/ilias/bin/openmpi_xl CXX=xlC CC=xlc F77=xlf FC=xlf90
>> xl fortran is of version 13.01, xlc/C is 11.01
>>
>> Configuration goes well, but the compilation fails. Any help, please ?
>>
>>
>>
>> Making all in mca/timer/aix
>> make[2]: Entering directory `/gpfs/home/ilias/bin/openmpi_xl/openmpi-1.6.5/opal/mca/timer/aix'
>> CC timer_aix_component.lo
>> "timer_aix_component.c", line 68.10: 1506-045 (S) Undeclared identifier OPAL_SUCCESS.
>> "timer_aix_component.c", line 69.1: 1506-162 (W) No definition was found for function opal_atomic_sub_32. Storage class changed to extern.
>> "timer_aix_component.c", line 69.1: 1506-162 (W) No definition was found for function opal_atomic_add_32. Storage class changed to extern.
>> make[2]: *** [timer_aix_component.lo] Error 1
>> make[2]: Leaving directory `/gpfs/home/ilias/bin/openmpi_xl/openmpi-1.6.5/opal/mca/timer/aix'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/gpfs/home/ilias/bin/openmpi_xl/openmpi-1.6.5/opal'
>> make: *** [all-recursive] Error 1
>> ilias_at_147.213.80.175:~/bin/openmpi_xl/openmpi-1.6.5/.
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/