[Met_help] [rt.rap.ucar.edu #79085] History for MET V5.2 tutorial NetCDF compile instructions

Julie Prestopnik via RT met_help at ucar.edu
Fri Jan 13 09:56:04 MST 2017


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

I am using the instructions provided as an example in the tutorial at: 

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.2/tutorial.p
hp?name=compilation&category=req_libs

I note that the commands used are c-shell. I am using bash. I know that
"setenv" is the same as "export" in bash, but I'm unsure of the equivalent
commands for the remainder of the steps as follows:

./configure --prefix=/netcdf/install/path --disable-netcdf-4
make
make install

Will the above steps work as written in bash? If not, what changes do you
recommend?

Also noticed that the following commands from the tutorial do not have the
double quotes ("") to set empty string:

setenv FC ''
setenv F90 ''

Is this an error or does it work as written?

Thanks.

R/
John

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



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

Subject: MET V5.2 tutorial NetCDF compile instructions
From: Julie Prestopnik
Time: Wed Jan 04 10:33:16 2017

Hi John.

I believe the steps you listed:

./configure --prefix=/netcdf/install/path --disable-netcdf-4
make
make install

should work fine with the bash shell.

Regarding, setting FC and F90:

setenv FC ''
setenv F90 ''

Those are actually single quotes and they should work as written, once
you
adjust to use the export command for the bash shell.

I hope that helps!

Julie

On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: MET V5.2 tutorial NetCDF compile instructions
>        Owner: Nobody
>   Requestors: john.w.raby2.civ at mail.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79085 >
>
>
> I am using the instructions provided as an example in the tutorial
at:
>
> http://www.dtcenter.org/met/users/support/online_tutorial/
> METv5.2/tutorial.p
> hp?name=compilation&category=req_libs
>
<http://www.dtcenter.org/met/users/support/online_tutorial/METv5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
>
> I note that the commands used are c-shell. I am using bash. I know
that
> "setenv" is the same as "export" in bash, but I'm unsure of the
equivalent
> commands for the remainder of the steps as follows:
>
> ./configure --prefix=/netcdf/install/path --disable-netcdf-4
> make
> make install
>
> Will the above steps work as written in bash? If not, what changes
do you
> recommend?
>
> Also noticed that the following commands from the tutorial do not
have the
> double quotes ("") to set empty string:
>
> setenv FC ''
> setenv F90 ''
>
> Is this an error or does it work as written?
>
> Thanks.
>
> R/
> John
>
> 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
>
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Raby, John W USA CIV
Time: Wed Jan 04 10:44:17 2017

CLASSIFICATION: UNCLASSIFIED

Julie -

Thanks for the quick clarification regards bash. I'll give it a try
and let
you know.

R/
John

-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, January 04, 2017 10:33 AM
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 #79085] MET V5.2
tutorial
NetCDF compile instructions

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.




----

Hi John.

I believe the steps you listed:

./configure --prefix=/netcdf/install/path --disable-netcdf-4 make make
install

should work fine with the bash shell.

Regarding, setting FC and F90:

setenv FC ''
setenv F90 ''

Those are actually single quotes and they should work as written, once
you
adjust to use the export command for the bash shell.

I hope that helps!

Julie

On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: MET V5.2 tutorial NetCDF compile instructions
>        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=79085 >
>
>
> I am using the instructions provided as an example in the tutorial
at:
>
> Caution-http://www.dtcenter.org/met/users/support/online_tutorial/
> METv5.2/tutorial.p
> hp?name=compilation&category=req_libs
> <Caution-
http://www.dtcenter.org/met/users/support/online_tutorial/MET
> v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
>
> I note that the commands used are c-shell. I am using bash. I know
> that "setenv" is the same as "export" in bash, but I'm unsure of the
> equivalent commands for the remainder of the steps as follows:
>
> ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> install
>
> Will the above steps work as written in bash? If not, what changes
do
> you recommend?
>
> Also noticed that the following commands from the tutorial do not
have
> the double quotes ("") to set empty string:
>
> setenv FC ''
> setenv F90 ''
>
> Is this an error or does it work as written?
>
> Thanks.
>
> R/
> John
>
> 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
>
>
>


--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Raby, John W USA CIV
Time: Wed Jan 04 11:38:18 2017

CLASSIFICATION: UNCLASSIFIED

Julie -

The commands in the summary from the tutorial executed in the dir
/p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that I
noted
except after executing the make install where I did note an error as
follows:

> make install
Making install in libncdap3
make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
Making install in oc
make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3/oc'
make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3/oc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3/oc'
make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3/oc'
make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
Making install in libsrc
make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-4.1.1/libsrc'
make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-4.1.1/libsrc'
test -z "/library/lib" || /bin/mkdir -p "/library/lib"
/bin/mkdir: cannot create directory `/library': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-4.1.1/libsrc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-4.1.1/libsrc'
make: *** [install-recursive] Error 1
excalibur:~jraby/NetCDF/netcdf-4.1.1

I executed the configure script using the following command:

./configure --prefix=/library --disable-netcdf-4

Based on the error dialog, I am suspicious that the path I provided
for the
location to install the NetCDF library (/library) was not correct and
should
have been:

/p/home/jraby/NetCDF/netcdf-4.1.1

Do you have any thoughts on this?

R/
John

-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, January 04, 2017 10:33 AM
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 #79085] MET V5.2
tutorial
NetCDF compile instructions

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.




----

Hi John.

I believe the steps you listed:

./configure --prefix=/netcdf/install/path --disable-netcdf-4 make make
install

should work fine with the bash shell.

Regarding, setting FC and F90:

setenv FC ''
setenv F90 ''

Those are actually single quotes and they should work as written, once
you
adjust to use the export command for the bash shell.

I hope that helps!

Julie

On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> Transaction: Ticket created by john.w.raby2.civ at mail.mil
>        Queue: met_help
>      Subject: MET V5.2 tutorial NetCDF compile instructions
>        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=79085 >
>
>
> I am using the instructions provided as an example in the tutorial
at:
>
> Caution-http://www.dtcenter.org/met/users/support/online_tutorial/
> METv5.2/tutorial.p
> hp?name=compilation&category=req_libs
> <Caution-
http://www.dtcenter.org/met/users/support/online_tutorial/MET
> v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
>
> I note that the commands used are c-shell. I am using bash. I know
> that "setenv" is the same as "export" in bash, but I'm unsure of the
> equivalent commands for the remainder of the steps as follows:
>
> ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> install
>
> Will the above steps work as written in bash? If not, what changes
do
> you recommend?
>
> Also noticed that the following commands from the tutorial do not
have
> the double quotes ("") to set empty string:
>
> setenv FC ''
> setenv F90 ''
>
> Is this an error or does it work as written?
>
> Thanks.
>
> R/
> John
>
> 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
>
>
>


--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Julie Prestopnik
Time: Wed Jan 04 11:56:02 2017

Hi John.

You can install the NetCDF library where ever you would like, as long
as
you have permissions.  Based on the error message I suspect you don't
have
permissions to write to "/" and therefore a directory "library" could
not
be created at "/library".  We often install external libraries in a
place
like, /d1/MET/external_libs/netcdf/netcdf-4.1.1, for example, but
again,
you can install it anywhere you'd like as long as you have permission.

I hope this helps!

Julie

On Wed, Jan 4, 2017 at 11:38 AM, Raby, John W USA CIV via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79085 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> Julie -
>
> The commands in the summary from the tutorial executed in the dir
> /p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that I
noted
> except after executing the make install where I did note an error as
> follows:
>
> > make install
> Making install in libncdap3
> make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> Making install in oc
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> Making install in libsrc
> make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> test -z "/library/lib" || /bin/mkdir -p "/library/lib"
> /bin/mkdir: cannot create directory `/library': Permission denied
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make: *** [install-recursive] Error 1
> excalibur:~jraby/NetCDF/netcdf-4.1.1
>
> I executed the configure script using the following command:
>
> ./configure --prefix=/library --disable-netcdf-4
>
> Based on the error dialog, I am suspicious that the path I provided
for the
> location to install the NetCDF library (/library) was not correct
and
> should
> have been:
>
> /p/home/jraby/NetCDF/netcdf-4.1.1
>
> Do you have any thoughts on this?
>
> R/
> John
>
> -----Original Message-----
> From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
> Sent: Wednesday, January 04, 2017 10:33 AM
> 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 #79085] MET V5.2
tutorial
> NetCDF compile instructions
>
> 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.
>
>
>
>
> ----
>
> Hi John.
>
> I believe the steps you listed:
>
> ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> install
>
> should work fine with the bash shell.
>
> Regarding, setting FC and F90:
>
> setenv FC ''
> setenv F90 ''
>
> Those are actually single quotes and they should work as written,
once you
> adjust to use the export command for the bash shell.
>
> I hope that helps!
>
> Julie
>
> On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> >        Queue: met_help
> >      Subject: MET V5.2 tutorial NetCDF compile instructions
> >        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=79085 >
> >
> >
> > I am using the instructions provided as an example in the tutorial
at:
> >
> > Caution-http://www.dtcenter.org/met/users/support/online_tutorial/
> > METv5.2/tutorial.p
> > hp?name=compilation&category=req_libs
> > <Caution-
http://www.dtcenter.org/met/users/support/online_tutorial/MET
> > v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
> >
> > I note that the commands used are c-shell. I am using bash. I know
> > that "setenv" is the same as "export" in bash, but I'm unsure of
the
> > equivalent commands for the remainder of the steps as follows:
> >
> > ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> > install
> >
> > Will the above steps work as written in bash? If not, what changes
do
> > you recommend?
> >
> > Also noticed that the following commands from the tutorial do not
have
> > the double quotes ("") to set empty string:
> >
> > setenv FC ''
> > setenv F90 ''
> >
> > Is this an error or does it work as written?
> >
> > Thanks.
> >
> > R/
> > John
> >
> > 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
> >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research Research Applications
Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Raby, John W USA CIV
Time: Wed Jan 04 12:06:01 2017

CLASSIFICATION: UNCLASSIFIED

Julie -

Thank for analyzing the error. If I want to start over and change the
path to
one where I have permission, can I simply rerun the commands again or
do I
have to execute something to undo what I did?

R/
John

-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, January 04, 2017 11:56 AM
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 #79085] MET V5.2
tutorial
NetCDF compile instructions (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.




----

Hi John.

You can install the NetCDF library where ever you would like, as long
as you
have permissions.  Based on the error message I suspect you don't have
permissions to write to "/" and therefore a directory "library" could
not be
created at "/library".  We often install external libraries in a place
like,
/d1/MET/external_libs/netcdf/netcdf-4.1.1, for example, but again, you
can
install it anywhere you'd like as long as you have permission.

I hope this helps!

Julie

On Wed, Jan 4, 2017 at 11:38 AM, 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=79085 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> Julie -
>
> The commands in the summary from the tutorial executed in the dir
> /p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that I
> noted except after executing the make install where I did note an
> error as
> follows:
>
> > make install
> Making install in libncdap3
> make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> Making install in oc
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3/oc'
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> Making install in libsrc
> make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> test -z "/library/lib" || /bin/mkdir -p "/library/lib"
> /bin/mkdir: cannot create directory `/library': Permission denied
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> make: *** [install-recursive] Error 1
> excalibur:~jraby/NetCDF/netcdf-4.1.1
>
> I executed the configure script using the following command:
>
> ./configure --prefix=/library --disable-netcdf-4
>
> Based on the error dialog, I am suspicious that the path I provided
> for the location to install the NetCDF library (/library) was not
> correct and should have been:
>
> /p/home/jraby/NetCDF/netcdf-4.1.1
>
> Do you have any thoughts on this?
>
> R/
> John
>
> -----Original Message-----
> From: Julie Prestopnik via RT [Caution-mailto:met_help at ucar.edu]
> Sent: Wednesday, January 04, 2017 10:33 AM
> 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 #79085] MET V5.2
> tutorial NetCDF compile instructions
>
> 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.
>
>
>
>
> ----
>
> Hi John.
>
> I believe the steps you listed:
>
> ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> install
>
> should work fine with the bash shell.
>
> Regarding, setting FC and F90:
>
> setenv FC ''
> setenv F90 ''
>
> Those are actually single quotes and they should work as written,
once
> you adjust to use the export command for the bash shell.
>
> I hope that helps!
>
> Julie
>
> On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> >        Queue: met_help
> >      Subject: MET V5.2 tutorial NetCDF compile instructions
> >        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
> > 085 >
> >
> >
> > I am using the instructions provided as an example in the tutorial
at:
> >
> > Caution-Caution-
http://www.dtcenter.org/met/users/support/online_tut
> > orial/
> > METv5.2/tutorial.p
> > hp?name=compilation&category=req_libs
> > <Caution-Caution-
http://www.dtcenter.org/met/users/support/online_tu
> > torial/MET
v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
> >
> > I note that the commands used are c-shell. I am using bash. I know
> > that "setenv" is the same as "export" in bash, but I'm unsure of
the
> > equivalent commands for the remainder of the steps as follows:
> >
> > ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
> > make install
> >
> > Will the above steps work as written in bash? If not, what changes
> > do you recommend?
> >
> > Also noticed that the following commands from the tutorial do not
> > have the double quotes ("") to set empty string:
> >
> > setenv FC ''
> > setenv F90 ''
> >
> > Is this an error or does it work as written?
> >
> > Thanks.
> >
> > R/
> > John
> >
> > 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
> >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research Research Applications
> Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Julie Prestopnik
Time: Wed Jan 04 12:23:18 2017

Good question.  Unfortunately, I do not know the answer.  If it were
me,
I'd start over fresh by unpacking the NetCDF package and rerunning
configure, but I cannot say for sure if that is necessary.

Julie

On Wed, Jan 4, 2017 at 12:06 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=79085 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> Julie -
>
> Thank for analyzing the error. If I want to start over and change
the path
> to
> one where I have permission, can I simply rerun the commands again
or do I
> have to execute something to undo what I did?
>
> R/
> John
>
> -----Original Message-----
> From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
> Sent: Wednesday, January 04, 2017 11:56 AM
> 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 #79085] MET V5.2
> tutorial
> NetCDF compile instructions (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.
>
>
>
>
> ----
>
> Hi John.
>
> You can install the NetCDF library where ever you would like, as
long as
> you
> have permissions.  Based on the error message I suspect you don't
have
> permissions to write to "/" and therefore a directory "library"
could not
> be
> created at "/library".  We often install external libraries in a
place
> like,
> /d1/MET/external_libs/netcdf/netcdf-4.1.1, for example, but again,
you can
> install it anywhere you'd like as long as you have permission.
>
> I hope this helps!
>
> Julie
>
> On Wed, Jan 4, 2017 at 11:38 AM, 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=79085 >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > Julie -
> >
> > The commands in the summary from the tutorial executed in the dir
> > /p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that
I
> > noted except after executing the make install where I did note an
> > error as
> > follows:
> >
> > > make install
> > Making install in libncdap3
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > Making install in oc
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > Making install in libsrc
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > test -z "/library/lib" || /bin/mkdir -p "/library/lib"
> > /bin/mkdir: cannot create directory `/library': Permission denied
> > make[2]: *** [install-libLTLIBRARIES] Error 1
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[1]: *** [install-am] Error 2
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make: *** [install-recursive] Error 1
> > excalibur:~jraby/NetCDF/netcdf-4.1.1
> >
> > I executed the configure script using the following command:
> >
> > ./configure --prefix=/library --disable-netcdf-4
> >
> > Based on the error dialog, I am suspicious that the path I
provided
> > for the location to install the NetCDF library (/library) was not
> > correct and should have been:
> >
> > /p/home/jraby/NetCDF/netcdf-4.1.1
> >
> > Do you have any thoughts on this?
> >
> > R/
> > John
> >
> > -----Original Message-----
> > From: Julie Prestopnik via RT [Caution-mailto:met_help at ucar.edu]
> > Sent: Wednesday, January 04, 2017 10:33 AM
> > 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 #79085] MET V5.2
> > tutorial NetCDF compile instructions
> >
> > 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.
> >
> >
> >
> >
> > ----
> >
> > Hi John.
> >
> > I believe the steps you listed:
> >
> > ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
make
> > install
> >
> > should work fine with the bash shell.
> >
> > Regarding, setting FC and F90:
> >
> > setenv FC ''
> > setenv F90 ''
> >
> > Those are actually single quotes and they should work as written,
once
> > you adjust to use the export command for the bash shell.
> >
> > I hope that helps!
> >
> > Julie
> >
> > On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> > > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> > >        Queue: met_help
> > >      Subject: MET V5.2 tutorial NetCDF compile instructions
> > >        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
> > > 085 >
> > >
> > >
> > > I am using the instructions provided as an example in the
tutorial at:
> > >
> > > Caution-Caution-
http://www.dtcenter.org/met/users/support/online_tut
> > > orial/
> > > METv5.2/tutorial.p
> > > hp?name=compilation&category=req_libs
> > > <Caution-Caution-
http://www.dtcenter.org/met/users/support/online_tu
> > > torial/MET
v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
> > >
> > > I note that the commands used are c-shell. I am using bash. I
know
> > > that "setenv" is the same as "export" in bash, but I'm unsure of
the
> > > equivalent commands for the remainder of the steps as follows:
> > >
> > > ./configure --prefix=/netcdf/install/path --disable-netcdf-4
make
> > > make install
> > >
> > > Will the above steps work as written in bash? If not, what
changes
> > > do you recommend?
> > >
> > > Also noticed that the following commands from the tutorial do
not
> > > have the double quotes ("") to set empty string:
> > >
> > > setenv FC ''
> > > setenv F90 ''
> > >
> > > Is this an error or does it work as written?
> > >
> > > Thanks.
> > >
> > > R/
> > > John
> > >
> > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research Research Applications
> > Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research Research Applications
Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Raby, John W USA CIV
Time: Wed Jan 04 12:26:22 2017

CLASSIFICATION: UNCLASSIFIED

Julie -

Thanks for the recommendation. I'll try it and let you know.

R/
John


-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, January 04, 2017 12:23 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 #79085] MET V5.2
tutorial
NetCDF compile instructions (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.




----

Good question.  Unfortunately, I do not know the answer.  If it were
me, I'd
start over fresh by unpacking the NetCDF package and rerunning
configure, but
I cannot say for sure if that is necessary.

Julie

On Wed, Jan 4, 2017 at 12:06 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=79085 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> Julie -
>
> Thank for analyzing the error. If I want to start over and change
the
> path to one where I have permission, can I simply rerun the commands
> again or do I have to execute something to undo what I did?
>
> R/
> John
>
> -----Original Message-----
> From: Julie Prestopnik via RT [Caution-mailto:met_help at ucar.edu]
> Sent: Wednesday, January 04, 2017 11:56 AM
> 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 #79085] MET V5.2
> tutorial NetCDF compile instructions (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.
>
>
>
>
> ----
>
> Hi John.
>
> You can install the NetCDF library where ever you would like, as
long
> as you have permissions.  Based on the error message I suspect you
> don't have permissions to write to "/" and therefore a directory
> "library" could not be created at "/library".  We often install
> external libraries in a place like,
> /d1/MET/external_libs/netcdf/netcdf-4.1.1, for example, but again,
you
> can install it anywhere you'd like as long as you have permission.
>
> I hope this helps!
>
> Julie
>
> On Wed, Jan 4, 2017 at 11:38 AM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <Caution-Caution-url:
> > Caution-Caution-
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79
> > 085 >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > Julie -
> >
> > The commands in the summary from the tutorial executed in the dir
> > /p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that
I
> > noted except after executing the make install where I did note an
> > error as
> > follows:
> >
> > > make install
> > Making install in libncdap3
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > Making install in oc
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > Making install in libsrc
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > test -z "/library/lib" || /bin/mkdir -p "/library/lib"
> > /bin/mkdir: cannot create directory `/library': Permission denied
> > make[2]: *** [install-libLTLIBRARIES] Error 1
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[1]: *** [install-am] Error 2
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make: *** [install-recursive] Error 1
> > excalibur:~jraby/NetCDF/netcdf-4.1.1
> >
> > I executed the configure script using the following command:
> >
> > ./configure --prefix=/library --disable-netcdf-4
> >
> > Based on the error dialog, I am suspicious that the path I
provided
> > for the location to install the NetCDF library (/library) was not
> > correct and should have been:
> >
> > /p/home/jraby/NetCDF/netcdf-4.1.1
> >
> > Do you have any thoughts on this?
> >
> > R/
> > John
> >
> > -----Original Message-----
> > From: Julie Prestopnik via RT
> > [Caution-Caution-mailto:met_help at ucar.edu]
> > Sent: Wednesday, January 04, 2017 10:33 AM
> > 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 #79085] MET V5.2
> > tutorial NetCDF compile instructions
> >
> > 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.
> >
> >
> >
> >
> > ----
> >
> > Hi John.
> >
> > I believe the steps you listed:
> >
> > ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
> > make install
> >
> > should work fine with the bash shell.
> >
> > Regarding, setting FC and F90:
> >
> > setenv FC ''
> > setenv F90 ''
> >
> > Those are actually single quotes and they should work as written,
> > once you adjust to use the export command for the bash shell.
> >
> > I hope that helps!
> >
> > Julie
> >
> > On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> > > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> > >        Queue: met_help
> > >      Subject: MET V5.2 tutorial NetCDF compile instructions
> > >        Owner: Nobody
> > >   Requestors: john.w.raby2.civ at mail.mil
> > >       Status: new
> > >  Ticket <Caution-Caution-Caution-url:
> > > Caution-Caution-Caution-
https://rt.rap.ucar.edu/rt/Ticket/Display.
> > > html?id=79
> > > 085 >
> > >
> > >
> > > I am using the instructions provided as an example in the
tutorial at:
> > >
> > > Caution-Caution-Caution-
http://www.dtcenter.org/met/users/support/
> > > online_tut
> > > orial/
> > > METv5.2/tutorial.p
> > > hp?name=compilation&category=req_libs
> > > <Caution-Caution-Caution-
http://www.dtcenter.org/met/users/support
> > > /online_tu torial/MET
> > > v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
> > >
> > > I note that the commands used are c-shell. I am using bash. I
know
> > > that "setenv" is the same as "export" in bash, but I'm unsure of
> > > the equivalent commands for the remainder of the steps as
follows:
> > >
> > > ./configure --prefix=/netcdf/install/path --disable-netcdf-4
make
> > > make install
> > >
> > > Will the above steps work as written in bash? If not, what
changes
> > > do you recommend?
> > >
> > > Also noticed that the following commands from the tutorial do
not
> > > have the double quotes ("") to set empty string:
> > >
> > > setenv FC ''
> > > setenv F90 ''
> > >
> > > Is this an error or does it work as written?
> > >
> > > Thanks.
> > >
> > > R/
> > > John
> > >
> > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research Research Applications
> > Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research Research Applications
> Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


CLASSIFICATION: UNCLASSIFIED

------------------------------------------------
Subject: MET V5.2 tutorial NetCDF compile instructions
From: Raby, John W USA CIV
Time: Wed Jan 04 14:04:49 2017

CLASSIFICATION: UNCLASSIFIED

Julie -

I reran the steps beginning with the unpacking per your suggestion and
the
results were a successful compile as evidenced by the Unidata
"Congratulations" banner which appeared at the end of execution of the
"make
install" command. They recommend running something called "make check"
to do
some tests of the installation. If it flags anything of significance,
I'll let
you know.

Thanks for your help!

R/
John


-----Original Message-----
From: Julie Prestopnik via RT [mailto:met_help at ucar.edu]
Sent: Wednesday, January 04, 2017 12:23 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 #79085] MET V5.2
tutorial
NetCDF compile instructions (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.




----

Good question.  Unfortunately, I do not know the answer.  If it were
me, I'd
start over fresh by unpacking the NetCDF package and rerunning
configure, but
I cannot say for sure if that is necessary.

Julie

On Wed, Jan 4, 2017 at 12:06 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=79085 >
>
> CLASSIFICATION: UNCLASSIFIED
>
> Julie -
>
> Thank for analyzing the error. If I want to start over and change
the
> path to one where I have permission, can I simply rerun the commands
> again or do I have to execute something to undo what I did?
>
> R/
> John
>
> -----Original Message-----
> From: Julie Prestopnik via RT [Caution-mailto:met_help at ucar.edu]
> Sent: Wednesday, January 04, 2017 11:56 AM
> 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 #79085] MET V5.2
> tutorial NetCDF compile instructions (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.
>
>
>
>
> ----
>
> Hi John.
>
> You can install the NetCDF library where ever you would like, as
long
> as you have permissions.  Based on the error message I suspect you
> don't have permissions to write to "/" and therefore a directory
> "library" could not be created at "/library".  We often install
> external libraries in a place like,
> /d1/MET/external_libs/netcdf/netcdf-4.1.1, for example, but again,
you
> can install it anywhere you'd like as long as you have permission.
>
> I hope this helps!
>
> Julie
>
> On Wed, Jan 4, 2017 at 11:38 AM, Raby, John W USA CIV via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <Caution-Caution-url:
> > Caution-Caution-
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79
> > 085 >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> > Julie -
> >
> > The commands in the summary from the tutorial executed in the dir
> > /p/home/jraby/NetCDF/netcdf-4.1.1  worked without any errors that
I
> > noted except after executing the make install where I did note an
> > error as
> > follows:
> >
> > > make install
> > Making install in libncdap3
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > Making install in oc
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
> > 4.1.1/libncdap3/oc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Entering directory `/p/home/jraby/NetCDF/netcdf-
> 4.1.1/libncdap3'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libncdap3'
> > Making install in libsrc
> > make[1]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[2]: Entering directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > test -z "/library/lib" || /bin/mkdir -p "/library/lib"
> > /bin/mkdir: cannot create directory `/library': Permission denied
> > make[2]: *** [install-libLTLIBRARIES] Error 1
> > make[2]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make[1]: *** [install-am] Error 2
> > make[1]: Leaving directory `/p/home/jraby/NetCDF/netcdf-
4.1.1/libsrc'
> > make: *** [install-recursive] Error 1
> > excalibur:~jraby/NetCDF/netcdf-4.1.1
> >
> > I executed the configure script using the following command:
> >
> > ./configure --prefix=/library --disable-netcdf-4
> >
> > Based on the error dialog, I am suspicious that the path I
provided
> > for the location to install the NetCDF library (/library) was not
> > correct and should have been:
> >
> > /p/home/jraby/NetCDF/netcdf-4.1.1
> >
> > Do you have any thoughts on this?
> >
> > R/
> > John
> >
> > -----Original Message-----
> > From: Julie Prestopnik via RT
> > [Caution-Caution-mailto:met_help at ucar.edu]
> > Sent: Wednesday, January 04, 2017 10:33 AM
> > 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 #79085] MET V5.2
> > tutorial NetCDF compile instructions
> >
> > 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.
> >
> >
> >
> >
> > ----
> >
> > Hi John.
> >
> > I believe the steps you listed:
> >
> > ./configure --prefix=/netcdf/install/path --disable-netcdf-4 make
> > make install
> >
> > should work fine with the bash shell.
> >
> > Regarding, setting FC and F90:
> >
> > setenv FC ''
> > setenv F90 ''
> >
> > Those are actually single quotes and they should work as written,
> > once you adjust to use the export command for the bash shell.
> >
> > I hope that helps!
> >
> > Julie
> >
> > On Wed, Jan 4, 2017 at 10:21 AM, Raby, John W USA CIV via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Wed Jan 04 10:21:10 2017: Request 79085 was acted upon.
> > > Transaction: Ticket created by john.w.raby2.civ at mail.mil
> > >        Queue: met_help
> > >      Subject: MET V5.2 tutorial NetCDF compile instructions
> > >        Owner: Nobody
> > >   Requestors: john.w.raby2.civ at mail.mil
> > >       Status: new
> > >  Ticket <Caution-Caution-Caution-url:
> > > Caution-Caution-Caution-
https://rt.rap.ucar.edu/rt/Ticket/Display.
> > > html?id=79
> > > 085 >
> > >
> > >
> > > I am using the instructions provided as an example in the
tutorial at:
> > >
> > > Caution-Caution-Caution-
http://www.dtcenter.org/met/users/support/
> > > online_tut
> > > orial/
> > > METv5.2/tutorial.p
> > > hp?name=compilation&category=req_libs
> > > <Caution-Caution-Caution-
http://www.dtcenter.org/met/users/support
> > > /online_tu torial/MET
> > > v5.2/tutorial.p%0Ahp?name=compilation&category=req_libs>
> > >
> > > I note that the commands used are c-shell. I am using bash. I
know
> > > that "setenv" is the same as "export" in bash, but I'm unsure of
> > > the equivalent commands for the remainder of the steps as
follows:
> > >
> > > ./configure --prefix=/netcdf/install/path --disable-netcdf-4
make
> > > make install
> > >
> > > Will the above steps work as written in bash? If not, what
changes
> > > do you recommend?
> > >
> > > Also noticed that the following commands from the tutorial do
not
> > > have the double quotes ("") to set empty string:
> > >
> > > setenv FC ''
> > > setenv F90 ''
> > >
> > > Is this an error or does it work as written?
> > >
> > > Thanks.
> > >
> > > R/
> > > John
> > >
> > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research Research Applications
> > Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
> > CLASSIFICATION: UNCLASSIFIED
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research Research Applications
> Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
> CLASSIFICATION: UNCLASSIFIED
>
>


--
Julie Prestopnik
National Center for Atmospheric Research Research Applications
Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


CLASSIFICATION: UNCLASSIFIED

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


More information about the Met_help mailing list