INSTALAÇÃO DO MPAS (versão 2018)

17 views
Skip to first unread message

reginaldo ventura

unread,
Jun 27, 2018, 11:47:09 PM6/27/18
to cli...@googlegroups.com


export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS=-m64
export F77=gfortran
export FFLAGS=-m64

NETCDF 4.1.3   (  ESTA VERSÃO TEM O C E O FORTRAN)


cd netcdf-4.1.3/

./configure --prefix=/usr/local/MPAS  --disable-dap --disable-netcdf-4 --disable-cxx --disable-shared --enable-fortran

make check

make install

cd ..


INSTALAÇÃO DO MPICH

wget http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compile_tutorial/tar_files/mpich-3.0.4.tar.gz

tar -xzvf  mpich-3.0.4.tar.gz

cd mpich-3.0.4

./configure  --prefix=/usr/local/mpich

make

make install

cd
..

PARALLEL NETCDF 


wget http
://cucis.ece.northwestern.edu/projects/PnetCDF/Release/parallel-netcdf-1.8.1.tar.gz


tar
-xzvf  parallel-netcdf-1.8.1.tar.gz

cd
parallel-netcdf-1.8.1

export MPI=/usr/local/mpich
export MPI_INC=$MPI/include
export MPI_LIB=$MPI/lib
export MPICC=mpicc  ###       MPI C compiler
export MPICXX=mpic++  ###      MPI C++ compiler
export MPIF77=mpif77  ###      MPI Fortran 77 compiler
export MPIF90=mpif90  ###MPI Fortran 90 compiler
export MPIFC=mpif90  ###MPI Fortran 90 compiler
export PATH=$MPI/bin:$PATH
export LD_LIBRARY_PATH=$MPI/lib:$LD_LIBRARY_PATH


./configure --prefix=/usr/local/MPAS

make
make install

cd ..



PIO 1.7.1

wget https://github.com/NCAR/ParallelIO/archive/pio1_7_1.tar.gz


tar -xzvf pio1_7_1.tar.gz

cd pio1_7_1

cd pio


export PNETCDF=/usr/local/MPAS
export PNETCDF_PATH=/usr/local/MPAS
export NETCDF=/usr/local/MPAS
export NETCDF_PATH=/usr/local/MPAS

gmake

gmake  install



cd ..











Reply all
Reply to author
Forward
0 new messages