Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
9ccfbb2
First effort with docker
davegill Feb 27, 2019
d602f30
Explicitly look inside container for executables
davegill Feb 27, 2019
4efc962
Find out list of TRAVIS variables
davegill Feb 27, 2019
4d3d846
Try to edit Dockerfile to get correct WRF version
davegill Mar 6, 2019
ce48326
yum install git in Dockerfile
davegill Mar 6, 2019
c0468c0
Now add a run phase for WRF
davegill Mar 6, 2019
bea504d
Absolute path required with docker -w
davegill Mar 6, 2019
43d5a1f
Remove the "-w" option from docker, does not work to change working d…
davegill Mar 7, 2019
3f24a80
If BUILD fails: 1) output compile log, 2) do not try to run
davegill Mar 7, 2019
35032ef
gcc-6 -> gcc-8
davegill Mar 7, 2019
0d6c3d0
cat the wrf build log, not just an ls, we want to see what failed
davegill Mar 7, 2019
63ce14c
Linux RH devtoolset for gnu-7, changes LD_LIBRARY_PATH and PATH
davegill Mar 11, 2019
3da4e71
docker ENV includes LD_LIBRARY_PATH and PATH with devtoolset
davegill Mar 12, 2019
6517b50
Works interactively
davegill Apr 18, 2019
75e4606
Redirect the std out and err from netcdf, openmpi, hdf5 configure and…
davegill Apr 18, 2019
165d834
Write lib std out and err to /wrf/libs, since that dir exists (ahem)
davegill Apr 18, 2019
10acd0a
Add intermittent print so travis doesn't think process is hung, and s…
davegill Apr 18, 2019
efa6de8
Still wrestling with 10 minute rule
davegill Apr 18, 2019
739efe6
Back to RRTMG fails again
davegill Apr 18, 2019
9d62b19
Removing -d made compile take too long, put -d back in
davegill Apr 18, 2019
35011e6
For OpenMPI build, try awk to print every 1000th line - woot
davegill Apr 18, 2019
93ea25c
Just print out tons of openmpi make stuff, easier
davegill Apr 18, 2019
e0af586
Add in some debug prints to .travis.yml, what is $OK
davegill Apr 18, 2019
8733b49
Lots of .travis.yml prints concerning return code for file existence …
davegill Apr 18, 2019
9bcf542
Fix sh if and or syntax oops in .travis.yml
davegill Apr 18, 2019
cb2921d
Yet more syntax probs, freaking learn sh, dude
davegill Apr 19, 2019
cbc6116
Uses second of the two-part Docker build, should be FAST
davegill Apr 20, 2019
04e46bb
Prints in .travis.yml to see what is happening with mpirun command
davegill Apr 20, 2019
8f45639
prints in .travis.yml, using too many "slots" with MPI
davegill Apr 20, 2019
d3ee983
Use latest Dockerfile (not first try, oops)
davegill Apr 20, 2019
e784e93
Use thirdtry Dockerfile
davegill Apr 20, 2019
42dc9a8
Supply NP=3, for env setting for MPI - how many MPI ranks
davegill Apr 20, 2019
9e5e5b9
This is the 4th try for using the faster Dockerfile
davegill Apr 21, 2019
08416bc
Remove tests to see how many MPI ranks were available
davegill Apr 21, 2019
4efda61
.travis.yml: use matrix for three em_real jobs at same time
davegill Jun 19, 2019
a28cf89
.travis.yml: maybe syntax error? adding space after : in matrix lines
davegill Jun 19, 2019
26c930a
.travis.yml: back off to a single test, still a single line, does thi…
davegill Jun 19, 2019
bc39f5d
Hmmm, well back to a previous .travis.yml, does this STILL work?
davegill Jun 19, 2019
e54a2e1
.travis.yml: OK that was fine, now swap : for = in matrix for single …
davegill Jun 19, 2019
463edfd
.travis.yml: make all my variables ENV
davegill Jun 19, 2019
4ae5675
.travis.yml: make env: then matrix:, get rid of all os linux trusty s…
davegill Jun 19, 2019
a056f41
.travis.yml: cleanup unnecessary parts
davegill Jun 19, 2019
194d0f3
.travis.yml and Dockerfile-template: 3 matrix tests, use fifthtry doc…
davegill Jun 19, 2019
992efcb
.travis.yml: add NMM tests to ARW, 5 total builds
davegill Jun 20, 2019
b19bbf7
.travis.yml: all 24 builds, with one test each - chem may bring down …
davegill Jun 20, 2019
0d094f3
.travis.yml: Zap both chem tests, take too long for travis
davegill Jun 20, 2019
9aeaab9
.travis.yml: add travis_wait in front of WRF build, see if that helps…
davegill Jun 20, 2019
103814a
.travis.yml: add back chem with travis wait, include ls in WRF dir to…
davegill Jun 21, 2019
e4c79af
.travis.yml - zap chem for good; try to build without -d, rrtmg sw K …
davegill Jun 21, 2019
cfe9a3c
.travis.yml: bump up the travis wait to 25 min for the build step (si…
davegill Jun 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 93 additions & 51 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,120 @@
#======================================================================
# Project settings
# Which branches are impacted by this
#======================================================================
# Only build master.
branches:
only:
- master

language: fortran
- develop
- /^release-v.*$/

#======================================================================
# Environment
# Build Matrix
#======================================================================
env:
matrix:
- name=real_s core=em_real par=32 nest=1 flag=' ' data_loc=em_real test=07NE proc=1 cenv='WRF_EM_CORE=1'
- name=real_o core=em_real par=33 nest=1 flag=' ' data_loc=em_real test=07NE proc=3 cenv='WRF_EM_CORE=1'
- name=real_m core=em_real par=34 nest=1 flag=' ' data_loc=em_real test=07NE proc=3 cenv='WRF_EM_CORE=1'
- name=nmm_s core=nmm_real par=32 nest=1 flag=' ' data_loc=nmm_nest test=01 proc=1 cenv='WRF_NMM_CORE=1'
- name=nmm_m core=nmm_real par=34 nest=1 flag=' ' data_loc=nmm_nest test=01 proc=3 cenv='WRF_NMM_CORE=1'
- name=qss_s core=em_quarter_ss par=32 nest=1 flag=' ' data_loc=em_quarter_ss test=02NE proc=1 cenv='WRF_EM_CORE=1'
- name=qss_o core=em_quarter_ss par=33 nest=1 flag=' ' data_loc=em_quarter_ss test=02NE proc=3 cenv='WRF_EM_CORE=1'
- name=qss_m core=em_quarter_ss par=34 nest=1 flag=' ' data_loc=em_quarter_ss test=02NE proc=3 cenv='WRF_EM_CORE=1'
- name=bw_s core=em_b_wave par=32 nest=1 flag=' ' data_loc=em_b_wave test=1NE proc=1 cenv='WRF_EM_CORE=1'
- name=bw_o core=em_b_wave par=33 nest=1 flag=' ' data_loc=em_b_wave test=1NE proc=3 cenv='WRF_EM_CORE=1'
- name=bw_m core=em_b_wave par=34 nest=1 flag=' ' data_loc=em_b_wave test=1NE proc=3 cenv='WRF_EM_CORE=1'
- name=real8_s core=em_real par=32 nest=1 flag=' -r8' data_loc=em_real8 test=14 proc=1 cenv='WRF_EM_CORE=1'
- name=real8_o core=em_real par=33 nest=1 flag=' -r8' data_loc=em_real8 test=14 proc=3 cenv='WRF_EM_CORE=1'
- name=real8_m core=em_real par=34 nest=1 flag=' -r8' data_loc=em_real8 test=14 proc=3 cenv='WRF_EM_CORE=1'
- name=qss8_s core=em_quarter_ss par=32 nest=1 flag=' -r8' data_loc=em_quarter_ss8 test=03 proc=1 cenv='WRF_EM_CORE=1'
- name=qss8_o core=em_quarter_ss par=33 nest=1 flag=' -r8' data_loc=em_quarter_ss8 test=03 proc=3 cenv='WRF_EM_CORE=1'
- name=qss8_m core=em_quarter_ss par=34 nest=1 flag=' -r8' data_loc=em_quarter_ss8 test=03 proc=3 cenv='WRF_EM_CORE=1'
- name=move_m core=em_real par=34 nest=3 flag=' ' data_loc=em_move test=01 proc=3 cenv='WRF_EM_CORE=1'
- name=fire_s core=em_fire par=32 nest=1 flag=' ' data_loc=em_fire test=01 proc=1 cenv='WRF_EM_CORE=1'
- name=fire_o core=em_fire par=33 nest=1 flag=' ' data_loc=em_fire test=01 proc=3 cenv='WRF_EM_CORE=1'
- name=fire_m core=em_fire par=34 nest=1 flag=' ' data_loc=em_fire test=01 proc=3 cenv='WRF_EM_CORE=1'
- name=hill_s core=em_hill2d_x par=32 nest=0 flag=' ' data_loc=em_hill2d_x test=01 proc=1 cenv='WRF_EM_CORE=1'
# NO chem, ever, I am not kidding, for reals!
# - name=chem_s core=em_real par=32 nest=1 flag=' ' data_loc=em_chem test=1 proc=1 cenv='WRF_CHEM=1'
# - name=chem_m core=em_real par=34 nest=1 flag=' ' data_loc=em_chem test=1 proc=3 cenv='WRF_CHEM=1'

# Code is Fortran.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- gfortran-6
- g++-6
- lcov

#======================================================================
# Build Matrix
#======================================================================
matrix:
include:
- os: linux
compiler: gcc
sudo: false
dist: trusty
- os: osx
compiler: gcc
osx_image: xcode9.4
services:
- docker

#======================================================================
# Building
#======================================================================
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
brew install gcc@7 || true;
brew link --overwrite gcc@7;
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
pip install --user cpp-coveralls
fi

before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
export CC="clang" FC="gfortran-7" CXX="clang++" ;
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
export CC="gcc-6" FC="gfortran-6" CXX="g++-6" ;
fi
# - export CC="gcc-6" FC="gfortran-6" CXX="g++-6" ;

#======================================================================
# Here are the run steps
#======================================================================
script:
- make
- date
- sed -e 's/_HERE1_/"DAVE START"/' -e 's/_HERE2_/"DAVE END CLONE"/' Dockerfile-template > Dockerfile
- date
- docker build -t wrf_regtest --build-arg argname=regtest .
- date
- docker images -a
- date
- docker run -d -t --name ${name} wrf_regtest
- date
- docker ps -a
- date
- travis_wait 25 docker exec ${name} ./script.csh BUILD CLEAN ${par} ${nest} ${core} ${flag} J=-j@3 ${cenv}
- date
- OK=0
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
export LD_LIBRARY_PATH=${PWD}/schemes/check/src/check-build
make test
fi
if [ $OK -eq 0 ] ; then
echo FILE STATUS
docker exec ${name} ls -ls WRF/main/wrf.exe
OK_wrf=$?
echo OK_wrf $OK_wrf
docker exec ${name} ls -ls WRF/main/real.exe
OK_real=$?
echo OK_real $OK_real
docker exec ${name} ls -ls WRF/main/real_nmm.exe
OK_nmm=$?
echo OK_nmm $OK_nmm
docker exec ${name} ls -ls WRF/main/ideal.exe
OK_ideal=$?
echo OK_ideal $OK_ideal
fi
- date
- docker exec ${name} ls -ls WRF/main
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
export DYLD_LIBRARY_PATH=${PWD}/schemes/check/src/check-build
make test
if [ $OK_wrf = 0 ] && ([ $OK_real = 0 ] || [ $OK_nmm = 0 ] || [ $OK_ideal = 0 ]) ; then
date
docker exec ${name} ./script.csh RUN ${core} ${par} ${data_loc} ${test} NP=${proc} OMP_NUM_THREADS=${proc}
date
docker exec ${name} cat WRF/test/${core}/real.print.out
date
docker exec ${name} ls -ls WRF/test/${core}
date
docker exec ${name} ls -ls wrfoutput
date
else
docker exec ${name} gfortran --version
docker exec ${name} gcc --version
docker exec ${name} ls -ls WRF
docker exec ${name} ls -ls WRF/main
docker exec ${name} ls -ls WRF/compile.log.${data_loc}.${par}
docker exec ${name} grep Error WRF/compile.log.${data_loc}.${par}
docker exec ${name} cat WRF/compile.log.${data_loc}.${par}
date
fi
- docker stop ${name}
- date
- docker rm ${name}
- date
- docker rmi wrf_regtest
- date
- env | grep TRAVIS_

#======================================================================
# Notifications
Expand Down
163 changes: 163 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
#
FROM centos:latest
MAINTAINER Dave Gill <[email protected]>

ENV WRF_VERSION 4.0.3
ENV WPS_VERSION 4.0.2
ENV NML_VERSION 4.0.2

# Set up base OS environment

RUN yum -y update
RUN yum -y install scl file gcc gcc-gfortran gcc-c++ glibc.i686 libgcc.i686 libpng-devel jasper \
jasper-devel hostname m4 make perl tar bash tcsh time wget which zlib zlib-devel \
openssh-clients openssh-server net-tools fontconfig libgfortran libXext libXrender \
ImageMagick sudo epel-release git

# Newer version of GNU compiler, required for WRF 2003 and 2008 Fortran constructs

RUN yum -y install centos-release-scl \
&& yum -y install devtoolset-8 \
&& yum -y install devtoolset-8-gcc devtoolset-8-gcc-gfortran devtoolset-8-gcc-c++ \
&& scl enable devtoolset-8 bash \
&& scl enable devtoolset-8 tcsh

RUN groupadd wrf -g 9999
RUN useradd -u 9999 -g wrf -G wheel -M -d /wrf wrfuser
RUN mkdir /wrf \
&& chown -R wrfuser:wrf /wrf \
&& chmod 6755 /wrf

# Build the libraries with a parallel Make
ENV J 4

# Build OpenMPI
RUN mkdir -p /wrf/libs/openmpi/BUILD_DIR
RUN source /opt/rh/devtoolset-8/enable \
&& cd /wrf/libs/openmpi/BUILD_DIR \
&& curl -L -O https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.0.tar.gz \
&& tar -xf openmpi-4.0.0.tar.gz \
&& cd openmpi-4.0.0 \
&& ./configure --prefix=/usr/local &> /wrf/libs/build_log_openmpi_config \
&& echo dummy printout to keep travis happy openmpi config \
&& make all install \
&& echo "make all install | awk 'NR % 1000 == 0'" \
&& echo "make all install &> /wrf/libs/build_log_openmpi_make" \
&& echo dummy printout to keep travis happy openmpi make \
&& cd / \
&& rm -rf /wrf/libs/openmpi/BUILD_DIR

# Build HDF5 libraries
RUN mkdir -p /wrf/libs/hdf5/BUILD_DIR
RUN source /opt/rh/devtoolset-8/enable \
&& cd /wrf/libs/hdf5/BUILD_DIR \
&& git clone https://bitbucket.hdfgroup.org/scm/hdffv/hdf5.git \
&& cd hdf5 \
&& git checkout hdf5-1_10_4 \
&& ./configure --enable-fortran --enable-cxx --prefix=/usr/local/ &> /wrf/libs/build_log_hdf5_config \
&& echo dummy printout to keep travis happy hdf5 config \
&& make install &> /wrf/libs/build_log_hdf5_make \
&& echo dummy printout to keep travis happy hdf5 make \
&& rm -rf /wrf/libs/hdf5/BUILD_DIR
ENV LD_LIBRARY_PATH /usr/local/lib

# Build netCDF C and Fortran libraries
RUN yum -y install libcurl-devel zlib-devel
ENV NETCDF /wrf/libs/netcdf
RUN mkdir -p ${NETCDF}/BUILD_DIR
RUN source /opt/rh/devtoolset-8/enable \
&& cd ${NETCDF}/BUILD_DIR \
&& curl -L -O https://github.com/Unidata/netcdf-c/archive/v4.6.2.tar.gz \
&& curl -L -O https://github.com/Unidata/netcdf-fortran/archive/v4.4.5.tar.gz \
&& tar -xf v4.6.2.tar.gz \
&& cd netcdf-c-4.6.2 \
&& ./configure --prefix=${NETCDF} &> /wrf/libs/build_log_ncc_config \
&& echo dummy printout to keep travis happy ncc config \
&& make install &> /wrf/libs/build_log_ncc_make \
&& echo dummy printout to keep travis happy ncc make
RUN source /opt/rh/devtoolset-8/enable \
&& env \
&& cd ${NETCDF}/BUILD_DIR \
&& tar -xf v4.4.5.tar.gz \
&& cd netcdf-fortran-4.4.5/ \
&& export LD_LIBRARY_PATH=${NETCDF}/lib:${LD_LIBRARY_PATH} \
&& CPPFLAGS=-I${NETCDF}/include LDFLAGS=-L${NETCDF}/lib ./configure --prefix=${NETCDF} &> /wrf/libs/build_log_ncf_config \
&& echo dummy printout to keep travis happy ncf config \
&& make install &> /wrf/libs/build_log_ncf_make \
&& echo dummy printout to keep travis happy ncf make

RUN mkdir -p /var/run/sshd \
&& ssh-keygen -A \
&& sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config \
&& sed -i 's/#RSAAuthentication yes/RSAAuthentication yes/g' /etc/ssh/sshd_config \
&& sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config

RUN mkdir -p /wrf/WPS_GEOG /wrf/wrfinput /wrf/wrfoutput \
&& chown -R wrfuser:wrf /wrf /wrf/WPS_GEOG /wrf/wrfinput /wrf/wrfoutput /usr/local \
&& chmod 6755 /wrf /wrf/WPS_GEOG /wrf/wrfinput /wrf/wrfoutput /usr/local

# Download NCL
RUN curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local
ENV NCARG_ROOT /usr/local

# Set environment for interactive container shells
RUN echo export LDFLAGS="-lm" >> /etc/bashrc \
&& echo export NETCDF=${NETCDF} >> /etc/bashrc \
&& echo export JASPERINC=/usr/include/jasper/ >> /etc/bashrc \
&& echo export JASPERLIB=/usr/lib64/ >> /etc/bashrc \
&& echo export LD_LIBRARY_PATH="/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8:/usr/lib64/openmpi/lib:${NETCDF}/lib:${LD_LIBRARY_PATH}" >> /etc/bashrc \
&& echo export PATH=".:/opt/rh/devtoolset-8/root/usr/bin:/usr/lib64/openmpi/bin:${NETCDF}/bin:$PATH" >> /etc/bashrc

RUN echo setenv LDFLAGS "-lm" >> /etc/csh.cshrc \
&& echo setenv NETCDF "${NETCDF}" >> /etc/csh.cshrc \
&& echo setenv JASPERINC "/usr/include/jasper/" >> /etc/csh.cshrc \
&& echo setenv JASPERLIB "/usr/lib64/" >> /etc/csh.cshrc \
&& echo setenv LD_LIBRARY_PATH "/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8:/usr/lib64/openmpi/lib:${NETCDF}/lib:${LD_LIBRARY_PATH}" >> /etc/csh.cshrc \
&& echo setenv PATH ".:/opt/rh/devtoolset-8/root/usr/bin:/usr/lib64/openmpi/bin:${NETCDF}/bin:$PATH" >> /etc/csh.cshrc

RUN mkdir /wrf/.ssh ; echo "StrictHostKeyChecking no" > /wrf/.ssh/config
COPY default-mca-params.conf /wrf/.openmpi/mca-params.conf
RUN mkdir -p /wrf/.openmpi
RUN chown -R wrfuser:wrf /wrf/

# all root steps completed above, now below as regular userID wrfuser
USER wrfuser
WORKDIR /wrf

# Download data
ARG argname=tutorial
RUN echo DAVE $argname
RUN if [ "$argname" = "tutorial" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/src/wps_files/geog_low_res_mandatory.tar.gz | tar -xzC /wrf/WPS_GEOG ; fi
RUN if [ "$argname" = "tutorial" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/TUTORIAL_DATA/colorado_march16.new.tar.gz | tar -xzC /wrf/wrfinput ; fi
RUN if [ "$argname" = "tutorial" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/src/namelists_v$NML_VERSION.tar.gz | tar -xzC /wrf/wrfinput ; fi
RUN if [ "$argname" = "tutorial" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/TUTORIAL_DATA/WRF_NCL_scripts.tar.gz | tar -xzC /wrf ; fi
RUN if [ "$argname" = "regtest" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/dave/DATA/Data_small/data_SMALL.tar.gz | tar -xzC /wrf ; fi
RUN if [ "$argname" = "regtest" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/dave/nml.tar.gz | tar -xzC /wrf ; fi
RUN if [ "$argname" = "regtest" ] ; then curl -SL http://www2.mmm.ucar.edu/wrf/dave/script.tar | tar -xC /wrf ; fi

# Download wps source
RUN if [ "$argname" = "tutorial" ] ; then git clone https://github.com/wrf-model/WPS.git WPS ; fi

RUN echo _HERE1_
RUN git clone https://github.com/davegill/WRF.git davegill/WRF \
&& cd davegill/WRF \
&& git fetch origin +refs/pull/4/merge: \
&& git checkout -qf FETCH_HEAD \
&& cd .. \
&& mv WRF /wrf/WRF
RUN echo _HERE2_

ENV JASPERINC /usr/include/jasper
ENV JASPERLIB /usr/lib64
ENV NETCDF_classic 1
ENV LD_LIBRARY_PATH /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8:/usr/lib64/openmpi/lib:${NETCDF}/lib:${LD_LIBRARY_PATH}
ENV PATH .:/opt/rh/devtoolset-8/root/usr/bin:/usr/lib64/openmpi/bin:${NETCDF}/bin:$PATH

RUN ssh-keygen -f /wrf/.ssh/id_rsa -t rsa -N '' \
&& chmod 600 /wrf/.ssh/config \
&& chmod 700 /wrf/.ssh \
&& cp /wrf/.ssh/id_rsa.pub /wrf/.ssh/authorized_keys

VOLUME /wrf
CMD ["/bin/tcsh"]
#
22 changes: 22 additions & 0 deletions Dockerfile-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
FROM davegill/wrf-coop:fifthtry
MAINTAINER Dave Gill <[email protected]>

#RUN echo _HERE1_
#RUN git clone https://github.com/davegill/WRF.git davegill/WRF \
# && cd davegill/WRF \
# && git fetch origin +refs/pull/4/merge: \
# && git checkout -qf FETCH_HEAD \
# && cd .. \
# && mv WRF /wrf/WRF
#RUN echo _HERE2_

RUN git clone https://github.com/wrf-model/WRF.git WRF \
&& cd WRF \
&& git checkout release-v4.1.2 \
&& cd ..

RUN curl -SL http://www2.mmm.ucar.edu/wrf/dave/script.tar | tar -xC /wrf

VOLUME /wrf
CMD ["/bin/tcsh"]
4 changes: 4 additions & 0 deletions default-mca-params.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
btl=tcp,self
plm_rsh_no_tree_spawn=1
btl_base_warn_component_unused=0
pml=ob1