Navigation : Top/NCAR Graphics

内容

NCARが作成したFortranから呼び出す作画ルーチン

ファイルの入手先

インストール方法

環境設定

  • setenv NCARG /usr/local/src/ncarg-4.4.1
  • setenv FC ifort
  • setenv CC gcc

# ./Configure -v 
# make Info (入力した内容の確認)
# make Everything >& make-output &

動作確認

  • # ncargex cpex08
    CAR Graphics Fortran Example <cpex08>                  
    Copying cpex08.f
    Copying cpexcc.f
    Compiling and linking...
    ifort-O -o cpex08 cpexcc.f cpex08.f -L/export/ncarg64/lib -L/usr/X11R6/lib64
          -lncarg -lncarg_gks -lncarg_c -lX11
    cpexcc.f:
    cpex08.f:
       Executing <cpex08>...
       PLOT TITLE WAS EXAMPLE 8
       INTEGER WORKSPACE USED 120
       REAL WORKSPACE USED 400
       AREA MAP SPACE USED 93250
       FORTRAN STOP
    Metafile file is named cpex08.ncgm.                
  • # ctrans -d X11 cpex08.ncgm 図画が描画される.