Skip to content
forked from uclales/uclales

Large eddy simulation code for atmospheric flow

Notifications You must be signed in to change notification settings

WidgetA/uclales

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCLALES

原始项目地址传送门

修改原因

原项目停止维护,且文档不完善,编译安装使用困难

安装方法

在 ubuntu 20.04 LTS 版本中测试通过

命令

sudo apt-get install build-essential
sudo apt-get install libc6-dev
sudo apt-get install zlib1g-dev libssl-dev
sudo apt-get install gfortran
sudo apt-get install libnetcdf-dev libnetcdff-dev

wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.1.tar.gz
tar zxvf openmpi-4.1.1.tar.gz
cd openmpi-4.1.1
./configure --prefix=$HOME/.local/openmpi CC=gcc CXX=g++ FC=gfortran
make -j
make install
MPI_HOME=$HOME/.local/openmpi
export PATH=${MPI_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${MPI_HOME}/lib:$LD_LIBRARY_PATH
export MANPATH=${MPI_HOME}/share/man:$MANPATH

cd ~ && git clone https://github.com/WidgetA/uclales.git
cd uclales/config && cp ubuntu.cmake default.cmake
cd ..
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE ..
make -j

cp uclales ../bin/

使用方法

将数据拷贝至 ${安装目录}/uclales/bin/ 下执行

./ucales

Docker

构建本地镜像方法

git clone https://github.com/WidgetA/uclales.git
cd uclales
docker build -t uclales ./

About

Large eddy simulation code for atmospheric flow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 94.3%
  • NCL 3.5%
  • Shell 0.6%
  • Python 0.6%
  • CMake 0.5%
  • Makefile 0.3%
  • Other 0.2%