https://forums.opensuse.org/t/installing-gcc-compiler/17982
Computer (menu) > Install software > Search for “gcc” > click on the “GCC” > click on “Install”
GCC
When you click gcc, it will install other dependency packages automatically.
JPEG
install by clicking various packages of libjpeg, .. and etc via YaST2
zlib
install various zlib packages via YaST2
Checkout this site for WRF isntallation
export DIR=$HOME/WRF/Library |
tar -xvzf zlib-1.2.13.tar.gz |
./configure --prefix=$DIR |
# hdf5 library for netcdf4 functionality |
tar -xvzf hdf5-1.10.5.tar.gz |
./configure --prefix=$DIR --with-zlib=$DIR --enable-hl --enable-fortran |
export LD_LIBRARY_PATH=$DIR/lib:$LD_LIBRARY_PATH |
## Install NETCDF C Library |
tar -xvzf netcdf-c-4.9.0.tar.gz |
export CPPFLAGS=-I$DIR/include |
export LDFLAGS=-L$DIR/lib |
./configure --prefix=$DIR --disable-dap |
export PATH=$DIR/bin:$PATH |
## NetCDF fortran library |
tar -xvzf netcdf-fortran-4.6.0.tar.gz |
export LD_LIBRARY_PATH=$DIR/lib:$LD_LIBRARY_PATH |
export CPPFLAGS=-I$DIR/include |
export LDFLAGS=-L$DIR/lib |
export LIBS="-lnetcdf -lhdf5_hl -lhdf5 -lz" |
./configure --prefix=$DIR --disable-shared |
https://gist.github.com/jamal919/5498b868d34d5ec3920f306aaae7460a