Re: [netcdfgroup] questions about how to install the stable netcdfsoftware into my linux platforms

Alex,

    As far as no make clean or distclean was issued a 'make uninstall' should 
have worked, at least for general gnu build system. Maybe Netcdf is just broken 
for that one... Anyway, regardless of that, once you reinstall the files should 
just be overwritten, so no worries.

This typeset mod though don't seem to be netcdf specific... You may find where 
it is, if any, by 'find /usr/local -name typeset.mod' and so on, but it could 
be an issue on your own package not related to NetCDF.

- fabrício




-------- Original Message --------
From: alexalex43210 <alexalex43210@xxxxxxxxx>
Sent: Thu Aug 15 04:20:58 GMT-03:00 2013
To: "Fabrício Zimmerer Murta" <fabricio@xxxxxxxxxxxxxxxx>
Subject: Re: Re: [netcdfgroup] questions about how to install the stable 
netcdfsoftware into my linux platforms

Thanks Fabricio,

    I am from China. So my chinglish is so funny :-)

    I find nothing else in /usr/local/netcdf/include except netcdf.h, that's 
not normal ? so I must install netcdf again? 
    but how I delete the netcdf from my server? I tried make uninstall in the 
source package and it's void. can you tell about that?

best regards,

yours ever
alex



alexalex43210

发件人: Fabrício Zimmerer Murta
发送时间: 2013-08-15 15:00
收件人: alexalex43210; netcdfgroup
主题: Re: 回复: Re: [netcdfgroup] questions about how to install the stable 
netcdfsoftware into my linux platforms
Keep in mind: netcdf >= 4.2.0 impliesRemember for any netcdf >=4.2.0: one c 
package, one f package. So, 4.3.0 means one c, and one f, and you must install 
both in order to play with fortran.

As is seems, you are going to go with gfortran, then that shouldn't be that 
hard at last. Not that it will be easy tough.

By your other mail, when you --disable-netcdf-4, you disabled actual support 
for the newer netcdf format. If I remember well, you need zlib and hdf5 
libraries on place before you can enable the new features. You -must- be able 
to yum/zypper/yast/yast2 install zlib, any distro should have it, and for your 
version of suse, I doubt zlib is too outdated.

Now for the HDF5... There's good chance you can install it using the same ways, 
if not, you have to run the hassle of hand-compiling yet another package.

Well, if things become too harsh, you can give ubuntu a try. I am not a 
personal fan of it but I know it has hdf and netcdf for 'apt-get install'. It 
would be a good starting point to know how would you need to expect an netcdf 
installation to be succeeded.

Just out of curiousity, whats your native speaking language? Interesting how 
the equivalent English sentences become. :)

I hope these directions can take you further...

-fabricio



:"Tahoma","sans-serif";padding:3.0pt 0in 0in 0in'> 

From: alexalex43210 <alexalex43210@xxxxxxxxx>
Sent: Thu Aug 15 00:26:32 GMT-03:00 2013
To: "Fabrício Zimmerer Murta" <fabricio@xxxxxxxxxxxxxxxx>
Subject: 回复: Re: [netcdfgroup] questions about how to install the stable 
netcdfsoftware into my linux platforms



Hello Fabricio,
   Thanks for your help very much, it's very useful and helpful to me.
   But in my platform Opensuse11.2, yum-install and zypper-install is not 
valid, so I must download the source software to install netcdf. 
   In order to achieve my purpose, I have Plan A:
    I found netcdf-4.3.0.tar.gz and uploaded it to my server. As a root, I tar 
-zxvf it and find the installation package. I want to know in this gzip package 
whether or not there are not only version C but version F. If it includes both 
of them, I will do installation by steps introduced by installation documents.
   & Plan B:
   If the above installation method is not ok, I will do as you told me. that 
is, I download version C source master zip and version F 
source master zip for my installation. but need I download the libraries 
accompanies with both source master zips? maybe I should download version C and 
version F, then gunzip them and install them sequentially by your advices.
   I must to tell you I am a novice for netcdf, so I have some ridiculous 
questions about the installation step or the system issues. pls excuse me for 
that. 

   best regards,
yours ever
alex




alexalex43210

发件人: Fabrício Zimmerer Murta
发送时间: 2013-08-15 10:57
收件人: alexalex43210; netcdfgroup
主题: Re: [netcdfgroup] questions about how to install the stable netcdfsoftware 
into my linux platforms
Before all the burden, have you tried yum install netcdf ? I believe there are 
a pre-build package for NetCDF on OpenSuse; although it may miss the fortran 
version.

Since NetCDF 4.2.x, there are two source packages, NetCDF-c (the main one) and 
NetCDF-fortran. Install first the package for the c version, then procceed to 
the fortran version.

While I think there’s no problem for the c version, if you are going to use the 
fortran version of NetCDF, ensure you compiled it with the compiler you are 
going to use with your project. For example, if you are using the intel 
compiler suite, ensure you compile the NetCDF library with ifort not gfortran. 
If you are using only GNU suite, then everything should be straightforward.

The fortran version is just below the c version. In the page you linked you can 
read “
NetCDF C Stable Releases
“
With the NetCDF c links. Just below, there’s a “
NetCDF Fortran Releases
“
And voila you’re there. Below are the c++ variant, and the first one is for 
java.

If you really want a NetCDF version that comes with both c and fortran bundled, 
you are looking for NetCDF 4.1.1.

Lastly, a library is like an windows’ .dll (which stands for dynamically linked 
library). You don’t need any source code in order to use the library. You may 
use additionally, though, the header/include files that usually are left 
somewhere at /usr/include (/usr/local/include or whatever root path you used to 
install the library). The source code is used only to build the library, be it 
NetCDF, be it whatever else.

I hope this answers some of your questions. Remember looking for if your linux 
distribution has precompiled binary packages for the library, it may save you a 
whole lot of trouble. You are out of luck I guess, if you have to deal with 
other compiler like intel, pathscale, cray or pgi (meaning you will have to 
compile the package anyway).

- Fabrício

From: alexalex43210 
Sent: Wednesday, August 14, 2013 11:43 pm
To: netcdfgroup ; netcdfgroup ; netcdfgroup ; netcdfgroup 
Subject: [netcdfgroup] questions about how to install the stable netcdfsoftware 
into my linux platforms

Hello netcdfgroup,

       Nowadays, I want to install netcdf into my linux platform open-suse11.2. 
I find the source link in unidata 
http://www.unidata.ucar.edu/downloads/netcdf/index.jsp , but I find there is 
not only version C but version F, which both will be used by my future task. 
and how can I get the installation software containing both those version and 
how can I install the software if it is found? can you give me hand?

       BTW, why netcdf libraries is independent of netcdf source code? I must 
install them separately ? 


best regards,
yours ever 
alex




alexalex43210


_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity. 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: