Hi,
I downloaded 1.3, and try to compile it with gcc(4.2.0) and g95(0.91)
on RHEL AS 4. But I got following errors. Any help are greatly
appreciated. (If I compile with gcc(3.4.5) and g95(0.91), it passes.)
...
libtool: compile: /usr/local/gcc/bin/gcc -DHAVE_CONFIG_H -I. -
I../../../../opal/include -I../../../../orte/include -I../../../../
ompi/include -I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -
DOMPI_PROFILE_LAYER=1 -DOMPI_COMPILING_F77_WRAPPERS=1 -I../../../.. -
O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread -
fvisibility=hidden -MT pcart_create_f.lo -MD -MP -MF .deps/
pcart_create_f.Tpo -c pcart_create_f.c -fPIC -DPIC -o .libs/
pcart_create_f.o
libtool: compile: /usr/local/gcc/bin/gcc -DHAVE_CONFIG_H -I. -
I../../../../opal/include -I../../../../orte/include -I../../../../
ompi/include -I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -
DOMPI_PROFILE_LAYER=1 -DOMPI_COMPILING_F77_WRAPPERS=1 -I../../../.. -
O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread -
fvisibility=hidden -MT pcart_coords_f.lo -MD -MP -MF .deps/
pcart_coords_f.Tpo -c pcart_coords_f.c -fPIC -DPIC -o .libs/
pcart_coords_f.o
pcart_coords_f.c: In function ‘mpi_cart_coords_f’:
pcart_coords_f.c:74: error: lvalue required as decrement operand
make[3]: *** [pcart_coords_f.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/groups/visitors/home/cheny/Builds/
openmpi-1.3-g95/ompi/mpi/f77/profile'
make[2]: *** [all-recursive] Error 1
Thanks
CY