Re: NCL6.0.0 build Successfully, but fails to work, thanks!

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu May 03 2012 - 08:53:04 MDT

Unfortunately this output doesn't provide me with any new information. It almost looks like it goes into a loop.

I do have a note in the $NCARG/ni/src/lib/hlu/README file that says this:

   I had trouble compiling Workstation.c on an x86_64 Linux system using
   the Intel (icc) compiler. I got an internal error message. So, I
   used gcc to compile just this one file.

You are using "icc", correct? Maybe you can try this:

   cd $NCARG/ni/src/lib/hlu
    /bin/rm Create.o Workstation.o

Edit the "Makefile" and change:

CC = icc

to

CC = gcc

Save the file and type:

    cd $NCARG/ni/src
    make all install

This should rebuild Workstation.c and Create.c using the "gcc" compiler, and build a new "ncl" which you can try.

I'm not sure this is going to solve the problem, though. We've had a lot of problems using the Intel compilers, and
I usually just give up and go to gcc/gfortran.

--Mary

On May 3, 2012, at 4:45 AM, 刘新圣 wrote:

> Dear Mary:
> I debugged ncl with your instructions.
> And you can look through the error information in "gdb_output.txt".
> Thanks a lot for your time.
> Best Regards
> Sinsonglew
>
>> -----Origin email-----
>> From: "Mary Haley" <haley@ucar.edu>
>> Sent Time: Wednesday, May 2, 2012
>> To: "刘新圣" <sinsonglew@mail.bnu.edu.cn>
>> Cc:
>> Subject: Re: Re: [ncl-install] NCL6.0.0 build Successfully, but fails to work, thanks!
>>
>> Since you compiled your code with "-g", can you try the following and send me the output. Unfortunately, it's not going to be
>> easy for me to debug this without actually being able to be on the machine.
>>
>> gdb ncl
>> run
>> where
>> quit
>>
>> When you type "where", it should indicate in more detail where the code is crashing.
>>
>> --Mary
> <gdb_output.txt>_______________________________________________
> 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
Received on Thu May 3 08:53:17 2012

This archive was generated by hypermail 2.1.8 : Thu May 03 2012 - 09:26:29 MDT