Discussion:
[OMPI users] error "unacceptable operand for unary &" for openmpi-master-201810310352-a1e85b0 on Linux with Sun C
Siegmar Gross
2018-11-01 08:16:22 UTC
Permalink
Hi,

I've tried to install openmpi-master-201810310352-a1e85b0 on my "SUSE Linux
Enterprise Server 12.3 (x86_64)" with Sun C 5.15 (Oracle Developer Studio
12.6). Unfortunately, I get the folowing error.

loki openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc 143 head -7 config.log | tail -1
$ ../openmpi-master-201810310352-a1e85b0/configure --prefix=/usr/local/openmpi-master_64_cc --libdir=/usr/local/openmpi-master_64_cc/lib64
--with-jdk-bindir=/usr/local/jdk-11/bin --with-jdk-headers=/usr/local/jdk-11/include JAVA_HOME=/usr/local/jdk-11 LDFLAGS=-m64 -mt -Wl,-z -Wl,noexecstack
-L/usr/local/lib64 CC=cc CXX=CC FC=f95 CFLAGS=-m64 -mt -xatomic=studio CXXFLAGS=-m64 FCFLAGS=-m64 CPP=cpp CXXCPP=cpp --disable-mpi-fortran --enable-mpi-cxx
--enable-cxx-exceptions --enable-mpi-java --with-valgrind=/usr/local/valgrind --with-hwloc=internal --without-verbs --with-wrapper-cflags=-std=c11 -m64 -mt
--with-wrapper-cxxflags=-m64 --with-wrapper-fcflags=-m64 --with-wrapper-ldflags=-mt --enable-debug
loki openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc 144


loki openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc 144 tail -34 log.make.Linux.x86_64.64_cc
CC osc_pt2pt_frag.lo
CC osc_pt2pt_request.lo
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt.h", line 579: unacceptable operand for unary &
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_module.c
Makefile:1904: recipe for target 'osc_pt2pt_module.lo' failed
make[2]: *** [osc_pt2pt_module.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_frag.c
Makefile:1904: recipe for target 'osc_pt2pt_frag.lo' failed
make[2]: *** [osc_pt2pt_frag.lo] Error 1
"../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c", line 80: cannot recover from previous errors
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_comm.c
Makefile:1904: recipe for target 'osc_pt2pt_comm.lo' failed
make[2]: *** [osc_pt2pt_comm.lo] Error 1
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_request.c
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_component.c
Makefile:1904: recipe for target 'osc_pt2pt_request.lo' failed
make[2]: *** [osc_pt2pt_request.lo] Error 1
Makefile:1904: recipe for target 'osc_pt2pt_component.lo' failed
make[2]: *** [osc_pt2pt_component.lo] Error 1
cc: acomp failed for ../../../../../openmpi-master-201810310352-a1e85b0/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c
Makefile:1904: recipe for target 'osc_pt2pt_data_move.lo' failed
make[2]: *** [osc_pt2pt_data_move.lo] Error 1
make[2]: Leaving directory '/export2/src/openmpi-master/openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc/ompi/mca/osc/pt2pt'
Makefile:3520: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/export2/src/openmpi-master/openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc/ompi'
Makefile:1895: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
loki openmpi-master-201810310352-a1e85b0-Linux.x86_64.64_cc 145



I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.


Kind regards

Siegmar

Loading...