Bug#405472: openmpi-bin: mpif77 and mpif90 incorrect default include file search path

2007-01-03 Thread Juha Jäykkä
Package: openmpi-bin
Version: 1.1-2.3
Severity: grave
Justification: renders package unusable


All fortran programs calling MPI_* need to include mpif.h, but

~/gl mpif77 -DHAVE_CONFIG_H -I. -I. -I..  -I../include  -O3 
-finline-limit=1 -march=i686  -march=x86-64 -funroll-loops  -mfpmath=sse 
-msse2   -c -o min_algo_sd.o min_algo_sd.F
Error: Can't open included file 'mpif.h'

Adding -I /usr/include fixes this.

I consider this grave because this will make openmpi useless to most
ordinary scientists who just make all their software and do not know
how to add paths to compilers search paths etc. Besides, this probably
affect other includes as well, not only mpif.h. Also, I wanted to either
get this fixed for etch (so our lab can use it) or force its removal from
etch (which means we need to stay with LAM).

-Juha


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (1200, 'testing'), (999, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages openmpi-bin depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1  1:4.1.1-13  GCC support library
ii  libstdc++6   4.1.1-13The GNU Standard C++ Library v3
ii  openmpi-common   1.1-2.3 high performance message passing l
ii  openmpi-libs01.1-2.3 high performance message passing l

openmpi-bin recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405472: openmpi-bin: mpif77 and mpif90 incorrect default include file search path

2007-01-03 Thread Mark Hymers
Yikes, apologies.  That mail was meant to be postponed, not sent; I
*haven't* clarified this with the RMs yet and am im the process of
checking with them.  I feel very stupid now.

Mark

-- 
Mark Hymers mark at hymers dot org dot uk

I never make predictions.  I never have and I never will.
 Tony Blair


signature.asc
Description: Digital signature


Bug#405472: openmpi-bin: mpif77 and mpif90 incorrect default include file search path

2007-01-03 Thread Mark Hymers
severity 405472 normal
thanks

On Wed, 03, Jan, 2007 at 10:28:59PM +0200, Juha Jäykkä spoke thus..
 All fortran programs calling MPI_* need to include mpif.h, but
 
 ~/gl mpif77 -DHAVE_CONFIG_H -I. -I. -I..  -I../include  -O3 
 -finline-limit=1 -march=i686  -march=x86-64 -funroll-loops  -mfpmath=sse 
 -msse2   -c -o min_algo_sd.o min_algo_sd.F
 Error: Can't open included file 'mpif.h'
 
 Adding -I /usr/include fixes this.

Given that g77 doesn't include /usr/include on the default search path
either:

[EMAIL PROTECTED]:/tmp$ g77 tst.f
tst.f:1:
   include 'mpif.h'
   ^
Unable to open INCLUDE file `mpif.h' at (^),

this is definitely not Severity: Grave and I'm not even sure
whether it should be altered; that's up to the normal maintainer.
It's certainly not release critical (clarified with the RMs).

Mark

-- 
Mark Hymers mark at hymers dot org dot uk

I never make predictions.  I never have and I never will.
 Tony Blair


signature.asc
Description: Digital signature


Processed: Re: Bug#405472: openmpi-bin: mpif77 and mpif90 incorrect default include file search path

2007-01-03 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 405472 normal
Bug#405472: openmpi-bin: mpif77 and mpif90 incorrect default include file 
search path
Severity set to `normal' from `grave'

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]