-
Notifications
You must be signed in to change notification settings - Fork 37
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 #464 from xylar/add_otps_conda_recipe
Add a recipe for OSU tidal prediction software
- Loading branch information
Showing
7 changed files
with
79 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ mpas_tools=0.15.0 | |
nco | ||
netcdf4=*=nompi_* | ||
numpy | ||
otps=2021.10 | ||
progressbar2 | ||
pyamg >=4.2.2 | ||
pyproj | ||
|
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,14 @@ | ||
cdt_name: | ||
- cos6 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- e3sm compass | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '10' | ||
target_platform: | ||
- linux-64 |
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,14 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- e3sm compass | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '11' | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
target_platform: | ||
- osx-64 |
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,13 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
gdown 1FBlS_Xmf6_dnCg1T0t5GSTRTwMjLuA8N | ||
tar xvf OTPS.tar.Z | ||
|
||
cd OTPS | ||
|
||
for exec in extract_HC extract_local_model predict_tide | ||
do | ||
${FC} ${FCFLAGS} -o ${exec} -fconvert=swap -frecord-marker=4 ${exec}.f90 subs.f90 | ||
cp ${exec} ${PREFIX}/bin/ | ||
done |
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,35 @@ | ||
{% set version = "2021.10" %} | ||
{% set build = 0 %} | ||
|
||
package: | ||
name: otps | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
skip: True # [win] | ||
|
||
requirements: | ||
build: | ||
- make | ||
- {{ compiler('fortran') }} | ||
host: | ||
- gdown | ||
- tar | ||
|
||
test: | ||
commands: | ||
- test -f ${PREFIX}/bin/extract_HC | ||
- test -f ${PREFIX}/bin/extract_local_model | ||
- test -f ${PREFIX}/bin/predict_tide | ||
|
||
about: | ||
home: https://www.tpxo.net/otps | ||
license: custom | ||
license_file: OTPS/COPYRIGHT | ||
summary: OSU TIDAL PREDICTION Software (OTPS) | ||
|
||
extra: | ||
recipe-maintainers: | ||
- xylar | ||
- sbrus89 |
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