public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steven Trogdon <strogdon@d.umn.edu>
To: gentoo-science@lists.gentoo.org
Subject: [gentoo-science] libm4ri-20091120[openmp]
Date: Wed, 31 Mar 2010 13:49:03 -0500	[thread overview]
Message-ID: <1270061343.14736.1@ledaig> (raw)

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-03-31 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 18:49 Steven Trogdon [this message]
2010-03-31 20:07 ` [gentoo-science] libm4ri-20091120[openmp] Christopher Schwan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1270061343.14736.1@ledaig \
    --to=strogdon@d.umn.edu \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox