[Met_help] [rt.rap.ucar.edu #38713] History for Problem building MET

RAL HelpDesk {for John Halley Gotway} met_help at ucar.edu
Tue Jun 29 09:38:26 MDT 2010


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

Hello,
I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
I tried to build met on my pc bue i got these errors.
Please tell me is the g2c librairie  required for intel compilers?? if not, help me to fix the problem.
Attched is output file after make command on schell and my Makefile.
Best regards


 Pascal MOUDI IGRI
Ph-D Student at the 
Laboratory for Environmental Modeling and Atmospheric Physics (LEMAP)
Faculty of Science
University of Yaounde I, Cameroon 
and Student at the National Advanced training School for Technical Education,
Electricity Engeneering, Douala
Tel:+237 75 32 58 52



      

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

Subject: Problem building MET
From: John Halley Gotway
Time: Mon Jun 21 13:24:59 2010

Moudi,

It's recently come to our attention that we need to make a few minor
changes when compiling with newer versions of compilers.  We just went
through and added fixes to compile MET with a newer version of the GNU
compilers.  I'm hoping those changes will fix your problem as well.

I've attached a tar file to this message that includes both the latest
patches from the MET website and these other small changes.  Please do
the following:

(1) Download the attached tar file and place it into your top-level
METv2.0 directory.
(2) Uncompress and untar it:
   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
(3) Try rebuilding MET.

Please let us know how it goes.

To answer your question about the F2C library - no, it should not be
necessary when using the Intel compilers.

Thanks,
John Halley Gotway
met_help at ucar.edu

------------------------------------------------
Subject: Problem building MET
From: moudi pascal
Time: Tue Jun 22 01:59:15 2010

Hello,
I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
I tried to build met on my pc bue i got these errors.
Please tell me is the
g2c librairie  required for intel compilers?? if not, help me to fix
the problem.
Attched is output file after make command on schell and my
Makefile.
I have downloaded and untar the updates in the top level directory,
but it not still works.
Best regards
 Pascal MOUDI IGRI
Ph-D Student at the
Laboratory for Environmental Modeling and Atmospheric Physics (LEMAP)
Faculty of Science
University of Yaounde I, Cameroon
and Student at the National Advanced training School for Technical
Education,
Electricity Engeneering, Douala
Tel:+237 75 32 58 52




------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #38713]
From: John Halley Gotway
Time: Tue Jun 22 14:57:56 2010

Moudi,

Thanks for sending your Makefile and make.out files.  I see that you
continue to have the same error - that "sprintf" is undefined in the
file METv2.0/lib/vx_cal/time_strings.cc.  In the patches I
sent you, "time_strings.cc" was modified to include the following:
   #include <cstdio>

Please open up the file "METv2.0/lib/vx_cal/time_strings.cc" and
visually inspect it to make sure it includes that line near the top.
If it does NOT include that line, there was likely a problem in
how you applied the patches.  If it does include that line, you could
also try adding "#include <stdio.h>"... but really, that shouldn't be
necessary.

The "sprintf" function should be defined in that "cstdio" header file.
You could try hunting around on your system for the include file
"cstdio" and make sure that it includes the "sprintf":
Try this command:
   find /opt/intel -name "cstdio"

I do have access to build MET using the intel compilers, but the
latest version to which I have access is 10.1.012.  It builds fine on
version 10.1.012, but it looks like you're building MET using
version 11.1.  Have you used this version of icc and ifort to build
other software packages successfully?  There's always the possibility
that there's a problem in how the compiler is installed.

Please let me know how it goes.

Thanks,
John

RAL HelpDesk {for moudi pascal} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=38713 >
>
> Hello,
> I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
> I tried to build met on my pc bue i got these errors.
> Please tell me is the
> g2c librairie  required for intel compilers?? if not, help me to fix
the problem.
> Attched is output file after make command on schell and my
> Makefile.
> I have downloaded and untar the updates in the top level directory,
but it not still works.
> Best regards
>  Pascal MOUDI IGRI
> Ph-D Student at the
> Laboratory for Environmental Modeling and Atmospheric Physics
(LEMAP)
> Faculty of Science
> University of Yaounde I, Cameroon
> and Student at the National Advanced training School for Technical
Education,
> Electricity Engeneering, Douala
> Tel:+237 75 32 58 52
>
>
>
>

------------------------------------------------
Subject: Problem building MET
From: moudi pascal
Time: Wed Jun 23 21:01:25 2010

Hello,
I made changes you asked me, attached are my makefile and output from
make . I got these errors.
Thanks

 Pascal MOUDI IGRI
Ph-D Student at the
Laboratory for Environmental Modeling and Atmospheric Physics (LEMAP)
Faculty of Science
University of Yaounde I, Cameroon
and Student at the National Advanced training School for Technical
Education,
Electricity Engeneering, Douala
Tel:+237 75 32 58 52



----- Message d'origine ----
De : RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
À : moudipascal at yahoo.fr
Envoyé le : Mar 22 juin 2010, 21h 57min 57s
Objet : Re: [rt.rap.ucar.edu #38713]

Moudi,

Thanks for sending your Makefile and make.out files.  I see that you
continue to have the same error - that "sprintf" is undefined in the
file METv2.0/lib/vx_cal/time_strings.cc.  In the patches I
sent you, "time_strings.cc" was modified to include the following:
   #include <cstdio>

Please open up the file "METv2.0/lib/vx_cal/time_strings.cc" and
visually inspect it to make sure it includes that line near the top.
If it does NOT include that line, there was likely a problem in
how you applied the patches.  If it does include that line, you could
also try adding "#include <stdio.h>"... but really, that shouldn't be
necessary.

The "sprintf" function should be defined in that "cstdio" header file.
You could try hunting around on your system for the include file
"cstdio" and make sure that it includes the "sprintf":
Try this command:
   find /opt/intel -name "cstdio"

I do have access to build MET using the intel compilers, but the
latest version to which I have access is 10.1.012.  It builds fine on
version 10.1.012, but it looks like you're building MET using
version 11.1.  Have you used this version of icc and ifort to build
other software packages successfully?  There's always the possibility
that there's a problem in how the compiler is installed.

Please let me know how it goes.

Thanks,
John

RAL HelpDesk {for moudi pascal} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=38713 >
>
> Hello,
> I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
> I tried to build met on my pc bue i got these errors.
> Please tell me is the
> g2c librairie  required for intel compilers?? if not, help me to fix
the problem.
> Attched is output file after make command on schell and my
> Makefile.
> I have downloaded and untar the updates in the top level directory,
but it not still works.
> Best regards
>  Pascal MOUDI IGRI
> Ph-D Student at the
> Laboratory for Environmental Modeling and Atmospheric Physics
(LEMAP)
> Faculty of Science
> University of Yaounde I, Cameroon
> and Student at the National Advanced training School for Technical
Education,
> Electricity Engeneering, Douala
> Tel:+237 75 32 58 52
>
>
>
>



------------------------------------------------
Subject: Problem building MET
From: John Halley Gotway
Time: Thu Jun 24 13:26:32 2010

Moudi,

I've seen other MET-Help questions with similar types of errors.  I
don't believe that the F2C library is required when compiling with the
Intel compilers.  Please edit your Makefile to remove references to
the F2C library:
   F2C_BASE     =
   F2C_INCS     =
   F2C_LIBS     =
   F2C_LIBNAME  =

Try recompiling MET with these changes, and please let me know if it
solves your problem.

Thanks,
John Halley Gotway
met_help at ucar.edu

On Mon Jun 21 11:17:29 2010, moudipascal at yahoo.fr wrote:
> Hello,
> I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
> I tried to build met on my pc bue i got these errors.
> Please tell me is the g2c librairie  required for intel compilers??
if
> not, help me to fix the problem.
> Attched is output file after make command on schell and my Makefile.
> Best regards
>
>
>  Pascal MOUDI IGRI
> Ph-D Student at the
> Laboratory for Environmental Modeling and Atmospheric Physics
(LEMAP)
> Faculty of Science
> University of Yaounde I, Cameroon
> and Student at the National Advanced training School for Technical
> Education,
> Electricity Engeneering, Douala
> Tel:+237 75 32 58 52
>
>
>



------------------------------------------------
Subject: Problem building MET
From: John Halley Gotway
Time: Mon Jun 28 14:45:36 2010

Moudi,

I just wanted to check in to see if you were successfully able to
compile MET.

Thanks,
John

On Thu Jun 24 13:26:32 2010, johnhg wrote:
> Moudi,
>
> I've seen other MET-Help questions with similar types of errors.  I
>    don't believe that the F2C library is required when compiling
with
>    the Intel compilers.  Please edit your Makefile to remove
>    references to the F2C library:
>    F2C_BASE     =
>    F2C_INCS     =
>    F2C_LIBS     =
>    F2C_LIBNAME  =
>
> Try recompiling MET with these changes, and please let me know if it
>    solves your problem.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On Mon Jun 21 11:17:29 2010, moudipascal at yahoo.fr wrote:
> > Hello,
> > I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
> > I tried to build met on my pc bue i got these errors.
> > Please tell me is the g2c librairie  required for intel
compilers??
>    if
> > not, help me to fix the problem.
> > Attched is output file after make command on schell and my
Makefile.
> > Best regards
> >
> >
> >  Pascal MOUDI IGRI
> > Ph-D Student at the
> > Laboratory for Environmental Modeling and Atmospheric Physics
>    (LEMAP)
> > Faculty of Science
> > University of Yaounde I, Cameroon
> > and Student at the National Advanced training School for Technical
> > Education,
> > Electricity Engeneering, Douala
> > Tel:+237 75 32 58 52
> >
> >
> >
>
>



------------------------------------------------
Subject: Re : [rt.rap.ucar.edu #38713] Problem building MET
From: moudi pascal
Time: Tue Jun 29 02:58:44 2010

Hello,
i am so happy you are with a big interest for my job.
I successfully run it now.
Thank you very much and i'll contact you for any problem i have
Best regards

 Pascal MOUDI IGRI
Ph-D Student at the
Laboratory for Environmental Modeling and Atmospheric Physics (LEMAP)
Faculty of Science
University of Yaounde I, Cameroon
and Student at the National Advanced training School for Technical
Education,
Electricity Engeneering, Douala
Tel:+237 75 32 58 52



----- Message d'origine ----
De : RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
À : moudipascal at yahoo.fr
Envoyé le : Lun 28 juin 2010, 21h 45min 37s
Objet : [rt.rap.ucar.edu #38713] Problem building MET

Moudi,

I just wanted to check in to see if you were successfully able to
compile MET.

Thanks,
John

On Thu Jun 24 13:26:32 2010, johnhg wrote:
> Moudi,
>
> I've seen other MET-Help questions with similar types of errors.  I
>    don't believe that the F2C library is required when compiling
with
>    the Intel compilers.  Please edit your Makefile to remove
>    references to the F2C library:
>    F2C_BASE     =
>    F2C_INCS     =
>    F2C_LIBS     =
>    F2C_LIBNAME  =
>
> Try recompiling MET with these changes, and please let me know if it
>    solves your problem.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On Mon Jun 21 11:17:29 2010, moudipascal at yahoo.fr wrote:
> > Hello,
> > I am using  x86_64 GNU/Linux and intel (ifort ,icc) compilers.
> > I tried to build met on my pc bue i got these errors.
> > Please tell me is the g2c librairie  required for intel
compilers??
>    if
> > not, help me to fix the problem.
> > Attched is output file after make command on schell and my
Makefile.
> > Best regards
> >
> >
> >  Pascal MOUDI IGRI
> > Ph-D Student at the
> > Laboratory for Environmental Modeling and Atmospheric Physics
>    (LEMAP)
> > Faculty of Science
> > University of Yaounde I, Cameroon
> > and Student at the National Advanced training School for Technical
> > Education,
> > Electricity Engeneering, Douala
> > Tel:+237 75 32 58 52
> >
> >
> >
>
>





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


More information about the Met_help mailing list