-
Notifications
You must be signed in to change notification settings - Fork 28
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 #282 from mlee03/fregrid_acc_compile
Add OpenACC compile option to autotools
- Loading branch information
Showing
12 changed files
with
3,495 additions
and
6 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
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,36 @@ | ||
#*********************************************************************** | ||
# GNU Lesser General Public License | ||
# | ||
# This file is part of the GFDL FRE NetCDF tools package (FRE-NCTools). | ||
# | ||
# FRE-NCTools is free software: you can redistribute it and/or modify it under | ||
# the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or (at | ||
# your option) any later version. | ||
# | ||
# FRE-NCTools is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with FRE-NCTools. If not, see | ||
# <http://www.gnu.org/licenses/>. | ||
#*********************************************************************** | ||
bin_PROGRAMS = fregrid_acc | ||
|
||
AM_CFLAGS = -I$(top_srcdir)/tools/libfrencutils $(NETCDF_CFLAGS) \ | ||
-I$(top_srcdir)/tools/libfrencutils_acc \ | ||
-I$(top_srcdir)/tools/fregrid -acc | ||
LDADD = $(NETCDF_LDFLAGS) $(NETCDF_LIBS) $(RPATH_FLAGS) | ||
|
||
fregrid_acc_SOURCES = conserve_interp_acc.c \ | ||
conserve_interp_acc.h \ | ||
fregrid_acc.c | ||
|
||
fregrid_acc_LDADD = $(top_builddir)/tools/fregrid/fregrid_util.o \ | ||
$(top_builddir)/tools/fregrid/conserve_interp.o \ | ||
$(top_builddir)/tools/fregrid/bilinear_interp.o \ | ||
$(top_builddir)/tools/libfrencutils/libfrencutils.a \ | ||
$(top_builddir)/tools/libfrencutils_acc/libfrencutils_acc.a \ | ||
$(LDADD) |
Oops, something went wrong.