Browse Source

Added script for building on cheyenne

lon0
Bill Ladwig 7 years ago
parent
commit
44ea4c9b70
  1. 16
      build_scripts/chey_intel_mkl_omp.sh
  2. 4
      conda_recipe/meta.yaml

16
build_scripts/chey_intel_mkl_omp.sh

@ -0,0 +1,16 @@
#!/bin/bash
cd ../fortran/build_help
ifort -o sizes -qopenmp omp_sizes.f90
python sub_sizes.py
cd ..
ifort ompgen.F90 -qopenmp -fpp -save-temps
mv ompgen.i90 omp.f90
f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature
cd ..
python setup.py clean --all
python setup.py config_fc --f90flags="-O3 -xHost -mkl -openmp" build --compiler=intelem --fcompiler=intelem
pip install .

4
conda_recipe/meta.yaml

@ -6,7 +6,7 @@ package:
source: source:
git_url: https://github.com/NCAR/wrf-python git_url: https://github.com/NCAR/wrf-python
git_branch: release/1.1.0 git_branch: develop
build: build:
number: 0 number: 0
@ -56,4 +56,4 @@ extra:
- marylhaley - marylhaley
- david-ian-brown - david-ian-brown
- khallock - khallock

Loading…
Cancel
Save