Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
29dfaa37
Commit
29dfaa37
authored
Aug 06, 2010
by
William Gropp
Browse files
[svn-r7016] Added support for creating shared libraries with the Sun f90/f95 compiler
parent
b6d89305
Changes
5
Hide whitespace changes
Inline
Side-by-side
confdb/aclocal_fc.m4
View file @
29dfaa37
...
...
@@ -701,6 +701,8 @@ for arg in --version -V -v ; do
pac_cv_fc_vendor=pgi
elif grep 'Sun Workshop' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Sun Fortran 9' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Absoft' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=absoft
elif grep 'G95' conftest.txt >/dev/null 2>&1 ; then
...
...
@@ -716,11 +718,13 @@ for arg in --version -V -v ; do
done
if test "$pac_cv_fc_vendor" = "unknown" ; then
# Try to use the compiler name
if test "$F
90
" = "ifort" -o "$F
90
" = "ifc" ; then
if test "$F
C
" = "ifort" -o "$F
C
" = "ifc" ; then
pac_cv_fc_vendor=intel
elif test "$F
90
" = "pgf90" ; then
elif test "$F
C
" = "pgf90" ; then
pac_cv_fc_vendor=pgi
elif test "$F90" = "xlf90" -o "$F90" = "xlf90_r" ; then
elif test "$FC" = "xlf90" -o "$FC" = "xlf90_r" ; then
pac_cv_fc_vendor=ibm
elif test "$FC" = "xlf95" -o "$FC" = "xlf95_r" ; then
pac_cv_fc_vendor=ibm
fi
fi
...
...
configure.in
View file @
29dfaa37
...
...
@@ -2251,6 +2251,12 @@ if test "$enable_fc" = "yes" ; then
FC_SHL="$FC -shared -fPIC"
FC_LINKPATH_SHL="-Wl,-rpath -Wl,"
;;
sun)
# Sun studio compiler on Linux
FC_SHL="$FC -KPIC"
FC_LINKPATH_SHL="-Qoption ld -rpath,"
;;
*)
# Unknown, ignore
...
...
src/mpi/romio/confdb/aclocal_fc.m4
View file @
29dfaa37
...
...
@@ -701,6 +701,8 @@ for arg in --version -V -v ; do
pac_cv_fc_vendor=pgi
elif grep 'Sun Workshop' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Sun Fortran 9' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Absoft' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=absoft
elif grep 'G95' conftest.txt >/dev/null 2>&1 ; then
...
...
@@ -716,11 +718,13 @@ for arg in --version -V -v ; do
done
if test "$pac_cv_fc_vendor" = "unknown" ; then
# Try to use the compiler name
if test "$F
90
" = "ifort" -o "$F
90
" = "ifc" ; then
if test "$F
C
" = "ifort" -o "$F
C
" = "ifc" ; then
pac_cv_fc_vendor=intel
elif test "$F
90
" = "pgf90" ; then
elif test "$F
C
" = "pgf90" ; then
pac_cv_fc_vendor=pgi
elif test "$F90" = "xlf90" -o "$F90" = "xlf90_r" ; then
elif test "$FC" = "xlf90" -o "$FC" = "xlf90_r" ; then
pac_cv_fc_vendor=ibm
elif test "$FC" = "xlf95" -o "$FC" = "xlf95_r" ; then
pac_cv_fc_vendor=ibm
fi
fi
...
...
src/mpl/confdb/aclocal_fc.m4
View file @
29dfaa37
...
...
@@ -701,6 +701,8 @@ for arg in --version -V -v ; do
pac_cv_fc_vendor=pgi
elif grep 'Sun Workshop' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Sun Fortran 9' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Absoft' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=absoft
elif grep 'G95' conftest.txt >/dev/null 2>&1 ; then
...
...
@@ -716,11 +718,13 @@ for arg in --version -V -v ; do
done
if test "$pac_cv_fc_vendor" = "unknown" ; then
# Try to use the compiler name
if test "$F
90
" = "ifort" -o "$F
90
" = "ifc" ; then
if test "$F
C
" = "ifort" -o "$F
C
" = "ifc" ; then
pac_cv_fc_vendor=intel
elif test "$F
90
" = "pgf90" ; then
elif test "$F
C
" = "pgf90" ; then
pac_cv_fc_vendor=pgi
elif test "$F90" = "xlf90" -o "$F90" = "xlf90_r" ; then
elif test "$FC" = "xlf90" -o "$FC" = "xlf90_r" ; then
pac_cv_fc_vendor=ibm
elif test "$FC" = "xlf95" -o "$FC" = "xlf95_r" ; then
pac_cv_fc_vendor=ibm
fi
fi
...
...
src/pm/hydra/confdb/aclocal_fc.m4
View file @
29dfaa37
...
...
@@ -701,6 +701,8 @@ for arg in --version -V -v ; do
pac_cv_fc_vendor=pgi
elif grep 'Sun Workshop' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Sun Fortran 9' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=sun
elif grep 'Absoft' conftest.txt >/dev/null 2>&1 ; then
pac_cv_fc_vendor=absoft
elif grep 'G95' conftest.txt >/dev/null 2>&1 ; then
...
...
@@ -716,11 +718,13 @@ for arg in --version -V -v ; do
done
if test "$pac_cv_fc_vendor" = "unknown" ; then
# Try to use the compiler name
if test "$F
90
" = "ifort" -o "$F
90
" = "ifc" ; then
if test "$F
C
" = "ifort" -o "$F
C
" = "ifc" ; then
pac_cv_fc_vendor=intel
elif test "$F
90
" = "pgf90" ; then
elif test "$F
C
" = "pgf90" ; then
pac_cv_fc_vendor=pgi
elif test "$F90" = "xlf90" -o "$F90" = "xlf90_r" ; then
elif test "$FC" = "xlf90" -o "$FC" = "xlf90_r" ; then
pac_cv_fc_vendor=ibm
elif test "$FC" = "xlf95" -o "$FC" = "xlf95_r" ; then
pac_cv_fc_vendor=ibm
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment