311 |
|
# include <unistd.h> |
312 |
|
#endif" |
313 |
|
|
314 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME DEBUG build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ MPI_DIR MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS fortran_machine_defs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS' |
314 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME DEBUG build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS' |
315 |
|
ac_subst_files='' |
316 |
|
|
317 |
|
# Initialize some variables set by options. |
874 |
|
Optional Packages: |
875 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
876 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
877 |
< |
--with-mpi-dir=MPIDIR give the path for MPI /usr/local |
878 |
< |
--with-mpi-lib-dir=dir give the path for MPI-libraries MPI_DIR/lib |
879 |
< |
--with-mpi-inc-dir=dir give the path for MPI-include-files MPI_DIR/include |
880 |
< |
--with-sprng-prefix=PREFIX |
877 |
> |
--with-mpi_dir=MPIDIR give the path for MPI /usr/local |
878 |
> |
--with-mpi-libdir=dir give the path for MPI-libraries MPI_DIR/lib |
879 |
> |
--with-mpi_inc=dir give the path for MPI-include-files MPI_DIR/include |
880 |
> |
--with-sprng_prefix=PREFIX |
881 |
|
Prefix where SPRNG is installed |
882 |
< |
--with-sprng-lib=PREFIX SPRNG library directory |
883 |
< |
--with-sprng-include=PREFIX |
882 |
> |
--with-sprng_lib_prefix=PREFIX SPRNG library directory |
883 |
> |
--with-sprng_include_prefix=PREFIX |
884 |
|
SPRNG include directory |
885 |
|
--with-mkl Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60 |
886 |
|
--with-mpi_f90_mods=<dir> |
3882 |
|
|
3883 |
|
# Try to determine "good" native compiler flags if none specified on command |
3884 |
|
# line |
3885 |
+ |
|
3886 |
|
if test "$ac_test_F90FLAGS" != "set"; then |
3887 |
|
F90FLAGS="" |
3888 |
|
case "${host_cpu}-${host_os}" in |
4851 |
|
ac_save_F90FLAGS=$F90FLAGS |
4852 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
4853 |
|
|
4854 |
< |
(eval echo $as_me:4853: \"$ac_link\") >&5 |
4854 |
> |
(eval echo $as_me:4854: \"$ac_link\") >&5 |
4855 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4856 |
|
echo "$ac_f90_v_output" >&5 |
4857 |
|
F90FLAGS=$ac_save_F90FLAGS |
4928 |
|
ac_save_F90FLAGS=$F90FLAGS |
4929 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
4930 |
|
|
4931 |
< |
(eval echo $as_me:4930: \"$ac_link\") >&5 |
4931 |
> |
(eval echo $as_me:4931: \"$ac_link\") >&5 |
4932 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
4933 |
|
echo "$ac_f90_v_output" >&5 |
4934 |
|
F90FLAGS=$ac_save_F90FLAGS |
5368 |
|
echo "$as_me:$LINENO: checking for mpi-directory" >&5 |
5369 |
|
echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6 |
5370 |
|
|
5371 |
< |
# Check whether --with-MPI_DIR or --without-MPI_DIR was given. |
5372 |
< |
if test "${with_MPI_DIR+set}" = set; then |
5373 |
< |
withval="$with_MPI_DIR" |
5371 |
> |
# Check whether --with-mpi_dir or --without-mpi_dir was given. |
5372 |
> |
if test "${with_mpi_dir+set}" = set; then |
5373 |
> |
withval="$with_mpi_dir" |
5374 |
|
MPI_DIR="$withval" |
5375 |
|
else |
5376 |
|
MPI_DIR="/usr/local" |
5382 |
|
echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5 |
5383 |
|
echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6 |
5384 |
|
|
5385 |
< |
# Check whether --with-MPI_LIBDIR or --without-MPI_LIBDIR was given. |
5386 |
< |
if test "${with_MPI_LIBDIR+set}" = set; then |
5387 |
< |
withval="$with_MPI_LIBDIR" |
5385 |
> |
# Check whether --with-mpi_libdir or --without-mpi_libdir was given. |
5386 |
> |
if test "${with_mpi_libdir+set}" = set; then |
5387 |
> |
withval="$with_mpi_libdir" |
5388 |
|
MPI_LIBDIR="$withval" |
5389 |
|
else |
5390 |
|
MPI_LIBDIR="$MPI_DIR/lib" |
5396 |
|
echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5 |
5397 |
|
echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6 |
5398 |
|
|
5399 |
< |
# Check whether --with-MPI_INC or --without-MPI_INC was given. |
5400 |
< |
if test "${with_MPI_INC+set}" = set; then |
5401 |
< |
withval="$with_MPI_INC" |
5399 |
> |
# Check whether --with-mpi_inc or --without-mpi_inc was given. |
5400 |
> |
if test "${with_mpi_inc+set}" = set; then |
5401 |
> |
withval="$with_mpi_inc" |
5402 |
|
MPI_INC="$withval" |
5403 |
|
else |
5404 |
|
MPI_INC="$MPI_DIR/include" |
6131 |
|
|
6132 |
|
|
6133 |
|
|
6134 |
< |
# Check whether --with-sprng-prefix or --without-sprng-prefix was given. |
6134 |
> |
# Check whether --with-sprng_prefix or --without-sprng_prefix was given. |
6135 |
|
if test "${with_sprng_prefix+set}" = set; then |
6136 |
|
withval="$with_sprng_prefix" |
6137 |
|
sprng_prefix="$withval" |
6139 |
|
sprng_prefix="/usr/local" |
6140 |
|
fi; |
6141 |
|
|
6142 |
< |
# Check whether --with-sprng-lib-prefix or --without-sprng-lib-prefix was given. |
6142 |
> |
# Check whether --with-sprng_lib_prefix or --without-sprng_lib_prefix was given. |
6143 |
|
if test "${with_sprng_lib_prefix+set}" = set; then |
6144 |
|
withval="$with_sprng_lib_prefix" |
6145 |
|
sprng_lib_prefix="$withval" |
6147 |
|
sprng_lib_prefix="/usr/local/lib" |
6148 |
|
fi; |
6149 |
|
|
6150 |
< |
# Check whether --with-sprng-include-prefix or --without-sprng-include-prefix was given. |
6150 |
> |
# Check whether --with-sprng_include_prefix or --without-sprng_include_prefix was given. |
6151 |
|
if test "${with_sprng_include_prefix+set}" = set; then |
6152 |
|
withval="$with_sprng_include_prefix" |
6153 |
|
sprng_include_prefix="$withval" |
6750 |
|
|
6751 |
|
MPI_F90_MODS="-I${mpi_f90_mods}" |
6752 |
|
|
6753 |
+ |
# The library name: |
6754 |
+ |
if test -z "$MPI_LIB" ; then |
6755 |
+ |
MPI_LIBNAME=-lmpich |
6756 |
+ |
else |
6757 |
+ |
MPI_LIBNAME="$MPI_LIB" |
6758 |
+ |
fi |
6759 |
+ |
if test -z "$MPIMODLIBNAME" ; then |
6760 |
+ |
MPIMODLIBNAME="${MPI_LIBNAME}f90" |
6761 |
+ |
fi |
6762 |
+ |
|
6763 |
|
else |
6764 |
|
echo "$as_me:$LINENO: result: no" >&5 |
6765 |
|
echo "${ECHO_T}no" >&6 |
6770 |
|
|
6771 |
|
|
6772 |
|
|
6762 |
– |
case $F90 in |
6763 |
– |
ifc) fortran_machine_defs='Linux_ifc_machdep$(O)' ;; |
6764 |
– |
*) fortran_machine_defs='' ;; |
6765 |
– |
esac |
6773 |
|
|
6774 |
|
|
6768 |
– |
|
6769 |
– |
|
6775 |
|
OBJEXT=".$OBJEXT" |
6776 |
|
|
6777 |
|
OOPSE=oopse |
7504 |
|
s,@F90LIBS@,$F90LIBS,;t t |
7505 |
|
s,@F90_FUNC@,$F90_FUNC,;t t |
7506 |
|
s,@F90_FUNC_@,$F90_FUNC_,;t t |
7507 |
< |
s,@MPI_DIR@,$MPI_DIR,;t t |
7507 |
> |
s,@mpi_dir@,$mpi_dir,;t t |
7508 |
|
s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t |
7509 |
|
s,@MPI_INC@,$MPI_INC,;t t |
7510 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
7522 |
|
s,@MKL_INC@,$MKL_INC,;t t |
7523 |
|
s,@HAVE_MKL@,$HAVE_MKL,;t t |
7524 |
|
s,@MPI_F90_MODS@,$MPI_F90_MODS,;t t |
7525 |
< |
s,@fortran_machine_defs@,$fortran_machine_defs,;t t |
7525 |
> |
s,@MPIMODLIBNAME@,$MPIMODLIBNAME,;t t |
7526 |
|
s,@BATEXT@,$BATEXT,;t t |
7527 |
|
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
7528 |
|
s,@OOPSE@,$OOPSE,;t t |