Difference between revisions of "Benchmarking: FVCOM"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Compile and Install HDF5 library == <syntaxhighlight> wget https://www.hdfgroup.org/HDF5/release/obtainsrc.html tar xzf hdf5-1.8.15-patch1.tar.gz cd hdf5-1.8.15-patch1 CC=mpiicc FC=m...")
 
Line 8: Line 8:
 
make -j10
 
make -j10
 
make install
 
make install
 +
 +
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/k_mouza/hdf5/lib/
 +
export PATH=$PATH:/home/k_mouza/hdf5/bin/
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 08:49, 14 July 2015

Compile and Install HDF5 library

wget https://www.hdfgroup.org/HDF5/release/obtainsrc.html
tar xzf hdf5-1.8.15-patch1.tar.gz
cd hdf5-1.8.15-patch1
CC=mpiicc FC=mpiifort ./configure --prefix=/home/k_mouza/hdf5 --enable-fortran --enable-parallel
make -j10
make install

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/k_mouza/hdf5/lib/
export PATH=$PATH:/home/k_mouza/hdf5/bin/

Compile and install netCDF library

wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.3.1.tar.gz
tar xzf netcdf-4.3.3.1.tar.gz
cd netcdf-4.3.3.1
CC=mpiicc FC=mpiifort CPPFLAGS=-I/home/k_mouza/hdf5/include/ LDFLAGS=-L/home/k_mouza/hdf5/lib/ ./configure --prefix=/home/k_mouza/netcdf-4.3
make -j10
make install