

- #INSTALL GFORTRAN ON SLES 12 INSTALL#
- #INSTALL GFORTRAN ON SLES 12 UPDATE#
- #INSTALL GFORTRAN ON SLES 12 SOFTWARE#
The installation of netcdf-cxx should install in the same of netcdf directory.Ĭode: Select all. configure -prefix=/home/aoddy/Develops/WRF/library/netcdf.4.3.2 FC=gfortran F77=gfortran CC=gcc -enable-shared 2>&1 | tee configure.log The installation of netcdf-fortran should install in the same of netcdf directory.Ĭode: Select all.

#INSTALL GFORTRAN ON SLES 12 UPDATE#
You need to update ~/.bashrc file by adding :Ĭode: Select all export NetCDF=/home/aoddy/Develops/WRF/library/netcdf.4.3.2Įxport NETCDF_LIB=/home/aoddy/Develops/WRF/library/netcdf.4.3.2/libĮxport NETCDF_INC=/home/aoddy/Develops/WRF/library/netcdf.4.3.2/include configure -prefix=/home/aoddy/Develops/WRF/library/netcdf.4.3.2 FC=gfortran F77=gfortran CC=gcc -enable-shared ** Directory of source code is netcdf-4.3.2 but the directory for installation is netcdf.4.3.2 **Ĭode: Select all $.
#INSTALL GFORTRAN ON SLES 12 SOFTWARE#
Go to the installation netcdf software (netcdf-4.3.2) and start to install : (It's not the same directory of netcdf software.) configure -prefix=/home/aoddy/Develops/WRF/library/hdf5-1.8.13 -enable-fortran -enable-cxx -with-zlib=/home/aoddy/Develops/WRF/library/zlib-1.2.8Ĭode: Select all export HDF5=/home/wrfadmin/WRFV3/library/hdf5-1.8.12īefore you start to compile&install you need to add a list of export variable below in ~/.bashrcĬode: Select all export CPPFLAGS="-I/home/aoddy/Develops/WRF/library/hdf5-1.8.13/include -I/home/aoddy/Develops/WRF/library/zlib-1.2.8/include -I/home/aoddy/Develops/WRF/library/netcdf.4.3.2/include"Įxport LDFLAGS="-L/home/aoddy/Develops/WRF/library/hdf5-1.8.13/lib -L/home/aoddy/Develops/WRF/library/zlib-1.2.8/lib -L/home/aoddy/Develops/WRF/library/netcdf.4.3.2/lib"Įxport LD_LIBRARY_PATH="/home/aoddy/Develops/WRF/library/hdf5-1.8.13/lib /home/aoddy/Develops/WRF/library/zlib-1.2.8/lib /home/aoddy/Develops/WRF/library/netcdf.4.3.2/lib"Ĭreate a directory for new netcdf.

configure -prefix=/home/wrfadmin/WRFV3/library/zlib-1.2.8Ĭode: Select all export zlib=/home/wrfadmin/WRFV3/library/zlib-1.2.8Ĭode: Select all $. configure -prefix=/home/wrfadmin/WRFV3/library/mpich-3.0.4/mpich-installĬode: Select all PATH=/home/wrfadmin/WRFV3/library/mpich-3.0.4/mpich-install/bin:$PATH export PATHĬode: Select all $. Step#2 : Install basic software for compiling software.Ĭode: Select all $ sudo apt-get install build-essentialĬode: Select all $. Step#1: We need to install gcc gcc-c++ gcc-gfortran first byĬode: Select all $ sudo apt-get install gcc gcc-c++ gcc-gfortran OS : Ubuntu Server 14.10 and install ubuntu-gnome-desktopĬode: Select all /home/aoddy/Develops/WRF/WRF3 Today, I really need to share some experience about installation of WRF 3.6.1 on Ubunt 14.10 server.
