[ncl-install] NCL 5.1.0 / sed problem on IA64 cluster

David Brown dbrown at ucar.edu
Thu Jun 4 14:56:53 MDT 2009


Hi Mark,

If you look at the Makefile in each of the directories that give the  
error you will see that sed is run with multiple '-e' arguments for  
each of the commands it is trying to build.
I am guessing that the 'expression #x' part of the error message is  
referring to the particular '-e' argument that results in the error.  
Following this hypothesis the failing commands are:
-e 's+SED_CTOFLIBS+$(CTOFLIBS)+'    # for ncargcc
-e 's+SED_EXTRA_LDLIBS+$(EXTRA_LDLIBS)+'   # for MakeNcl
-e 's+SED_CTOFLIBS+$(CTOFLIBS)+'     # for nhlf77

Not all the same, but looking a little further in the ncl directory,  
you can see if you trace back the EXTRA_LDLIBS also includes  
CTOFLIBS. Therefore my guess is that there is something that your  
version of sed does not like about the way your CTOFLIBS is defined.

So can you look in any of these Makefiles and see what the definition  
of CTOFLIBS is?
  -dave


On Jun 4, 2009, at 2:00 PM, Mark Van Moer wrote:

> Hello, I'm attempting to build NCL 5.1.0 on an IA64 cluster. The  
> build has three sed errors:
>
> make[5]: Entering directory `/usr/projects/vis/ncl/ncl_ncarg-5.1.0/ 
> ncarg2d/src/binscripts'
> sed: -e expression #9, char 45: unknown option to `s'
> make[5]: *** [ncargcc] Error 1
>
> Similar errors appear 2 other times later in the build:
>
> sed: -e expression #4, char 62: unknown option to `s'
> make[4]: *** [MakeNcl] Error 1
> make[4]: Leaving directory `/usr/projects/vis/ncl/ncl_ncarg-5.1.0/ 
> ni/src/ncl'
>
> sed: -e expression #5, char 45: unknown option to `s'
> make[4]: *** [nhlf77] Error 1
> make[4]: Leaving directory `/usr/projects/vis/ncl/ncl_ncarg-5.1.0/ 
> ni/src/scripts'
>
>
> Is sed not liking how a makefile macro is being expanded? Anyone  
> know what I should approach troubleshooting this? Searching seems  
> to indicate a possible problem with delimiters. Is it possible a  
> macro is expanding that contains the delimiter?
>
> Thanks for any help,
> Mark
>
> -- 
> Mark Van Moer
> Visualization Programmer
> Advanced Applications Support
> NCSA, University of Illinois
> mvanmoer at ncsa.illinois.edu
>
> _______________________________________________
> 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