Oops! Looks like we missed handling the --program-suffix stuff properly when making our sym links. I've filed a ticket on the issue:

    https://svn.open-mpi.org/trac/ompi/ticket/1168


On Oct 16, 2007, at 1:51 PM, Victor Prosolin wrote:

Hi all.
This is a bug report, though minor.
Briefly: when I configure openmpi with the option
--program-suffix=-gcc-4.3 I get a bunch of symbolic links that point to
non-existing files.

Here is then configure command:

 FC=gfortran-4.3 F77=gfortran-4.3 CC=gcc-4.3 ./configure
--enable-mpi-f77 --enable-mpi-f90 --enable-static --disable-shared
--prefix=/localhome/vic/programs --program-suffix=-gcc-4.3

Here is "ls -l" /localhome/vic/programs/bin
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpic++ -> opal_wrapper
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpicc -> opal_wrapper
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpiCC -> opal_wrapper
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpicxx -> opal_wrapper
lrwxrwxrwx 1 vic vic       7 Oct 16 11:19 mpiexec -> orterun
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpif77 -> opal_wrapper
lrwxrwxrwx 1 vic vic      12 Oct 16 11:19 mpif90 -> opal_wrapper
lrwxrwxrwx 1 vic vic       7 Oct 16 11:19 mpirun -> orterun
-rwxr-xr-x 1 vic vic 2261137 Oct 16 11:19 ompi_info-gcc-4.3
-rwxr-xr-x 1 vic vic  212716 Oct 16 11:18 opal_wrapper-gcc-4.3
-rwxr-xr-x 1 vic vic 1112352 Oct 16 11:18 orted-gcc-4.3
-rwxr-xr-x 1 vic vic 1180508 Oct 16 11:18 orterun-gcc-4.3


opal_wrapper and orterun do not exist, so all symbolic links are broken.
All symbolic links (except mpirun and mpiexec) should point to
opal_wrapper-gcc-4.3 instead of just opal_wrapper, and mpirun and
mpiexec should point to orterun-gcc-4.3 instead of just orterun. So
basically, the custom program-prefix did not work for some files.

OpenMPI version 1.2.4.

I can provide more information if needed.


Sincerely,
Victor.
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Cisco Systems

Reply via email to