[ncl-install] 'ncargex cpex08 -clean' without a picture

Mary Haley haley at ucar.edu
Tue May 11 08:46:44 MDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20100511/86c0bff4/attachment.html 


More information about the ncl-install mailing list