環境変数の備忘録
bashrcのnetcdf系の設定について,これまで備忘録として記事を残していなかったため,この場を借りて残しておく
Path for libraries
export LD_LIBRARY_PATH=”${LD_LIBRARY_PATH}:/usr/local/hdf5/lib”
export LIBRARY_PATH=”${LIBRARY_PATH}:/usr/local/hdf5/lib”
export PATH=”${PATH}:/usr/local/hdf5/lib”
NetCDF 4
export NETCDF=”/usr/local/netcdf-fortran-4.5.2″
export NETCDF_CONFIG=’nc-config’
export NETCDF_ROOT=”$(${NETCDF_CONFIG} –prefix)”
export NETCDF_F_CONFIG=’nf-config’
export NETCDF_F_ROOT=”$(${NETCDF_F_CONFIG} –prefix)”
export LD_LIBRARY_PATH=”${NETCDF_ROOT}/lib”:${LD_LIBRARY_PATH}
GMT
export PATH=”${PATH}:/usr/local/gmt6/bin”
MPICH3
MPIDIR=/opt/mpich-intel
export PATH=$MPIDIR/bin:$PATH
export LD_LIBRARY_PATH=$MPIDIR/lib:$LD_LIBRARY_PATH
export MANPATH=$MPIDIR/share/man:$MANPATH