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.
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: include/ openmpi -pthread -lmpi -lorte -lopal -ldl -Wl,--export- dynamic -lnsl -lutil -lm -ldl include/ openmpi -pthread dynamic -lnsl -lutil -lm -ldl
$ mpicc -showme
gcc -I/usr/
$ mpicc -showme:compile
-I/usr/
$ mpicc -showme:link
-pthread -lmpi -lorte -lopal -ldl -Wl,--export-
$ ls hello*
hello.c
$ mpicc -Wall -O2 hello.c -o hello
$ ls hello*
hello hello.c
$ ./hello
SRU candidate works!
$
It runs fine now.