Hi guys

I'm having problems compiling openmpi 1.2 under AIX 5.2. Here are the configure parameters:

./configure  --disable-shared --enable-static \
                   CC=xlc CXX=xlc++ F77=xlf FC=xlf95

To get it to work I have to do 2 changes:

diff -r openmpi-1.2/ompi/mpi/cxx/mpicxx.cc openmpi-1.2-aix/ompi/mpi/cxx/mpicxx.cc
> #undef SEEK_SET
> #undef SEEK_CUR
> #undef SEEK_END

diff -r openmpi-1.2/orte/mca/pls/poe/pls_poe_module.c openmpi-1.2-aix/orte/mca/pls/poe/pls_poe_module.c
> static int pls_poe_cancel_operation(void)
> {
> }

This last one means that when you run OpenMPI jobs through POE you get a:

[r1blade003:381130] [0,0,0] ORTE_ERROR_LOG: Not implemented in file errmgr_hnp.c at line 90
mpirun was unable to cleanly terminate the daemons for this job. Returned value Not implemented instead of ORTE_SUCCESS.

at the job end.

Keep up the good work, cheers,



Prof. Ricardo Fonseca

GoLP - Grupo de Lasers e Plasmas

Centro de Física dos Plasmas

Instituto Superior Técnico

Av. Rovisco Pais

1049-001 Lisboa


tel: +351 21 8419202

fax: +351 21 8464455

web: http://cfp.ist.utl.pt/golp/