Re: question about installation of ncargraphic

From: Mary Haley (haley AT ucar.edu)
Date: Wed Mar 23 2005 - 11:03:17 MST

  • Next message: larry CC: "Re: ncarg-talk Digest, Vol 16, Issue 10"

    On Wed, 23 Mar 2005, Mariela Gabioux wrote:

    > Sr,
    >
    > I'm trying to install NCAR graphic on linux redhat 9 whith two different
    > fortran90 version compilers (intel l_fc_pc_7.1.037 and free 15-day trial of
    > PGI Workstation version), and I've some problems during compilation. Could you
    > help me, please ?
    >
    > With intel version 7 some of errors are:
    >
    > ifc -O -o fontc cfaamn.o cfrdln.o cfwrit.o ffgttk.o ffinfo.o ffphol.o
    > ffppkt.o ffprcf.o ffprsa.o fftbkd.o fftk$
    > ld: cannot find -lg2c
    > make[4]: *** [fontc] Error 1
    > ....
    > ifc -O -o graphc capchg.o binput.o bndcls.o capast.o capdat.o cappar.o
    > dascls.o devcls.o devcol.o devmap.o fndchr.$
    > ld: cannot find -lg2c
    > make[4]: *** [graphc] Error 1
    > ...
    > make[5]: *** [pre2ncgm.prog] Error 1
    > make[5]: Leaving directory
    > `/home/mariela/tmp/ncarg-4.3.1/ncarg2d/src/bin/pre2ncgm'
    >
    > and so on
    >
    > How do I find the -lg2c ? Is this the only problem?

    Mariela,

    You may not need "-lg2c". You should try editing your
    $NCARG/config/LINUX file and removing the reference to it, and then
    rerun "make Everything".

    If it turns out you do need this library, then you need to tell your
    compiler where to find it by putting a "-L" directory path right
    before "-lg2c" in the config file. For example:

          -L/opt/gcc33/lib64 -lg2c

    > ==============
    > On the other hand with the fortran90 the portland group some problems are:
    >
    > pgf90 -O -o fontc cfaamn.o cfrdln.o cfwrit.o ffgttk.o ffinfo.o ffphol.$
    > Processing fontcap font1
    > FORTRAN STOP
    > ERROR OPENING THE CHARACTER FONTCAP FILE, IOS= 1
    > Processing fontcap font2
    > FORTRAN STOP
    >
    > and so on until font37
    >
    > Others errors were:
    > pgf90 -O -o graphc capchg.o binput.o bndcls.o capast.o capdat.o cappar.o
    > dascls.o devcls.o devcol.o devmap.o fndchr.$
    > Processing graphcap adm5
    > FORTRAN STOP
    > ERROR OPENING THE CHARACTER GRAPHCAP FILE, IOS= 1
    > FORTRAN STOP
    > FORTRAN STOP
    > Processing graphcap balsml
    > FORTRAN STOP
    > ERROR OPENING THE CHARACTER GRAPHCAP FILE, IOS= 1
    > Processing graphcap hpgl
    > FORTRAN STOP
    > ERROR OPENING THE CHARACTER GRAPHCAP FILE, IOS= 1
    >
    > and so on
    >
    > Tank you in advance

    I'm not sure what the problem is here. I just tried our Portland pgf90
    compiler on the fontcap/graphcap code, and it compiled to completion
    in both cases. You might try the pgf77 compiler to see if it
    has the same problems.

    Which version of pgf90 are you running? We have version 5.0.

    --Mary

    > Mariela
    >
    > --
    > Mariela Gabioux
    > Programa de Engenharia Oceanica (PEnO/COPPE)
    > Universidade Federal do Rio de Janeiro (UFRJ)
    > Cidade Universitaria, CT, sala I-100
    > Rio de Janeiro, RJ, 21945-970, Brasil
    > phone: (021) 2562-8811
    > e-mail: mariela@peno.coppe.ufrj.br
    >
    > _______________________________________________
    > ncarg-talk mailing list
    > ncarg-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
    >
    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Wed Mar 23 2005 - 13:49:05 MST