Re: 'ncargex cpex08 -clean' without a picture

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue May 11 2010 - 08:46:44 MDT

On May 11, 2010, at 3:08 AM, é‚“ه½¦éکپ wrote:

> Thank you first!
>
> You see, I have installed NCL binaries following the instruction on this web-page http://www.ncl.ucar.edu/Download/install.shtml.When I tested the installation by typing
> ng4ex gsun01n
> it worked. However, when I type
> ncargex cpex08 -clean
> it followed such codes:
> NCAR Graphics Fortran Example <cpex08>
>
> Copying cpex08.f
>
> Copying cpexcc.f
>
> Compiling and linking...
> gfortran -fPIC -fno-second-underscore -fno-range-check -O0 -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
>
> Executing <cpex08>...
> PLOT TITLE WAS EXAMPLE 8
> INTEGER WORKSPACE USED 120
> REAL WORKSPACE USED 400
> AREA MAP SPACE USED 93050
> PLOT TITLE WAS EXAMPLE 8
> INTEGER WORKSPACE USED 120
> REAL WORKSPACE USED 400
> AREA MAP SPACE USED 865034
>
> Metafile file is named cpex08.ncgm.
>
> without a picture generated. WAS that OK?

Yes, that's okay. You can look at the "cpex08.ncgm" file generated with "ctrans":

    ctrans -d X11 cpex08.ncgm

A window should pop up, and you can click on the middle of the window with your left mouse button to advance the frame and then eventually close the window.

If you want to see the graphics as the program is running, you can instead type:

ncargex -W x11 cpex08 -clean

A window will pop up while the program is running, and again, you will need to click on it with your left mouse button.

--Mary

>
>
> Yours sincerely,
>
> DENG
>
> --
> DENG Yan'ge
> Key Laboratory for Urban Habitat Environmental Science and Technology,School of Environment and Energy, Peking University Shenzhen Graduate School , 518055, Shenzhen ,China
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue May 11 08:46:48 2010

This archive was generated by hypermail 2.1.8 : Thu May 13 2010 - 10:05:37 MDT