---
# System prepended metadata

title: WRFFFFFF
tags: [WRF]

---

# WRFFFFFF
[toc]

### 
```=
RUN yum -y install deltarpm gcc gcc-c++ csh wget time cmake unzip git libstdc++-devel libXScrnSaver m4 && \
   yum -y update
```
### MPI



### Dependencies
```=
RUN mkdir -p /Build_WRF/src && \
    wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-c-4.7.3.tar.gz ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-4.5.2.tar.gz http://www.zlib.net/fossils/zlib-1.2.11.tar.gz ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.37.tar.gz http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip /Build_WRF/src/ && \
    tar -xvzf /Build_WRF/src/netcdf-c-4.7.3.tar.gz /Build_WRF/src/netcdf-fortran-4.5.2.tar.gz /Build_WRF/src/zlib-1.2.11.tar.gz /Build_WRF/src/libpng-1.6.37.tar.gz && \
    unzip /Build_WRF/src/jasper-1.900.1.zip && \
    CC=gcc CXX=gcc FC=gfortran CPP='gcc -E' CPPFLAGS='-fPIC' /Build_WRF/src/netcdf-c-4.7.3/configure --prefix=/Build_WRF/LIBRARIES/netcdf --disable-netcdf4 --disable-shared --disable-dap && \
    /Build_WRF/src/netcdf-c-4.7.3/make && \
    /Build_WRF/src/netcdf-c-4.7.3/make install && \
    export LD_LIBRARY_PATH=/Build_WRF/LIBRARIES/netcdf/lib:$LD_LIBRARY_PATH && \
    CC=gcc CXX=gcc FC=gfortran CPP='gcc -E' CPPFLAGS='-fPIC' CPPFLAGS='-I/Build_WRF/LIBRARIES/netcdf/include' LDFLAGS='-L/Build_WRF/LIBRARIES/netcdf/lib' /Build_WRF/src/netcdf-fortran-4.5.2/configure --prefix=/Build_WRF/LIBRARIES/netcdf && \
    /Build_WRF/src/netcdf-fortran-4.5.2/make && \
    /Build_WRF/src/netcdf-fortran-4.5.2/make install && \
    CC=gcc CXX=gcc FC=gfortran CPP='gcc -E' /Build_WRF/src/zlib-1.2.11/configure --prefix=/Build_WRF/LIBRARIES/zlib && \
    /Build_WRF/src/zlib-1.2.11/make && \
    /Build_WRF/src/zlib-1.2.11/make install && \
    CC=gcc CXX=gcc FC=gfortran CPP='gcc -E' CPPFLAGS='-I/Build_WRF/LIBRARIES/zlib/include' LDFLAGS='-L/Build_WRF/LIBRARIES/zlib/lib' /Build_WRF/src/zlib-1.2.11/configure --prefix=/Build_WRF/LIBRARIES/libpng && \
    /Build_WRF/src/zlib-1.2.11/make && \
    /Build_WRF/src/zlib-1.2.11/make install && \
    /Build_WRF/src/jasper-1.900.1/configure --prefix=/Build_WRF/LIBRARIES/grib2 && \
    /Build_WRF/src/jasper-1.900.1/make && \
    /Build_WRF/src/jasper-1.900.1/make install
ENV PATH=/Build_WRF/LIBRARIES/netcdf/bin:$PATH
ENV NETCDF=/Build_WRF/LIBRARIES/netcdf
ENV export LD_LIBRARY_PATH=/Build_WRF/LIBRARIES/libpng/lib:$LD_LIBRARY_PATH
ENV export PATH=/Build_WRF/LIBRARIES/jasper/bin:$PATH
ENV export LD_LIBRARY_PATH=/Build_WRF/LIBRARIES/jasper/lib64:$LD_LIBRARY_PATH
RUN git clone https://github.com/wrf-model/WRF /Build_WRF/WRF_ISC21 
ENV export NETCDF=$NETCDF_DIR
ENV export WRFIO_NCD_LARGE_FILE_SUPPORT=1
ENV export NETCDF_classic=1
RUN /Build_WRF/WRF_ISC21/configure
```

### 解決yum lock
```=
rm -f /var/run/yum.pid
```
###### tags: `WRF`