Re: UPS 3.37-beta5 available - feedback with fortran on linux

From: Satish Balay (balay_at_mcs.anl.gov)
Date: Thu Apr 04 2002 - 17:52:51 BST

  • Next message: Ian Edwards: "Re: UPS 3.37-beta5 available - feedback with fortran on linux"
    The patch works! You might also want the following change in ups/ao_symscan.c
    
            if (strcmp(suf, "f90") == 0)
    to
            if (strcmp(suf, "f90") == 0 strcmp(suf, "F90") == 0)
    
    Also - gcc 3.04 gives the following warnings at linktime:
    >>>
    Linking ups with gcc -pipe -g -O2 -DHAVE_CONFIG_H -I. -I/usr/X11R6/include -Idevelhdrs -L/usr/X11R6/lib -lSM -lICE -lX11 ...
    xc_builtins.o: In function `builtin_qsort':
    /home/balay/ups-3.37-beta5/ups/xc_builtins.c:165: the use of `tmpnam' is dangerous, better use `mkstemp'
    xc_builtins.o: In function `builtin_ioctl':
    /home/balay/ups-3.37-beta5/ups/xc_builtins.c:257: the use of `mktemp' is dangerous, better use `mkstemp'
    >>>
    
    You might want to fix these
    
    Thanks,
    Satish
    
    
    On Thu, 4 Apr 2002, Ian Edwards wrote:
    
    > 
    > On 03-Apr-02 Satish Balay wrote:
    > > 1. It can't find the main routine (typing in MAIN__ does bring up the
    > > main code)
    > > 
    > > 2. Cliking on variables - which are uppercase (in the source) doesn't
    > > work.  The same variable - if it is in lowercase - does show the
    > > value.
    > > 
    > > In the features category for fortran - it would be nice - if clicking
    > > on a subroutine/function works (i.e taking it to the implementation of
    > > the routine) - for both the cases when the subroutine is implemented
    > > in fortran or in C.
    > 
    > Hello Satish,
    > 
    > the attached patch should fix 1 and 2.  I am still looking at the function
    > problem.
    > 
    > Apply the patch by changing directory to the top-level UPS source directory
    > then :  patch -c -p -s < ups_fortran.pat
    > 
    > Regards,
    > Ian.
    > 
    > 
    > 
    >  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    >  Ian Edwards <ian_at_concerto.demon.co.uk>       04-Apr-02  12:43:21
    > 
    >  Early Music Record Labels    - http://www.recordlabels.org/
    >  'ups' debugger for C/C++/f77 - http://www.concerto.demon.co.uk/UPS/
    >  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    > 
    


    This archive was generated by hypermail 2.1.4 : Thu May 23 2002 - 15:54:10 BST