Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540486 - sci-libs/arpack-3.1.3-r1 USE=mpi - src_configure(): checking for mpif.h... no // configure: error: could not compile a MPI test program
Summary: sci-libs/arpack-3.1.3-r1 USE=mpi - src_configure(): checking for mpif.h... no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 12:59 UTC by Juergen Rose
Modified: 2015-03-07 23:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,10.04 KB, text/plain)
2015-02-18 12:59 UTC, Juergen Rose
Details
config.log (config.log,63.85 KB, text/plain)
2015-02-24 11:56 UTC, Eugene Shalygin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-02-18 12:59:12 UTC
'emerge arpack' fails with:
...
checking for cheev_ in -lreflapack -lrefblas ... yes
checking for MPI mode... checking for mpif77... mpif77
checking for MPI_Init... yes
checking for MPI_Init in -lfmpi... no
checking for MPI_Init in -lfmpich... no
checking for MPI_Init in -lmpif77... no
checking for MPI_Init in -lmpi... yes
checking for mpif.h... no
configure: error: could not compile a MPI test program

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/arpack-3.1.3-r1/work/arpack-3.1.3_build/config.log
 * ERROR: sci-libs/arpack-3.1.3-r1::gentoo failed (configure phase):
 *   econf failed
 



sysresccd linux # emerge --info '=sci-libs/arpack-3.1.3-r1::gentoo'
Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.20-r2, 3.4.66-std381-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.66-std381-amd64-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16112292 total,   2665140 free
KiB Swap:   62498808 total,  62495648 free
Timestamp of repository gentoo: Wed, 18 Feb 2015 08:00:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.9::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.7.3-r1::gentoo, 4.8.3::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 1

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 2

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 atlas automount berkdb bindist bluetooth branding bzip2 cairo cdda cdr clamav cli consolekit cracklib crypt cups cxx dbus doc dot dri dts dvd dvdr emacs emboss encode exif fam firefox flac fontconfig fortran fortran95 gdbm gfortran gif glamor gmp gpm gtk iconv ipv6 jadetex jpeg lapack lcms ldap libav libkms libnotify mad mkl mmx mng modules mp3 mp4 mpeg mpi multilib ncurses nls nptl octave ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline romio sage sdl session spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON




sysresccd linux # emerge -pqv '=sci-libs/arpack-3.1.3-r1::gentoo'
[ebuild  N    ] sci-libs/arpack-3.1.3-r1  USE="doc mpi -examples -static-libs" 



Reproducible: Always
Comment 1 Juergen Rose 2015-02-18 12:59:47 UTC
Created attachment 396832 [details]
build.log
Comment 2 Juergen Rose 2015-02-18 13:00:47 UTC
'USE=-mpi emerge -v1 arpack' works.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-19 07:01:07 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/arpack-3.1.3-r1/work/arpack-3.1.3_build/config.log

Please please do.
Comment 4 Eugene Shalygin 2015-02-24 11:56:08 UTC
Created attachment 397382 [details]
config.log

I have the same problem and here is my config.log
Comment 5 Andrew Savchenko gentoo-dev 2015-02-27 16:08:29 UTC
Please also post your `emerge --info` output.

What MPI implementation do you use? Can't reproduce with openmpi-1.8.3 here.
Comment 6 Eugene Shalygin 2015-02-27 16:15:31 UTC
observe this problem with openmpi-1.8.4
Comment 7 Justin Bronder (RETIRED) gentoo-dev 2015-02-27 16:23:53 UTC
The science overlay has some recent experiments with trying to use multilib with the mpi packages.  This is currently broken, https://github.com/gentoo-science/sci/issues/372.

I think we're going to need to drop keywords on those experiments until things stabilize.

Adding ottxor to CC.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2015-03-07 23:44:44 UTC
Please rebuild openmpi and then re-build sci-libs/arpack.