Git Product home page Git Product logo

wrf-install's Introduction

Installing version WRF 4.3.3

  • download source code
    wget https://github.com/wrf-model/WRF/archive/refs/tags/v4.3.3.tar.gz
    
  • prepare the sources
    tar xf v4.3.3.tar.gz
    cd WRF-4.3.3
    
  • copy the file intel-mpi-env.sh below and execute it to set up the environment
    wget https://raw.githubusercontent.com/PrincetonUniversity/wrf-install/main/intel-mpi-env.sh
    chmod u+x intel-mpi-env.sh
    source intel-mpi-env.sh
    
  • modify the configure file with this sed command:
    sed -i 's,lib/libnetcdf,lib64/libnetcdf,g' configure
    
  • configure
    ./configure
    # choose 15 or whatever you need
    # choose default
    
  • compile
    export J="-j 4"
    ./compile em_real
    

Installing WPS

  • download the source code:
    wget https://github.com/wrf-model/WPS/archive/refs/tags/v4.3.1.tar.gz
    
  • untar the tarball and move into the new directory:
    tar xf v4.3.1.tar.g
    cd WPS-4.3.1
    
  • modify the configure file with this sed command:
    sed -i 's,lib/libnetcdf,lib64/libnetcdf,g' configure
    
  • Point to the WRF install e.g.:
    export WRF_DIR=/scratch/gpfs/luet/WRF-4/WRF-4.3.3
    
  • make sure the environment is set by sourcing:
    source ../intel-mpi-env.sh
    
  • configure:
    ./configure
    select:
    19.  Linux x86_64, Intel compiler    (dmpar)
    
  • compile:
    ./compile 1> compile.out 2>&1
    

wrf-install's People

Contributors

luet avatar michaeligbinoba123 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.