f90 works correctly, when run simply as f90 or as /opt/sun/etc.../f90,
and binaries run properly (sun f90 appears
to give excellent performance, incidently!)
the command /opt/mpi_sun/bin/mpif90 --show-me
returns:
/home/marsden/sources/gcc_final/bin/gfortran
-I/opt/mpi_gfortran4.4//include -pthread -I/opt/mpi_gfortran4.4//lib
-L/opt/mpi_gfortran4.4//lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte
-lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
For what it's worth, and as you've probably guessed, I do have another
version installation of openmpi.
In fact two, one with the system gcc/gfortran4.2, and one with a locally
compiled gcc/gfortran4.4 .
These both work correctly. The second installation seems to be
interfering with my current attempt,
even though I exported all environment variables I can think of to point
to sun compilers & libraries first,
before configure & compile.
Jeff Squyres wrote:
Thanks, that was helpful. From everything I can see, it looks like
the ".../f90" value was propagated properly throughout OMPI's code base.
Does f90 invoke gfortran on the back-end? Try invoking
"/opt/sun/express/sunstudioceres/bin/f90" with no arguments (just like
you invoked mpif90 with no arguments) and see if you get the sam error.
You can also invoke "mpif90 --showme" to see the command that mpif90
would have executed.
On Jan 20, 2009, at 11:15 AM, Olivier Marsden wrote:
Certainly.
I hope I haven't forgotten anything.
Olivier Marsden
Jeff Squyres wrote:
Can you send the information listed here:
http://www.open-mpi.org/community/help/
On Jan 19, 2009, at 11:49 AM, Olivier Marsden wrote:
Hello,
I'm trying to compile ompi 1.3rc7 with the sun studio express
comilers.
I'm using the following configure command:
CC=/opt/sun/express/sunstudioceres/bin/cc
CXX=/opt/sun/express/sunstudioceres/bin/CC
F77=/opt/sun/express/sunstudioceres/bin/f77
FC=/opt/sun/express/sunstudioceres/bin/f90 ./configure
--prefix=/opt/mpi_sun --enable-heterogeneous --enable-shared
--enable-mpi-f90 --with-mpi-f90-size=small --disable-mpi-threads
--disable-progress-threads --disable-debug --without-udapl
--disable-io-romio
The build and install execute correctly. However, I get the
following when trying to use mpif90:
>> /opt/mpi_sun/bin/mpif90
gfortran: no input files
My /opt/mpi_sun/share/openmpi/mpif90-wrapper-data.txt file appears
to my layman eye to be correct, but just
in case, its contents is the following:
project=Open MPI
project_short=OMPI
version=1.3rc7
language=Fortran 90
compiler_env=FC
compiler_flags_env=FCFLAGS
compiler=/opt/sun/express/sunstudioceres/bin/f90
module_option=-M
extra_includes=
preprocessor_flags=
compiler_flags=
linker_flags=
libs=-lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl
-Wl,--export-dynamic -lnsl -lutil -lm -ldl
required_file=
includedir=${includedir}
libdir=${libdir}
Can anyone see why gfortran is being used? (the config.log says
that sun f90 is used )
Thanks,
Olivier
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
<ompi-output.tar.bz2>_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users