Hi John,

  Hardy is OK already as hardy has been synced with a newer debian
version that does not have this problem (I believe the 99_autoconf patch
disappeared in subsequent versions)

    Koen


** Description changed:

  Binary package hint: openmpi-bin
  
- On Ubuntu 7.04, mpicc from the openmpi-bin package works and produces
- the normal lines to compile a C program that uses MPI:
+ package does not build correctly :
+ 
+ the problem is linked to one line in the 99_autoconf patch
+ 
+ these are the changes around line 1760 in the current 99_autoconf.patch
+ file
+ 
+ 1759 -datadir='${prefix}/share'
+ 1760 +datarootdir='${prefix}/share'
+ 1761 +datadir='${datarootdir}'
+ 
+ line 1761 should be +datadir='${prefix}/share'
+ 
+ it seems that the datarootdir does not get expanded correctly
+ 
+ 
+ 
+ On Ubuntu 7.04, mpicc from the openmpi-bin package works and produces the 
normal lines to compile a C program that uses MPI:
  
  $ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=7.04
  DISTRIB_CODENAME=feisty
  DISTRIB_DESCRIPTION="Ubuntu 7.04"
  $ dpkg -l | grep openmpi
  ii  openmpi-bin                                1.1-2.3                        
        high performance message passing library
  ii  openmpi-common                             1.1-2.3                        
        high performance message passing library
  ii  openmpi-dev                                1.1-2.3                        
        high performance message passing library
  ii  openmpi-libs0                              1.1-2.3                        
        high performance message passing library
  $ mpicc -showme
  gcc -I/usr/include/openmpi -pthread -lmpi -lorte -lopal -ldl 
-Wl,--export-dynamic -lnsl -lutil -lm -ldl
  $ mpicc -showme:compile
  -I/usr/include/openmpi -pthread
  $ mpicc -showme:link
  -pthread -lmpi -lorte -lopal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
  $ ls hello*
  hello.c
  $ mpicc -Wall -O2 hello.c -o hello
  $ ls hello*
  hello  hello.c
  
  TEST CASE:
  However on Ubuntu 7.10 RC, the mpicc command produces no output and will not 
build a MPI C program:
  
  $ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=7.10
  DISTRIB_CODENAME=gutsy
  DISTRIB_DESCRIPTION="Ubuntu 7.10"
  $ dpkg -l | grep openmpi
  ii  openmpi-bin                                1.1-2.5                        
      high performance message passing library
  ii  openmpi-common                             1.1-2.5                        
      high performance message passing library
  ii  openmpi-dev                                1.1-2.5                        
      high performance message passing library
  ii  openmpi-libs0                              1.1-2.5                        
      high performance message passing library
  $ mpicc -showme
  $ mpicc -showme:compile
  $ mpicc -showme:link
  $ ls hello*
  hello.c
  $ mpicc -Wall -O2 hello.c -o hello
  $ ls hello*
  hello.c

-- 
mpicc (openmpi) broken in Ubuntu 7.10 RC
https://bugs.launchpad.net/bugs/152273
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to