ncargex is a script designed for examples run.
For example:
--------------------------------------------------------------------------------------------------------------
$ ncargex nnex06
NCAR Graphics Fortran Example <nnex06>
Copying nnex06.f
Copying nnplotf.f
Compiling and linking...
g77 -O -o nnex06 nnplotf.f nnex06.f -L/usr/local/ncarg/lib
-L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lngmath -lX11 -lXext
Executing <nnex06>...
Metafile file is named nnex06.ncgm.
--------------------------------------------------------------------------------------------------------------
If u want to run ur program, u can get hints from the printed messages
(screen out of ncargex nnex06, such as
Compiling and linking...
g77 -O -o nnex06 nnplotf.f nnex06.f -L/usr/local/ncarg/lib
-L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lngmath -lX11 -lXext
That the only thing u need to do is to change " nnplotf.f nnex06.f" to
your program's name.
If your NCARGraphics was compiled by other compiler (ex, pgf77,
pgf90), u'd better change g77 to pgf77 or pgf90.
Good luck.
Zhuanshi He (Z. He)
--------------------------------------------------------------------------------------------------------------
On 11/28/06, Sivannarayana Dhulipudi <sdhulipudi_at_csc.com> wrote:
>
>
> Hi ,
>
> In my desktop, I run the exiting example progrms successfully, but I am
> trying to run my own program. It prompting message like below.
>
>
>
> ncargex : <myprogram> is not a known example.
>
>
>
> myprogram ? my Fortran file Name.
>
>
>
> To run the own programs i need to do any extra configuration. Please help me
> to resolve this issue.
>
>
>
> Thanks & Regards
>
> Siva (Dhulipudi Sivannarayana)
>
> Computer Science Corporation
> LtdSingapore-470708--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to bind
> CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>
>
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Nov 28 2006 - 21:02:07 MST
This archive was generated by hypermail 2.2.0 : Tue Dec 05 2006 - 13:29:49 MST