[ncl-install] Installing ncarg-v4.0 on OpenSuse 11.3

Mary Haley haley at ucar.edu
Thu Feb 17 13:49:10 MST 2011


Sorry about all the emails, here is an ncarg-talk reference to this, from the developer himself:

http://ngwww.ucar.edu/ncarg-talk/2004/0056.html

--Mary

On Feb 17, 2011, at 1:44 PM, Mary Haley wrote:

> Hi all,
> 
> I tried to find some official history on the "mapchi.f" file, but no luck.  It was
> removed in version 4.2.2 of NCAR Graphics, around September 2001.
> 
> Internal routines that are not advertised to users have no guarantee that the
> names will remain the same with each version release.
> 
> Jemma, my suggestion to you is to try migrating over to the new release, and
> send me any error messages that you might get when compiling with the
> new code.  I'm guessing that if any other internal routines have changed, 
> hopefully they've changed in name only, and it might be fairly straightforward 
> to replace the old calls with the new ones.
> 
> If it helps, here's a list of EZMAP files that were removed at the same time as mapchi.f:
> 
> mapcem.f
> mapchi.f
> mapchm.f
> mapin1.f
> mapin2.f
> maptre.f
> maptrp.f
> mapvp.f
> mapvpd.f
> mapwnd.f
> mpdadp.f
> mpdasp.f
> mpgddp.f
> mpgdsp.f
> mpitve.f
> mprdcs.f
> mprdnm.f
> mprgdi.f
> mprggc.f
> mprgof.f
> mprgol.f
> mprgsc.f
> mprgsf.f
> mprgsq.f
> 
> If you are calling any one of the "mapxxx" routines above and suddenly not finding it anymore, try replacing it with "mdpxxx".
> If you are worried about this, like that the calling sequence might have changed, then email me with any questions.
> 
> --Mary
> 
> 
> On Feb 17, 2011, at 11:55 AM, Dennis Shea wrote:
> 
>> FYI
>> 
>> There are some historical error messages
>> that refer to MAPCHI
>> 
>> MAPCHI - ERROR EXIT FROM GQPLCI
>> MAPCHI - ERROR EXIT FROM GQPMCI
>> MAPCHI - ERROR EXIT FROM GQTXCI
>> 
>> 
>>  ====
>> 
>> Further: on the WWW [  Tue Aug 14, 2007 7:48 pm ]
>> 
>> 
>>  #if defined NCARG410 || defined NCARG422
>>       CALL mapchi (2,0,idsh)
>>  #else
>>       CALL mdpchi (2,0,idsh)
>>  #endif
>> 
>> 
>> On 2/17/11 11:34 AM, Mary Haley wrote:
>>> Hi Jemma,
>>> 
>>> We make every effort to keep the user functions backwards compatible.
>>> With any routine that we've publicly documented, we rarely (if ever)
>>> change it or remove it. In fact, I'm not sure we've ever removed an
>>> advertied function, although we may have deprecated it.
>>> 
>>> The routine you mentioned, "mapchi" is not one of our user-callable
>>> routines that I know of. Tell me how you're using it, and in the
>>> meantime I'll try to figure out what happened to it.
>>> 
>>> --Mary
>>> 
>>> On Feb 16, 2011, at 9:57 PM, Jemma Wu wrote:
>>> 
>>>> Hi Mary,
>>>> 
>>>> Thank you for your help.
>>>> 
>>>> I have successfully installed NCARG 5.2.1 (compiled with ifort/icc) on
>>>> my new server. I tested one of our old Fortran models and found that
>>>> there is one incompatible ncarg function (mapchi in v4.0 has been
>>>> changed to mdpchi in v5).
>>>> 
>>>> My question is, do you know if there are many such incompatible
>>>> functions between ncarg.v4.0 and ncarg.v5? Since I have lots of
>>>> Fortran codes (~20000 subroutines) to migrate, I want to know how much
>>>> effort I need to solve this incompatibility problems.
>>>> 
>>>> Thanks.
>>>> 
>>>> Regards,
>>>> Jemma
>>>> 
>>>> On Tue, Feb 15, 2011 at 3:03 AM, Mary Haley <haley at ucar.edu
>>>> <mailto:haley at ucar.edu>> wrote:
>>>> 
>>>> 
>>>>   On Feb 13, 2011, at 6:33 PM, Jemma Wu wrote:
>>>> 
>>>>>   Hi,
>>>>> 
>>>>>   I have a bunch of old Fortran applications (mid 90s) which were
>>>>>   written with ncarg-v4.0 on an Alpha machine. Now I am trying to
>>>>>   migrate those Fortran programs to a new Intel Core 2 x86-64
>>>>>   machine installed with OpenSuse 11.3 (64 bit) OS.
>>>>> 
>>>>>   I am attempting to install ncarg-v4.0 from the source code which
>>>>>   was saved (around mid 90s) on the old Alpha machine . I am trying
>>>>>   to build it with the Intel compilers (ifort and icc). I followed
>>>>>   the installation documentations from
>>>>>   http://www.ncl.ucar.edu/Download/build_from_src.shtml. I have got
>>>>>   lots of compilation errors.
>>>>> 
>>>>>   Before I post and ask about those compilation errors, I'd like to
>>>>>   ask a couple of basic questions about ncarg-v4.0.
>>>>> 
>>>>>   1. Does the ncarg-v4.0 support my new hardware, operating system
>>>>>   and compilers?
>>>> 
>>>>   Hi Jemma,
>>>> 
>>>>   We don't generally go back and compile older versions of NCAR
>>>>   Graphics on newer hardware, so I can't say for certain whether it
>>>>   should build as is on your newer system. This brings us to your
>>>>   next question:
>>>> 
>>>>>   2. Is the source code of ncarg-v4.0 still available for
>>>>>   downloading somewhere? I suspect that my older version of the
>>>>>   v4.0 source code doesn't support my new environment.
>>>> 
>>>>   A newer version of the source code is available, and should be
>>>>   backwards compatible. My suggestion is to download NCL version
>>>>   5.2.1, which contains the NCARG source code. There are precompiled
>>>>   binaries available, but not for ifort/icc. If you choose to build
>>>>   from source code, then you can run the "Configure" program that
>>>>   comes with NCL V5.2.1, and answer "no" to the "build NCL?"
>>>>   question. This will get you just the NCAR Graphics libraries and
>>>>   associated files that you got with the ncarg-v4. source in the 90s.
>>>> 
>>>>   You can try downloading a precompiled binary first. Sometimes the
>>>>   icc/ifort compilers will work with gcc/gfortran compiled
>>>>   libraries, but you may have to include some additional libraries
>>>>   to "help" the compilation. If this fails, then you can try
>>>>   downloading source code.
>>>> 
>>>>   To download the latest NCL precompiled binaries and/or source
>>>>   code, please see:
>>>> 
>>>>   http://www.ncl.ucar.edu/Download/
>>>> 
>>>>   Please email me if you need help with the precompiled binaries or
>>>>   building from source code.
>>>> 
>>>>   --Mary
>>>> 
>>>>> 
>>>>>   I appreciate your kind help.
>>>>> 
>>>>>   --
>>>>>   Regards,
>>>>>   Jemma
>>>>> 
>>>>>   _______________________________________________
>>>>>   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
> 
> _______________________________________________
> 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