Install - HDF new version

Dear users,

I want to install "hdf latest version" in my RedHat linux Enterprise Version 5.0 in my HP Proliant ML 110 server. Please help me in this regar. I am new in linux working environment.

with reards
===============================================================Dr.K.MUNI KRISHNA
TEACHING ASSOCIATE
DEPT.OF.METEOROLOGY & OCEANOGRAPHY ANDHRA UNIVERSITY
VISAKHAPATNAM
ANDHRA PRADESH - 530003
INDIA

···

Hi,
There are a number of things to consider before compiling.

What compression you'll use: zlib or szlib
Will you program parallel hdf on parallel file systems (e.g. GPFS, lustre, etc.). If so which and which MPI
Will you use c++. Will you use fortran. python. And separately java
Does the rest of your build need the -fPIC compiler flag(I'm unfamiliar with PGI)

after unzipping 1.8.5 in its directory at the command line type:
./configure --help
to see more options.

If you aren't as command line oriented, make a little build script (i.e. build hdf5.sh with a text editor such as gedit on your system) in the 1.8.5 directory and experiment with build in it (this script is the same as command line but keeps them where you can modify and remember). If you have a linux file browser browsed to this 1.8.5 folder and you right click and set the permissions to execute you can then just double click every time you want to attempt another build. The paths to zlib and openmpi are dependency libraries I chose for my build of hdf5. And of course the ./release_docs of hdf5 are many more examples for different systems and compilers

---------typical build script for openpmi and parallel-----------
#!/bin/bash

function pause(){
    read -n 1 -p "Press any key to continue..."
}

OPENMPI_PATH=/home/roger/Software/openmpi-1.5/dist
export FC=gfortran
export CC=$OPENMPI_PATH/bin/mpicc
export CXX=$OPENMPI_PATH/bin/mpic++
export LDFLAGS=-fPIC -L$OPENMPI_PATH/lib -L$OPENMPI_PATH/lib/openmpi -lmpi -lmpi_cxx -lopen-pal
export CFLAGS=-fPIC -I$OPENMPI_PATH/include
export CPPFLAGS=-fPIC -I$OPENMPI_PATH/include
export CXXFLAGS=-fPIC -I$OPENMPI_PATH/include
export MKLROOT=/share/apps/intel/mkl/10.2.5.035
export LD_LIBRARY_PATH=$MKLROOT/lib/em64t:$OPENMPI_PATH/lib:/lib64:/usr/lib64:/lib:/home/roger/sourceforge/zlib-1.2.4/dist/lib:$LD_LIBRARY_PATH

#open next line to clean up and restart building again
make clean

./configure --prefix=/home/roger/Software/hdf5-1.8.6-pre2/dist --disable-fortran --enable-parallel --with-zlib=/home/roger/sourceforge/zlib-1.2.4/dist --without-szlib --enable-shared=yes --enable-static=yes --with-python=yes

make
make check
make install
cd examples
make
cd ..

#./configure --help
pause

···

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

If you list more specifics this could be adjusted accordingly

On 12/21/2010 06:38 AM, kailasam muni krishna wrote:

Dear users,

I want to install "hdf latest version" in my RedHat linux Enterprise Version 5.0 in my HP Proliant ML 110 server. Please help me in this regar. I am new in linux working environment.

with reards

*Dr.K.MUNI KRISHNA*
*TEACHING ASSOCIATE
DEPT.OF.METEOROLOGY & OCEANOGRAPHY *
*ANDHRA UNIVERSITY
VISAKHAPATNAM
ANDHRA PRADESH - 530003
INDIA
**
*

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Dear users,

I want to install "hdf latest version" in my RedHat
linux Enterprise Version 5.0 in my HP Proliant ML 110 server. Please
help me in this regar. I am new in linux working environment.
PGI complier is avaliable in my server

with reards

===============================================================Dr.K.MUNI KRISHNA
TEACHING ASSOCIATE
DEPT.OF.METEOROLOGY & OCEANOGRAPHY ANDHRA UNIVERSITY
VISAKHAPATNAM
ANDHRA PRADESH - 530003
INDIA

···