-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #244 from ExtremeFLOW/release/0.2.1
NEKO v0.2.1
- Loading branch information
Showing
50 changed files
with
2,346 additions
and
1,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module ax_poisson | ||
use ax_product | ||
use mxm_wrapper | ||
implicit none | ||
|
||
type, public, extends(ax_t) :: ax_poisson_t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# | ||
# ---------------------------------------------------------------------------- | ||
# "THE BEER-WARE LICENSE" (Revision 42): | ||
# <njansson@kth.se> wrote this file. As long as you retain this notice you | ||
# can do whatever you want with this stuff. If we meet some day, and you think | ||
# this stuff is worth it, you can buy me a beer in return Niclas Jansson | ||
# ---------------------------------------------------------------------------- | ||
# | ||
|
||
AC_DEFUN([AX_METIS],[ | ||
AC_ARG_WITH([metis], | ||
AS_HELP_STRING([--with-metis=DIR], | ||
[Directory for metis]), | ||
[ | ||
if test -d "$withval"; then | ||
ac_metis_path="$withval"; | ||
METIS_LDFLAGS="-L$ac_metis_path/lib" | ||
METIS_CPPFLAGS="-I$ac_metis_path/include" | ||
fi | ||
],) | ||
AC_ARG_WITH([metis-libdir], | ||
AS_HELP_STRING([--with-metis-libdir=LIBDIR], | ||
[Directory for metis library]), | ||
[ | ||
if test -d "$withval"; then | ||
ac_metis_libdir="$withval" | ||
fi | ||
],) | ||
if test -d "$ac_metis_libdir"; then | ||
METIS_LDFLAGS="-L$ac_metis_libdir" | ||
fi | ||
if test -d "$ac_metis_path"; then | ||
CPPFLAGS_SAVED="$CPPFLAGS" | ||
LDFLAGS_SAVED="$LDFLAGS" | ||
CPPFLAGS="$METIS_CPPFLAGS $CPPFLAGS" | ||
LDFLAGS="$METIS_LDFLAGS $LDFLAGS" | ||
export CPPFLAGS | ||
export LDFLAGS | ||
fi | ||
AC_LANG(C) | ||
AC_CHECK_HEADER([metis.h],[have_metis_h=yes],[have_metis_h=no]) | ||
if test x"${have_metis_h}" = xno; then | ||
if test -d "$ac_metis_path"; then | ||
CPPFLAGS="$CPPFLAGS_SAVED" | ||
fi | ||
fi | ||
AC_LANG(Fortran) | ||
AC_CHECK_LIB(metis, METIS_PartGraphKway, | ||
[have_metis=yes;METIS_LIBS="-lmetis"], | ||
[have_metis=no],[-lmetis]) | ||
AC_SUBST(METIS_LIBS) | ||
if test x"${have_metis}" = xyes; then | ||
AC_DEFINE(HAVE_METIS,1,[Define if you have the Metis library.]) | ||
else | ||
if test -d "$ac_metis_path"; then | ||
LDFLAGS="$LDFLAGS_SAVED" | ||
fi | ||
fi | ||
]) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# ---------------------------------------------------------------------------- | ||
# "THE BEER-WARE LICENSE" (Revision 42): | ||
# <njansson@kth.se> wrote this file. As long as you retain | ||
# this notice you can do whatever you want with this stuff. If we meet | ||
# some day, and you think this stuff is worth it, you can buy me a | ||
# beer in return Niclas Jansson | ||
# ---------------------------------------------------------------------------- | ||
# | ||
AC_DEFUN([AX_MPI_DTYPE], [ | ||
AC_REQUIRE([AC_PROG_FC]) | ||
AC_LANG_PUSH([Fortran]) | ||
AC_MSG_CHECKING([if MPI datatypes can be parameters]) | ||
AC_COMPILE_IFELSE([ | ||
program conftest | ||
use mpi_f08 | ||
type(MPI_Datatype), parameter :: MPI_DTYPE = MPI_REAL | ||
end program conftest], | ||
[ax_mpi_const_dtype=yes], [ax_mpi_const_dtype=no]) | ||
AC_LANG_POP([Fortran]) | ||
if test "x$ax_mpi_const_dtype" = "xyes"; then | ||
AC_MSG_RESULT([yes]) | ||
AC_DEFINE([HAVE_MPI_PARAM_DTYPE], [1], [MPI supports datatypes as parameters]) | ||
else | ||
AC_MSG_RESULT([no]) | ||
fi | ||
]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# ---------------------------------------------------------------------------- | ||
# "THE BEER-WARE LICENSE" (Revision 42): | ||
# <njansson@kth.se> wrote this file. As long as you retain | ||
# this notice you can do whatever you want with this stuff. If we meet | ||
# some day, and you think this stuff is worth it, you can buy me a | ||
# beer in return Niclas Jansson | ||
# ---------------------------------------------------------------------------- | ||
# | ||
AC_DEFUN([AX_MPIF08], [ | ||
AC_REQUIRE([AC_PROG_FC]) | ||
AC_LANG_PUSH([Fortran]) | ||
AC_MSG_CHECKING([for Fortran 2008 MPI support]) | ||
AC_COMPILE_IFELSE([ | ||
program conftest | ||
use mpi_f08 | ||
end program conftest], | ||
[ax_mpif08=yes], [ax_mpif08=no]) | ||
AC_LANG_POP([Fortran]) | ||
if test "x$ax_mpif08" = "xyes"; then | ||
AC_MSG_RESULT([yes]) | ||
AC_DEFINE([HAVE_MPI_F08], [1], [Fortran 2008 MPI support]) | ||
else | ||
AC_MSG_RESULT([no]) | ||
AC_MSG_ERROR([MPI compiler doesn't have a Fortran 2008 module]) | ||
fi | ||
]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.