NCL 2.1.18

Dependencies

  • Intel Parallel Studio XE 2017 Update 1 (C y C++)

Installation

  1. First download the tar from the main page
wget https://downloads.sourceforge.net/project/ncl/NCL/ncl-2.1.18/ncl-2.1.18.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fncl%2F&ts=1486420255&use_mirror=ufpr
tar -zxvf ncl-2.1.18.tar.gz
  1. compilation config
cd ncl-2.1.18
module load intel/2017_update-1
env CPPFLAGS=-DNCL_CONST_FUNCS ./configure --prefix=/share/apps/ncl/2.1.18/intel/2017_update-1  --build=x86_64-redhat-linux  2>&1 | tee ncl-conf.log
make 2>&1 | tee ncl-make.log

Module

#%Module1.0#####################################################################
##
## module ncl/2.1.18_intel-2017_update-1
##
## /share/apps/ncl/2.1.18/intel/2017_update-1     Written by Mateo Gomez-Zuluaga
##

proc ModulesHelp { } {
    puts stderr "\tncl/2.1.18_intel-2017_update-1 - sets the Environment for NCL in \
    \n\tthe share directory /share/apps/ncl/2.1.18/intel/2017_update-1\n"
}

module-whatis "\n\n\tSets the environment for using NCL 2.1.18 \
               \n\tbuilded with Intel Parallel Studio XE 2017\n"

# for Tcl script use only
set       topdir     /share/apps/ncl/2.1.18/intel/2017_update-1
set       version    2.1.18
set       sys        x86_64-redhat-linux

module load intel/2017_update-1

prepend-path PATH           $topdir/bin

prepend-path LD_LIBRARY_PATH    $topdir/lib/ncl
prepend-path LIBRARY_PATH       $topdir/lib/ncl
prepend-path LD_RUN_PATH        $topdir/lib/ncl

prepend-path C_INCLUDE_PATH     $topdir/include/ncl
prepend-path CXX_INCLUDE_PATH   $topdir/include/ncl
prepend-path CPLUS_INCLUDE_PATH $topdir/include/ncl

prepend-path PKG_CONFIG_PATH    $topdir/lib/pkgconfig

usage mode

module load ncl/2.1.18_intel-2017_update-1

References

  • manual

Author

  • Mateo Gómez Zuluaga