GUTSY VERIFICATION

1.1-2.5:
$ mpicc -showme
$ mpicc -showme:compile
$ mpicc -showme:link
$ ls hello*
hello.c
$ mpicc -Wall -O2 hello.c -o hello
$ ls hello*
hello.c
$

1.1-2.5ubuntu1:
$ 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
$ ./hello 
SRU candidate works!
$

It runs fine now.

-- 
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