[ncl-install] After install to cygwin, no response to any command
Robert Cohen
Robert.Cohen at po-box.esu.edu
Fri Sep 20 16:45:49 MDT 2013
Just for completeness, I figured I'd post my eventual solution.
I changed my program, as Mary suggested, to generate a PS file, one for each graph.
Then I ran ImageMagick convert, to convert each to an mpeg file (Windows version; had trouble with Cygwin version for some reason).
Then I ran ffmpeg to combine all of the files into one AVI file [I found that AVI produced a better video loop than MPEG].
The end result ran fine on a 32-bit machine and looked fine in Windows Media Player or PowerPoint.
Robert A. Cohen, Department of Physics, East Stroudsburg University
570.422.3428 rcohen at esu.edu http://www.esu.edu/~bbq
-----Original Message-----
From: Mary Haley [mailto:haley at ucar.edu]
Sent: Wednesday, September 18, 2013 11:44 AM
To: Robert Cohen
Cc: 'ncl-install at ucar.edu'
Subject: Re: [ncl-install] After install to cygwin, no response to any command
On Sep 18, 2013, at 9:00 AM, Robert Cohen <Robert.Cohen at po-box.esu.edu> wrote:
> I replaced my 64-bit Cygwin with the 32-bit Cygwin and now everything runs fine. Thank you for that.
>
> As for my 4-GB RAM problem, I did a small test so far and it seems that I am running up against the 4-GB limit although it is higher than the limit I had on a 32-bit machine (since on the 32-bit machine only a portion of the 4GB was available). I will know later today if I can go beyond 4 GB.
>
> My plan is to generate a file that is about 2 GB, containing 8,760 frames (1 frame per hour over the course of a year). I would then create a movie loop of the output.
>
> If there is another way to get the movie loop without going through idt or a problem that does not have 4GB limit, I can certainly do that instead.
Sorry about the idt issues. You might try "convert". This should be part of the ""ImageMagick" package, which you can install via the setup-x86.exe program. It should be under the "Graphics" category.
Once you have package, you can use "convert" to convert from just about any format, like PS, PDF, PNG, to any other format, like mpeg:
convert file.ps file.mpeg
convert file.pdf file.mpeg
etc.
For more info, see:
http://www.ncl.ucar.edu/FAQ/#o_formats_010
You can also use convert to create an animated GIF, but I don't know if there are programs like idt for viewing it. Usually I view animated GIFs via a web browser.
In order to use convert, however, you have to rerun your program so that it generates a PS or PDF file, instead of a NCGM. Do you still have access to your program and can you rerun it? If so, you can use a workstation id of 20 for PostScript, or 11 for PDF.
I don't know if I will be online much after this. I'm in Boulder and dealing with some friends who need help after the floods.
If you need more help, my suggestion is to post to ncl-talk at ucar.edu (http://mailman.ucar.edu/mailman/listinfo/ncl-talk).
Even though this is not an NCL question, it is perfectly ok to ask about the best way to create an an animation from a PS or PDF file.
Good luck,
--Mary
>
> Robert A. Cohen, Department of Physics, East Stroudsburg University
> 570.422.3428 rcohen at esu.edu http://www.esu.edu/~bbq
>
> -----Original Message-----
> From: Mary Haley [mailto:haley at ucar.edu]
> Sent: Wednesday, September 18, 2013 9:53 AM
> To: Robert Cohen
> Cc: 'ncl-install at ucar.edu'
> Subject: Re: [ncl-install] After install to cygwin, no response to any command
>
> Hi Robert,
>
> I honestly don't know the answer to your question. I've never tried to use idt for really large files. idt is a rather old program that we don't update much any more.
>
> The "64-bit" nature in the case of something like idt should not affect how much memory it is allowed to grab, but it might affect whether you can open a file larger than 2 GB at any one time.
>
> How big is the file you need to generate, and how many frames does it have?
>
> --Mary
>
> On Sep 17, 2013, at 2:49 PM, Robert Cohen <Robert.Cohen at po-box.esu.edu> wrote:
>
>> I have another question.
>>
>> The reason I am using a 64-bit machine is because I need more RAM in order to hold the graphics generated when I used "animate" with idt. On my 32-bit machine, I can only have 4 GB RAM, which is not enough.
>>
>> If I use the 32-bit Cygwin, will I still have access to the entire 16 GB RAM on my 64-bit machine?
>>
>> If not, it seems I should install Linux, correct?
>>
>> Robert A. Cohen, Department of Physics, East Stroudsburg University
>> 570.422.3428 rcohen at esu.edu http://www.esu.edu/~bbq
>>
>>
>> -----Original Message-----
>> From: Mary Haley [mailto:haley at ucar.edu]
>> Sent: Tuesday, September 17, 2013 3:39 PM
>> To: Robert Cohen
>> Cc: 'ncl-install at ucar.edu'
>> Subject: Re: [ncl-install] After install to cygwin, no response to any command
>>
>> Hi Robert,
>>
>> Did you read this section of the Cygwin document that we provide:
>>
>> http://www.ncl.ucar.edu/Download/cygwin.shtml#InstallCygwinX
>>
>> It mentions that NCL will not work with the 64-bit setup-x86_64.exe code. You must use the setup-x86.exe code when you install Cygwin.
>> We haven't created a NCL binary for 64-bit Cygwin yet.
>>
>> --Mary
>>
>> On Sep 17, 2013, at 11:11 AM, Robert Cohen <Robert.Cohen at po-box.esu.edu> wrote:
>>
>>> Greetings,
>>>
>>> I am attempting my second download of ncl-binary to Cygwin - the first was on a 32-bit desktop PC and this one is on a 64-bit laptop.
>>>
>>> The first download went fine. This download has a problem and I can't find anything in the archives.
>>>
>>> The problem is that every command (ncl, ncargf77, idt, ctrans, you name it) brings up no error, no response, nothing - just a blank line. Using "which" brings up the proper locations and the files are indeed there.
>>>
>>> If it brought up an error, I'd have a clue where to look.
>>>
>>> I'm guessing there might be a missing library or something I neglected to install during the Cygwin setup but I need a clue where to look.
>>>
>>> Any help would be appreciated.
>>>
>>>
>>> Robert A. Cohen, Department of Physics, East Stroudsburg University
>>> 570.422.3428 rcohen at esu.edu http://www.esu.edu/~bbq
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> 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