Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: [gentoo-science] libm4ri-20091120[openmp]
Date: Wed, 31 Mar 2010 18:51:40
Message-Id: 1270061343.14736.1@ledaig
sage-on-gentoo:

The subject libm4ri will not build here (amd64) with use, openmp. The  
configure option
--enable-openmp doesn't appear to take. I get

	configure: WARNING: unrecognized options: --enable-openmp

and a subsequent make gives

/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99  
-DHAVE_CONFIG_H -I. -I./src     -fopenmp  -g -O2 -MT  
brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c -o  
brilliantrussian.lo `test -f 'src/brilliantrussian.c' || echo  
'./'`src/brilliantrussian.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./src -fopenmp  
-g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo  
-c src/brilliantrussian.c  -fPIC -DPIC -o .libs/brilliantrussian.o
In file included from src/brilliantrussian.c:22:
src/misc.h: In function 'm4ri_mmc_malloc':
src/misc.h:542: error: invalid exit from OpenMP structured block
src/misc.h: In function 'm4ri_mmc_free':
src/misc.h:591: error: invalid exit from OpenMP structured block
src/misc.h:598: error: invalid exit from OpenMP structured block
src/brilliantrussian.c: In function 'mzd_process_rows2':
src/brilliantrussian.c:359: warning: iteration variable 'r' is unsigned
src/brilliantrussian.c: In function 'mzd_process_rows3':
src/brilliantrussian.c:397: warning: iteration variable 'r' is unsigned
src/brilliantrussian.c: In function 'mzd_process_rows4':
src/brilliantrussian.c:440: warning: iteration variable 'r' is unsigned
src/brilliantrussian.c: In function 'mzd_process_rows5':
src/brilliantrussian.c:486: warning: iteration variable 'r' is unsigned
src/brilliantrussian.c: In function 'mzd_process_rows6':
src/brilliantrussian.c:538: warning: iteration variable 'r' is unsigned
make: *** [brilliantrussian.lo] Error 1

With use, -openmp it does build.

Steve

Replies

Subject Author
Re: [gentoo-science] libm4ri-20091120[openmp] Christopher Schwan <cschwan@××××××××××××××××××.de>