Navigation : Top / netcdf with Intel Fortan for Linux

netcdf with Intel Fortan for Linux


netcdf with Intel Fortran for Linux [#q50a9c38]

* netcdf-4.0.X [#xe728b3b]
+ netcdf-4.0をダウンロ−ドして展開
+ netcdf-4.0をダウンロ−ドして展開
+ 以下の環境を設定し,
 setenv  FC                 ifort
 setenv  FC90               ifort
 setenv  CC                 icc
 setenv  CXX                icpc
 setenv  FFLAGS             "-g -O2 -mp -recursive"
 setenv  CFLAGS             "-g -O"
 setenv  CXXFLAGS           "-g"
 setenv  CPPFLAGS           "-DpgiFortran"
-- ./configure --prefix=/usr/local/netcdf4-ifort_10.0
-- make check
--- エラーが無いか確認
-- make install
- インストール後の環境設定
 setenv  NETCDF            /usr/local/netcdf4-ifort
 setenv  NCHOME            $NETCDF
 setenv  NETCDFHOME        $NETCDF
 setenv  NETCDF_LIBDIR     $NETCDF/lib
 setenv  NETCDF_INCDIR     $NETCDF/include
 setenv  PATH              $NETCDF/bin:"$PATH"
 setenv  LD_LIBRARY_PATH   $NETCDF/lib:"$LD_LIBRARY_PATH" 



* netcdf-3.6.X [#x17782ea]
** netcdf with Intel Fortran 10.0 for Linux [#veb0742f]
+ netcdf-3.6.Xをダウンロ−ドして展開.コンパイル×(libstdc+xx)
+ netcdf-3.6.Xをダウンロ−ドして展開.
+ 以下の環境を設定し,
 setenv  FC                 ifort
 setenv  FC90               ifort
 setenv  CC                 icc
 setenv  CXX                icpc
 setenv  FFLAGS             "-g -O2 -mp -recursive"
 setenv  CFLAGS             "-g -O"
 setenv  CXXFLAGS           "-g"
 setenv  CPPFLAGS           "-DpgiFortran"
-- ./configure --prefix=/usr/local/netcdf-ifort_10.0
-- make check
-- mkdir /usr/local/netcdf-ifort
-- make install
- インストール後の環境設定
 setenv  NETCDF            /usr/local/netcdf-ifort
 setenv  NCHOME            $NETCDF
 setenv  NETCDFHOME        $NETCDF
 setenv  NETCDF_LIBDIR     $NETCDF/lib
 setenv  NETCDF_INCDIR     $NETCDF/include
 setenv  PATH              $NETCDF/bin:"$PATH"
 setenv  LD_LIBRARY_PATH   $NETCDF/lib:"$LD_LIBRARY_PATH" 



* Archive [#dc984841]
- [[netcdf/netcdf with Intel Fortran for Linux - 9.0]]
- [[netcdf/netcdf with Intel Fortran for Linux - 8.0]]
- [[netcdf/netcdf with Intel Fortran for Linux - 7.0]]



* Link [#z30dbf9a]
- [[参考:http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#pg6]]