[Met_help] [rt.rap.ucar.edu #41463] History for METv3.0 installation

RAL HelpDesk {for John Halley Gotway} met_help at ucar.edu
Tue Oct 12 15:02:11 MDT 2010


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello,

 

I am trying to install METv3.0 in a linux machine using intel fortran. 

10 out of the 11 executables installed fine. 

However the pb2nc program fails to install apparently complaining about the
ifcore library.

 

I have these lines in the make file:

 

# Path to the Fortran Compiler

# Fortran compiler flags

# Any additional required libraries

FC           = /opt/intel/fce/10.1.023/bin/ifort

FC_FLAGS     = -static # -g

FC_LIBS      = -lifcore

 

I tried putting the full path /opt/intel/fce/10.1.023/lib   in the line
above but still doesn't work.

 

The log file for the installation is attached (after compiling the other 10
programs).

 

I would appreciate any suggestions you might have.

 

Thanks,

 

Charles.

 

*====================================================*
Dr. Charles Jones
Researcher
Earth Research Institute (ERI)
University of California, Santa Barbara, CA 93106-3060

 

phone: (805) 893-5824
fax:   (805) 893-2578
email:  <mailto:cjones at icess.ucsb.edu> cjones at icess.ucsb.edu
URL:   <http://www.icess.ucsb.edu/asr/> http://www.icess.ucsb.edu/asr/

|=====================================================*

 



----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #41463] METv3.0 installation
From: John Halley Gotway
Time: Tue Oct 12 10:13:37 2010

Charles,

Yes, it looks like the linker can't find the library for "-lifcore".
I'd suggest trying to locate the library and then adding it to the
"FC_LIBS" line.  Here's the steps I'd suggest:

(1) You're looking for the file "libifcore.a".
   Try running the following commands:
      cd /opt/intel/fce/10.1.023
      find ./ -name "libifcore.a"
   If you can't find that library file, I'd suggest asking a systems
administrator about it.  Or you could try building MET with the GNU
compilers instead.
   If you can find that library file, we'll use it in the next step.

(2) Edit the top-level MET Makefile as follows:
   FC_LIBS = -L/path/to/library/directory -lifcore

And then try rebuilding MET.

FYI, I went up to the machine we have with Intel compilers.  And
here's the paths for the compilers and library I'm using:
   C++ Compiler:     /opt/intel/Compiler/11.1/072/bin/intel64/icc
   Fortran Compiler: /opt/intel/Compiler/11.1/072/bin/intel64/ifort
   Library file:
/opt/intel/Compiler/11.1/072/lib/intel64/libifcore.a
Perhaps that example will help.  Also, I wanted to let you know that
this is not what typically happens.  Usually, when you build MET using
the Intel compilers, the linker knows where to find the
"libifcore.a" file.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 10/11/2010 06:31 PM, RAL HelpDesk {for cjones} wrote:
>
> Mon Oct 11 18:31:49 2010: Request 41463 was acted upon.
> Transaction: Ticket created by cjones at icess.ucsb.edu
>        Queue: met_help
>      Subject: METv3.0 installation
>        Owner: Nobody
>   Requestors: cjones at icess.ucsb.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=41463 >
>
>
> Hello,
>
>
>
> I am trying to install METv3.0 in a linux machine using intel
fortran.
>
> 10 out of the 11 executables installed fine.
>
> However the pb2nc program fails to install apparently complaining
about the
> ifcore library.
>
>
>
> I have these lines in the make file:
>
>
>
> # Path to the Fortran Compiler
>
> # Fortran compiler flags
>
> # Any additional required libraries
>
> FC           = /opt/intel/fce/10.1.023/bin/ifort
>
> FC_FLAGS     = -static # -g
>
> FC_LIBS      = -lifcore
>
>
>
> I tried putting the full path /opt/intel/fce/10.1.023/lib   in the
line
> above but still doesn't work.
>
>
>
> The log file for the installation is attached (after compiling the
other 10
> programs).
>
>
>
> I would appreciate any suggestions you might have.
>
>
>
> Thanks,
>
>
>
> Charles.
>
>
>
> *====================================================*
> Dr. Charles Jones
> Researcher
> Earth Research Institute (ERI)
> University of California, Santa Barbara, CA 93106-3060
>
>
>
> phone: (805) 893-5824
> fax:   (805) 893-2578
> email:  <mailto:cjones at icess.ucsb.edu> cjones at icess.ucsb.edu
> URL:   <http://www.icess.ucsb.edu/asr/>
http://www.icess.ucsb.edu/asr/
>
> |=====================================================*
>
>
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #41463] METv3.0 installation
From: cjones
Time: Tue Oct 12 15:01:43 2010

Hi John,

It worked. I put these lines:

FC           = /opt/intel/fce/10.1.023/bin/ifort
FC_FLAGS     = -static # -g
FC_LIBS      = -L/opt/intel/fce/10.1.023/lib -lifcore

Thanks again,

Charles.

*====================================================*
Dr. Charles Jones
Researcher
Earth Research Institute (ERI)
University of California, Santa Barbara, CA 93106-3060

phone: (805) 893-5824
fax:   (805) 893-2578
email: cjones at icess.ucsb.edu
URL:  http://www.icess.ucsb.edu/asr/
|=====================================================*


> -----Original Message-----
> From: RAL HelpDesk {for John Halley Gotway}
[mailto:met_help at ucar.edu]
> Sent: Tuesday, October 12, 2010 9:14 AM
> To: cjones at icess.ucsb.edu
> Subject: Re: [rt.rap.ucar.edu #41463] METv3.0 installation
>
> Charles,
>
> Yes, it looks like the linker can't find the library for "-lifcore".
> I'd suggest trying to locate the library and then adding it to the
> "FC_LIBS" line.  Here's the steps I'd suggest:
>
> (1) You're looking for the file "libifcore.a".
>    Try running the following commands:
>       cd /opt/intel/fce/10.1.023
>       find ./ -name "libifcore.a"
>    If you can't find that library file, I'd suggest asking a systems
> administrator about it.  Or you could try building MET with the GNU
> compilers instead.
>    If you can find that library file, we'll use it in the next step.
>
> (2) Edit the top-level MET Makefile as follows:
>    FC_LIBS = -L/path/to/library/directory -lifcore
>
> And then try rebuilding MET.
>
> FYI, I went up to the machine we have with Intel compilers.  And
here's
> the paths for the compilers and library I'm using:
>    C++ Compiler:     /opt/intel/Compiler/11.1/072/bin/intel64/icc
>    Fortran Compiler: /opt/intel/Compiler/11.1/072/bin/intel64/ifort
>    Library file:
> /opt/intel/Compiler/11.1/072/lib/intel64/libifcore.a
> Perhaps that example will help.  Also, I wanted to let you know that
> this is not what typically happens.  Usually, when you build MET
using
> the Intel compilers, the linker knows where to find the
> "libifcore.a" file.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On 10/11/2010 06:31 PM, RAL HelpDesk {for cjones} wrote:
> >
> > Mon Oct 11 18:31:49 2010: Request 41463 was acted upon.
> > Transaction: Ticket created by cjones at icess.ucsb.edu
> >        Queue: met_help
> >      Subject: METv3.0 installation
> >        Owner: Nobody
> >   Requestors: cjones at icess.ucsb.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=41463
> >
> >
> >
> > Hello,
> >
> >
> >
> > I am trying to install METv3.0 in a linux machine using intel
> fortran.
> >
> > 10 out of the 11 executables installed fine.
> >
> > However the pb2nc program fails to install apparently complaining
> about the
> > ifcore library.
> >
> >
> >
> > I have these lines in the make file:
> >
> >
> >
> > # Path to the Fortran Compiler
> >
> > # Fortran compiler flags
> >
> > # Any additional required libraries
> >
> > FC           = /opt/intel/fce/10.1.023/bin/ifort
> >
> > FC_FLAGS     = -static # -g
> >
> > FC_LIBS      = -lifcore
> >
> >
> >
> > I tried putting the full path /opt/intel/fce/10.1.023/lib   in the
> line
> > above but still doesn't work.
> >
> >
> >
> > The log file for the installation is attached (after compiling the
> other 10
> > programs).
> >
> >
> >
> > I would appreciate any suggestions you might have.
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Charles.
> >
> >
> >
> > *====================================================*
> > Dr. Charles Jones
> > Researcher
> > Earth Research Institute (ERI)
> > University of California, Santa Barbara, CA 93106-3060
> >
> >
> >
> > phone: (805) 893-5824
> > fax:   (805) 893-2578
> > email:  <mailto:cjones at icess.ucsb.edu> cjones at icess.ucsb.edu
> > URL:   <http://www.icess.ucsb.edu/asr/>
> http://www.icess.ucsb.edu/asr/
> >
> > |=====================================================*
> >
> >
> >
> >



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


More information about the Met_help mailing list