[ncl-install] command line issues
Matt McKenzie
mmckenz9 at utk.edu
Wed Dec 14 09:23:46 MST 2011
Mary,
Could you give me some pointers on installing it on a Cray? I've gone
through our previous version's install scripts (we use build scripts
to compile our packages on Kraken). I'll be using GNU compilers like
you suggested. Cray's have optimized compiler wrappers, so instead of
calling gcc, I'll be calling cc (gfortran, its ftn and g++ it is CC).
I am not certain on how the build goes though. It seems it builds
multiple packages sequentially. Do you have any web documentation for
this?
thanks and cheers
matt
On Tue, Dec 13, 2011 at 12:38 PM, Mary Haley <haley at ucar.edu> wrote:
>
> On Dec 13, 2011, at 9:46 AM, Matt McKenzie wrote:
>
>> We have various version of gcc, with 4.6.2 as the latest. Kraken is a
>> 64-bit AMD system. Nautilus is a 64-Intel (all functionality tested
>> is fine). Do you think this will be a problem?
>
> It could be an issue that Kraken is an AMD system and not an Intel system. I know that in general, Linux binaries should be compatible across systems, but I've seen problems where you couldn't run a RedHat binary on a Debian system, even though they had the same gcc compiler.
>
> My recommendation is to go ahead and try the 6.0.0 binary, and if this doesn't work, then try building from source code. I will help with this.
>
> --Mary
>
>
>>
>> On Tue, Dec 13, 2011 at 11:36 AM, Mary Haley <haley at ucar.edu> wrote:
>>>
>>> On Dec 13, 2011, at 9:24 AM, Matt McKenzie wrote:
>>>
>>>> Thanks Mary,
>>>> One of the fun things working at a supercomputing center is the (lack
>>>> of) knowledge of where and which version were download & installed
>>>> months or years ago. The files we have installed are
>>>> ncl_ncarg-5.2.1.Linux_x86_64_nodap_gcc432.tar.gz and
>>>> ncl_ncarg_src-5.2.1.tar.gz .
>>>
>>> The latter file with the "src" in the name is just the source code. The other file contains a 64-bit Linux version that was built on a Debian system.
>>>
>>> Is this a 64-bit Intel system? Do you have gcc on your system, and is it at version 4.3.x?
>>>
>>> I agree with Andy that you should try to download a newer NCL (V6.0.0). I'm not sure this will fix your problem, however. I have a feeling that you may need to build from source code. However, it's worth trying V6.0.0, and if that doesn't work, I can help you build NCL from source code.
>>>
>>> --Mary
>>>
>>>
>>>
>>>>
>>>> Thanks to Andrew Mai, I checked our installed version 5.0.0 on
>>>> Nautilus (SGI SMP cluster) and this issue does not appear there. I
>>>> may try to install the latest version.
>>>>
>>>> cheers
>>>> matt
>>>>
>>>> On Tue, Dec 13, 2011 at 11:16 AM, Mary Haley <haley at ucar.edu> wrote:
>>>>> Hi Matt,
>>>>>
>>>>> Did you build NCL from source code or download a precompiled binary? If downloaded a precompiled binary, which one did you download?
>>>>>
>>>>> We don't have precompiled binaries specifically for Linux-based Cray systems, but from the seg fault, it sounds like maybe you downloaded the incorrect binary for your system.
>>>>>
>>>>> --Mary
>>>>>
>>>>> On Dec 13, 2011, at 7:36 AM, Matt McKenzie wrote:
>>>>>
>>>>>> Greetings
>>>>>> I am working with a researchers and they use NCL - I am no expert at
>>>>>> it, it is a very good tool. We've found a bug/ issue with setting
>>>>>> variables on the command line. All other NCL functionality works
>>>>>> properly. The version of NCL you are running (ncl -V this command
>>>>>> works fine).
>>>>>> Both 5.0.0 and 5.2.1
>>>>>>
>>>>>> The shortest NCL script possible that illustrates the bug.
>>>>>> krakenpf7(XT5):~> ncl -n 'x=10'
>>>>>> Copyright (C) 1995-2010 - All Rights Reserved
>>>>>> University Corporation for Atmospheric Research
>>>>>> NCAR Command Language Version 5.2.1
>>>>>> The use of this software is governed by a License Agreement.
>>>>>> See http://www.ncl.ucar.edu/ for more details.
>>>>>> Segmentation fault
>>>>>>
>>>>>> Any data files needed to run your script.
>>>>>> Just variables and command line.
>>>>>>
>>>>>> A graphic (PostScript file, PDF file, NCGM file, etc.) that
>>>>>> illustrates the problem.
>>>>>> See text above.
>>>>>>
>>>>>> The exact error message (if any).
>>>>>> See above. It can run ncl scripts, set variables within the ncl
>>>>>> interface- just not command line.
>>>>>>
>>>>>> The type of system you're on (usually "uname -a" is enough).
>>>>>> NICS - Kraken (Cray machine)
>>>>>>
>>>>>> Any suggestions would be great, many thanks & cheers
>>>>>> matt
>>>>>>
>>>>>> --
>>>>>> Matthew McKenzie, Ph.D.
>>>>>> HPC Consultant
>>>>>> National Institute for Computational Sciences
>>>>>> _______________________________________________
>>>>>> ncl-install mailing list
>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matthew McKenzie, Ph.D.
>>>> HPC Consultant
>>>> National Institute for Computational Sciences
>>>
>>>
>>>
>>
>>
>>
>> --
>> Matthew McKenzie, Ph.D.
>> HPC Consultant
>> National Institute for Computational Sciences
>
>
>
--
Matthew McKenzie, Ph.D.
HPC Consultant
National Institute for Computational Sciences
More information about the ncl-install
mailing list