[Met_help] [rt.rap.ucar.edu #79451] History for question about recommended sw wrgib2 (UNCLASSIFIED)

John Halley Gotway via RT met_help at ucar.edu
Thu Feb 16 09:50:47 MST 2017


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

CLASSIFICATION: UNCLASSIFIED

I am trying to install wgrib2 and get an error. 

I set env variables for CC (icc) and F77 (ifort) before doing the make.

> make
makefile:210: *** ERROR, makefile does not make jasper correctly with intel
compiler.  Stop.

I have jasper installed (using intel compiler) already because it was
required during the installation of the required libraries for MET. 

The wgrib2 documentation says that for Linux systems you must use gfortran
and gcc which are both available on my system.  is there any reason why I
couldn't choose the GNU compiler, despite having previously installed my MET
V5.2 using intel compiler, to see if wgrib2 will compile successfully?

Thanks.

Mr John W. Raby, Meteorologist
U.S. Army Research Laboratory
White Sands Missile Range, NM 88002
(575) 678-2004 DSN 258-2004
FAX (575) 678-1230 DSN 258-1230
Email: john.w.raby2.civ at mail.mil



CLASSIFICATION: UNCLASSIFIED


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

Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
From: John Halley Gotway
Time: Wed Feb 15 15:24:38 2017

John,

There is no dependency between MET and the wgrib2 utility.  So
compiling
MET using Intel compilers and wgrib2 using GNU should be completely
fine.

The only difficulty is what you've already discovered... keeping the
versions of the dependent libraries straight.

Thanks,
John

On Wed, Feb 15, 2017 at 3:17 PM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Feb 15 15:17:59 2017: Request 79451 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
>        Owner: Nobody
>   Requestors: john.w.raby2.civ at mail.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> I am trying to install wgrib2 and get an error.
>
> I set env variables for CC (icc) and F77 (ifort) before doing the
make.
>
> > make
> makefile:210: *** ERROR, makefile does not make jasper correctly
with intel
> compiler.  Stop.
>
> I have jasper installed (using intel compiler) already because it
was
> required during the installation of the required libraries for MET.
>
> The wgrib2 documentation says that for Linux systems you must use
gfortran
> and gcc which are both available on my system.  is there any reason
why I
> couldn't choose the GNU compiler, despite having previously
installed my
> MET
> V5.2 using intel compiler, to see if wgrib2 will compile
successfully?
>
> Thanks.
>
> Mr John W. Raby, Meteorologist
> U.S. Army Research Laboratory
> White Sands Missile Range, NM 88002
> (575) 678-2004 DSN 258-2004
> FAX (575) 678-1230 DSN 258-1230
> Email: john.w.raby2.civ at mail.mil
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>

------------------------------------------------
Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
From: Raby, John W USA CIV
Time: Wed Feb 15 15:30:16 2017

CLASSIFICATION: UNCLASSIFIED

Thanks for your quick response, John. That assurance about the
independence
was what I was looking for. I'll give it a try.

I make copious notes on all this. Hopefully, that will help sort out
what I
did if I have a need down the line.

R/
John

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, February 15, 2017 3:25 PM
To: Raby, John W CIV USARMY RDECOM ARL (US)
<john.w.raby2.civ at mail.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #79451] question about
recommended sw wrgib2 (UNCLASSIFIED)

All active links contained in this email were disabled.  Please verify
the
identity of the sender, and confirm the authenticity of all links
contained
within the message prior to copying and pasting the address to a Web
browser.




----

John,

There is no dependency between MET and the wgrib2 utility.  So
compiling MET
using Intel compilers and wgrib2 using GNU should be completely fine.

The only difficulty is what you've already discovered... keeping the
versions
of the dependent libraries straight.

Thanks,
John

On Wed, Feb 15, 2017 at 3:17 PM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Feb 15 15:17:59 2017: Request 79451 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
>        Owner: Nobody
>   Requestors: john.w.raby2.civ at mail.mil
>       Status: new
>  Ticket <Caution-url:
> Caution-https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> I am trying to install wgrib2 and get an error.
>
> I set env variables for CC (icc) and F77 (ifort) before doing the
make.
>
> > make
> makefile:210: *** ERROR, makefile does not make jasper correctly
with
> intel compiler.  Stop.
>
> I have jasper installed (using intel compiler) already because it
was
> required during the installation of the required libraries for MET.
>
> The wgrib2 documentation says that for Linux systems you must use
> gfortran and gcc which are both available on my system.  is there
any
> reason why I couldn't choose the GNU compiler, despite having
> previously installed my MET
> V5.2 using intel compiler, to see if wgrib2 will compile
successfully?
>
> Thanks.
>
> Mr John W. Raby, Meteorologist
> U.S. Army Research Laboratory
> White Sands Missile Range, NM 88002
> (575) 678-2004 DSN 258-2004
> FAX (575) 678-1230 DSN 258-1230
> Email: john.w.raby2.civ at mail.mil
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
From: Raby, John W USA CIV
Time: Wed Feb 15 15:50:05 2017

CLASSIFICATION: UNCLASSIFIED

I read the system user's guide and you can swap modules (programming
environments) as follows:

module swap PrgEnv-intel PrgEnv-gnu

When you say keeping the version straight, do you mean making sure to
restore
the intel module after a successful compile with the GNU module
temporarily
set? (I am assuming I can toggle between them as needed)

R/
John


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, February 15, 2017 3:25 PM
To: Raby, John W CIV USARMY RDECOM ARL (US)
<john.w.raby2.civ at mail.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #79451] question about
recommended sw wrgib2 (UNCLASSIFIED)

All active links contained in this email were disabled.  Please verify
the
identity of the sender, and confirm the authenticity of all links
contained
within the message prior to copying and pasting the address to a Web
browser.




----

John,

There is no dependency between MET and the wgrib2 utility.  So
compiling MET
using Intel compilers and wgrib2 using GNU should be completely fine.

The only difficulty is what you've already discovered... keeping the
versions
of the dependent libraries straight.

Thanks,
John

On Wed, Feb 15, 2017 at 3:17 PM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Feb 15 15:17:59 2017: Request 79451 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
>        Owner: Nobody
>   Requestors: john.w.raby2.civ at mail.mil
>       Status: new
>  Ticket <Caution-url:
> Caution-https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
>
>
> CLASSIFICATION: UNCLASSIFIED
>
> I am trying to install wgrib2 and get an error.
>
> I set env variables for CC (icc) and F77 (ifort) before doing the
make.
>
> > make
> makefile:210: *** ERROR, makefile does not make jasper correctly
with
> intel compiler.  Stop.
>
> I have jasper installed (using intel compiler) already because it
was
> required during the installation of the required libraries for MET.
>
> The wgrib2 documentation says that for Linux systems you must use
> gfortran and gcc which are both available on my system.  is there
any
> reason why I couldn't choose the GNU compiler, despite having
> previously installed my MET
> V5.2 using intel compiler, to see if wgrib2 will compile
successfully?
>
> Thanks.
>
> Mr John W. Raby, Meteorologist
> U.S. Army Research Laboratory
> White Sands Missile Range, NM 88002
> (575) 678-2004 DSN 258-2004
> FAX (575) 678-1230 DSN 258-1230
> Email: john.w.raby2.civ at mail.mil
>
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
From: John Halley Gotway
Time: Wed Feb 15 16:27:15 2017

John,

That module command is very specific to the environment on your
system.
Sounds like that's a good way of updating your environment.  As long
as
wgrib2 and the MET tools run without any runtime errors, then that'll
mean
all the linking is working the way you want.  Certainly give it a try.

If you run into issues in linking, I think your local sys admins would
be
the right people to ask.  Since it'd be very dependent on your system.

John

On Wed, Feb 15, 2017 at 3:50 PM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> I read the system user's guide and you can swap modules (programming
> environments) as follows:
>
> module swap PrgEnv-intel PrgEnv-gnu
>
> When you say keeping the version straight, do you mean making sure
to
> restore
> the intel module after a successful compile with the GNU module
temporarily
> set? (I am assuming I can toggle between them as needed)
>
> R/
> John
>
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Wednesday, February 15, 2017 3:25 PM
> To: Raby, John W CIV USARMY RDECOM ARL (US)
<john.w.raby2.civ at mail.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #79451] question
about
> recommended sw wrgib2 (UNCLASSIFIED)
>
> All active links contained in this email were disabled.  Please
verify the
> identity of the sender, and confirm the authenticity of all links
contained
> within the message prior to copying and pasting the address to a Web
> browser.
>
>
>
>
> ----
>
> John,
>
> There is no dependency between MET and the wgrib2 utility.  So
compiling
> MET
> using Intel compilers and wgrib2 using GNU should be completely
fine.
>
> The only difficulty is what you've already discovered... keeping the
> versions
> of the dependent libraries straight.
>
> Thanks,
> John
>
> On Wed, Feb 15, 2017 at 3:17 PM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed Feb 15 15:17:59 2017: Request 79451 was acted upon.
> > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> >        Queue: met_help
> >      Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
> >        Owner: Nobody
> >   Requestors: john.w.raby2.civ at mail.mil
> >       Status: new
> >  Ticket <Caution-url:
> > Caution-https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > I am trying to install wgrib2 and get an error.
> >
> > I set env variables for CC (icc) and F77 (ifort) before doing the
make.
> >
> > > make
> > makefile:210: *** ERROR, makefile does not make jasper correctly
with
> > intel compiler.  Stop.
> >
> > I have jasper installed (using intel compiler) already because it
was
> > required during the installation of the required libraries for
MET.
> >
> > The wgrib2 documentation says that for Linux systems you must use
> > gfortran and gcc which are both available on my system.  is there
any
> > reason why I couldn't choose the GNU compiler, despite having
> > previously installed my MET
> > V5.2 using intel compiler, to see if wgrib2 will compile
successfully?
> >
> > Thanks.
> >
> > Mr John W. Raby, Meteorologist
> > U.S. Army Research Laboratory
> > White Sands Missile Range, NM 88002
> > (575) 678-2004 DSN 258-2004
> > FAX (575) 678-1230 DSN 258-1230
> > Email: john.w.raby2.civ at mail.mil
> >
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> >
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>

------------------------------------------------
Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
From: Raby, John W USA CIV
Time: Thu Feb 16 07:04:37 2017

CLASSIFICATION: UNCLASSIFIED

John -

Thanks for your analysis of my situation based on limited knowledge of
my
particular system. I now have a sense of the possible impacts to watch
out for
with regard to the MET sw and this does help. I am in contact now with
the HPC
Help Desk (sysadm) on this too. I am a little reluctant to perform
this type
of global switch in the programming environment for fear of altering
something
with the MET sw. I want to maintain the Intel environment if possible
and see
if I can get sysadm to install or point me to an existing version of
gfortran
which can be accessed even though my environment is still "Intel". I
was able
to locate a version of gcc yesterday without switching to the GNU
module using
"which", so I know I'm not asking them to do something which is
impossible.
They just need to implement gfortran so I can reach it while using the
Intel
module.

Ahh, I wish I were a programmer sometimes. Maybe all this would be
easier if I
were. Ever thought about coming down here to work for ARL :>

Anyway, I understand that this is moving away from your area of
responsibility
because the details necessary to provide guidance are very system
specific.
You can close this ticket. I'll provide an update on what I find out,
if you
want.

R/
John

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, February 15, 2017 4:27 PM
To: Raby, John W CIV USARMY RDECOM ARL (US)
<john.w.raby2.civ at mail.mil>
Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #79451] question
about
recommended sw wrgib2 (UNCLASSIFIED)

All active links contained in this email were disabled.  Please verify
the
identity of the sender, and confirm the authenticity of all links
contained
within the message prior to copying and pasting the address to a Web
browser.




----

John,

That module command is very specific to the environment on your
system.
Sounds like that's a good way of updating your environment.  As long
as
wgrib2 and the MET tools run without any runtime errors, then that'll
mean all
the linking is working the way you want.  Certainly give it a try.

If you run into issues in linking, I think your local sys admins would
be the
right people to ask.  Since it'd be very dependent on your system.

John

On Wed, Feb 15, 2017 at 3:50 PM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> <Caution-url:
> Caution-https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79451 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> I read the system user's guide and you can swap modules (programming
> environments) as follows:
>
> module swap PrgEnv-intel PrgEnv-gnu
>
> When you say keeping the version straight, do you mean making sure
to
> restore the intel module after a successful compile with the GNU
> module temporarily set? (I am assuming I can toggle between them as
> needed)
>
> R/
> John
>
>
> -----Original Message-----
> From: John Halley Gotway via RT [Caution-mailto:met_help at ucar.edu]
> Sent: Wednesday, February 15, 2017 3:25 PM
> To: Raby, John W CIV USARMY RDECOM ARL (US)
> <john.w.raby2.civ at mail.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #79451] question
about
> recommended sw wrgib2 (UNCLASSIFIED)
>
> All active links contained in this email were disabled.  Please
verify
> the identity of the sender, and confirm the authenticity of all
links
> contained within the message prior to copying and pasting the
address
> to a Web browser.
>
>
>
>
> ----
>
> John,
>
> There is no dependency between MET and the wgrib2 utility.  So
> compiling MET using Intel compilers and wgrib2 using GNU should be
> completely fine.
>
> The only difficulty is what you've already discovered... keeping the
> versions of the dependent libraries straight.
>
> Thanks,
> John
>
> On Wed, Feb 15, 2017 at 3:17 PM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed Feb 15 15:17:59 2017: Request 79451 was acted upon.
> > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> >        Queue: met_help
> >      Subject: question about recommended sw wrgib2 (UNCLASSIFIED)
> >        Owner: Nobody
> >   Requestors: john.w.raby2.civ at mail.mil
> >       Status: new
> >  Ticket <Caution-Caution-url:
> > Caution-Caution-
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79
> > 451 >
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > I am trying to install wgrib2 and get an error.
> >
> > I set env variables for CC (icc) and F77 (ifort) before doing the
make.
> >
> > > make
> > makefile:210: *** ERROR, makefile does not make jasper correctly
> > with intel compiler.  Stop.
> >
> > I have jasper installed (using intel compiler) already because it
> > was required during the installation of the required libraries for
MET.
> >
> > The wgrib2 documentation says that for Linux systems you must use
> > gfortran and gcc which are both available on my system.  is there
> > any reason why I couldn't choose the GNU compiler, despite having
> > previously installed my MET
> > V5.2 using intel compiler, to see if wgrib2 will compile
successfully?
> >
> > Thanks.
> >
> > Mr John W. Raby, Meteorologist
> > U.S. Army Research Laboratory
> > White Sands Missile Range, NM 88002
> > (575) 678-2004 DSN 258-2004
> > FAX (575) 678-1230 DSN 258-1230
> > Email: john.w.raby2.civ at mail.mil
> >
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> >
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


CLASSIFICATION: UNCLASSIFIED

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


More information about the Met_help mailing list