WRAPIT woes linking to NAG library

From: Maurice McHugh <mmchug4_at_nyahnyahspammersnyahnyah>
Date: Tue, 28 Feb 2006 15:18:07 -0600

Hi folks,

I am having WRAPIT issues when trying to link NCL to the NAG fortran
library (the linux/g77 version). It's weird because I have linked some
NAG subroutines easily and correctly today, but not one in particular.

The WRAPIT command, the errors generated and the fortran statements are
pasted below. The variable allegedly associated with the problem (N2)
is an integer that contains the size of the Y array.

I am running red hat enterprise linux WS 3, using the g77 compiler and
the latest NCL release.

Many thanks for any suggestions or hints!

WRAPIT -n mannWhitney -L /usr/local/NAG/fllux20dgl/libnag.a -l pthread
mannWhitney.f

WRAPIT Version: 041106
/usr/bin/g77
A syntax error occurred while parsing: N2
COMPILING mannWhitney.f
LINKING
END WRAPIT

fortran code here......

C NCLFORTSTART

        subroutine mannWhitney(N1,X,N2,Y,TAIL,U,UNOR,P,TIES,RANKS,
      * WRK,IFAIL)

        integer N1,N2,IFAIL
        double precision U,UNOR,PEXACT,RANKS(N1+N2),WRK(8000),
      * X(N1),Y(N2)
        logical TIES
        character TAIL

C NCLEND

        external G08AHF

        call G08AHF(N1,X,N2,Y,TAIL,U,UNOR,P,TIES,RANKS,WRK,IFAIL)

        return
        end

-- 
Maurice McHugh
mmchug4 'at' lsu.edu
Assistant Professor
Department of Geography and Anthropology
227 Howe-Russell Geoscience Complex
Louisiana State University                       Phone:(225)578-0476
Baton Rouge LA 70803                             Fax:  (225)578-4420
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 28 2006 - 14:18:07 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 28 2006 - 15:13:25 MST