Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] pcart_coords_f.c:74: error: lvalue required asdecrement operand
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-03-10 15:48:26


Can you send all the information listed here:

     http://www.open-mpi.org/community/help/

On Mar 10, 2009, at 2:07 PM, Yu Chen wrote:

> 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
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems