Comment 37 for bug 152273

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

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.