[ncl-install] help

Mary Haley haley at ucar.edu
Fri May 24 09:28:30 MDT 2013


[Ali, my last two emails to your yahoo account bounced, so I'm reposting this to ncl-install.]

--Mary

On May 24, 2013, at 10:57 AM, Mary Haley wrote:

> What happens when you use  the "ncargex" command?
> 
>   ncargex agex01
> 
> Please include the full output from this command, if there's an error.
> 
> What version of NCAR Graphics/NCL is this?
> 
>  ncargversion
> 
> Did you download NCAR Graphics/NCL as a precompiled binary file, or did you build it from source code?
> 
> What version of gfortran do you have:
> 
>   gfortran --version
> 
> --Mary
> 
> On May 24, 2013, at 1:14 AM, MM Ali wrote:
> 
>> we created a file test.f:
>> 
>> real x
>> x=5.0
>> print *,x
>> stop
>> end
>> 
>> this program is getting compiled with 
>> gfortran test.f 
>> 
>> and is running ./a.exe with command
>> 
>> but when we are compiling with ncargf77 test.f, the same error (which is repeated below is coming)
>> 
>> 
>> gfortran -fno-range-check -O test.f -L/usr/local/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz
>>> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied
>>> collect2: ld returned 1 exit status
>> 
>> It means that the problem looks to be from ncar graphics.
>> 
>> Pl. look into.
>> 
>> Ali
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> From: Mary Haley <haley at ucar.edu>
>> To: MM Ali <mmalii73 at yahoo.com> 
>> Cc: ncl-install at ucar.edu 
>> Sent: Thursday, May 23, 2013 8:55 PM
>> Subject: Re: [ncl-install] help
>> 
>> I don't think this is an NCAR Graphics issue.
>> 
>> It looks like an issue with file permissions.
>> Is it possible you are in a directory where you don't have "write" permissions?
>> 
>> If you're not sure, try compiling a short test program that doesn't require NCAR Graphics:
>> 
>> a.f:
>> 
>>      print *,"hello world"
>>      stop 
>>      end
>> 
>> gfortran a.f
>> 
>> --Mary
>> 
>> On May 23, 2013, at 1:28 AM, MM Ali wrote:
>> 
>>> Dear Ms. Mary,
>>> 
>>> To compile a program, test.f, we gave the following command under the cygwin environment:
>>> 
>>> $ ncargf77 test.f
>>> 
>>> and the error is:
>>> 
>>> gfortran -fno-range-check -O test.f -L/usr/local/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz
>>> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied
>>> collect2: ld returned 1 exit status
>>> 
>>> Please help in resolving this problem.
>>> 
>>> Regards. Ali
>>> 
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> 
>> 
> 



More information about the ncl-install mailing list