Install netcdf and netcdf-fortran required for ETSF-IO libray and octopus code

For installation of netcdf

  1. Configure:
./configure CC=icc --prefix="/opt/etsf" \
--enable-static --enable-shared --disable-dap \
LT_SYS_LIBRARY_PATH="/opt/etsf/lib" \
LDFLAGS="-L/opt/etsf" \
--disable-netcdf-4
  1. compile

make

  1. Install

make install

  1. Check the installation

make check

For installation of netcdf-fortran

  1. Configure:
./configure FC=ifort CC=icc \
--prefix="/opt/etsf" \
CPPFLAGS="-I/opt/etsf/include" \
CPPFLAGS="-I/opt/include" \
LDFLAGS="-L/opt/lib"
  1. compile

make

  1. Install

make install

  1. Check the installation

make check

Ravindra Shinde
Ravindra Shinde
Research Scientist

I am a theoretical and computational condensed matter physicist and quantum chemist. I have around 10 years of research experience, with 6 years in scientific code development. I have authored 16 research articles, 1 book, and peer-reviewed 25 manuscripts.



Next
Previous