Re: ncarg-talk Digest, Vol 16, Issue 10

From: larry CC (flylywalk AT yahoo.com)
Date: Sat Mar 26 2005 - 00:35:18 MST


Hello. I have the same second problem.
Now I am using lahey-fujitsu 95 fortran compiler. No other error exists.
What's wrong? Thanks.
 
larry

ncarg-talk-request AT unknown wrote:
Send ncarg-talk mailing list submissions to
ncarg-talk AT unknown

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
or, via email, send a message with subject or body 'help' to
ncarg-talk-request AT unknown

You can reach the person managing the list at
ncarg-talk-owner AT unknown

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ncarg-talk digest..."

Today's Topics:

1. question about installation of ncargraphic (Mariela Gabioux)
2. Re: question about installation of ncargraphic (Mary Haley)
3. question about installation of ncargraphic (Mariela Gabioux)

----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Mar 2005 11:28:42 -0300
From: "Mariela Gabioux"
Subject: question about installation of ncargraphic
To: ncarg-talk AT unknown
Message-ID: <20050323142842.M48414 AT unknown>
Content-Type: text/plain; charset=iso-8859-1

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?

==============
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

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 AT unknown

------------------------------

Message: 2 Date: Wed, 23 Mar 2005 11:03:17 -0700 (MST) From: Mary Haley Subject: Re: question about installation of ncargraphic To: Mariela Gabioux Cc: ncarg-talk AT unknown Message-ID:

Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

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 AT unknown > > _______________________________________________ > ncarg-talk mailing list > ncarg-talk AT unknown > http://mailman.ucar.edu/mailman/listinfo/ncarg-talk >

------------------------------

Message: 3 Date: Wed, 23 Mar 2005 15:07:47 -0300 From: "Mariela Gabioux" Subject: question about installation of ncargraphic To: ncarg-talk AT unknown Message-ID: <20050323180621.M69417 AT unknown> Content-Type: text/plain; charset=iso-8859-1

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?

============== 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

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 AT unknown

------------------------------

_______________________________________________ ncarg-talk mailing list ncarg-talk AT unknown http://mailman.ucar.edu/mailman/listinfo/ncarg-talk

End of ncarg-talk Digest, Vol 16, Issue 10 ******************************************

--------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site!

_______________________________________________ ncarg-talk mailing list ncarg-talk AT unknown http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Mon Mar 28 2005 - 07:42:41 MST