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 am currently working as a researcher at the University of Twente, the Netherlands. I am also the founder of The Science Dev.



Next
Previous