Installation Jasper library with Intel(r) C++ and FORTRAN Compiler 11.1.046 for Linux

Submit New Article

July 20, 2009 10:00 PM PDT



Introduction : 
This document explains how to build JasPer using the Intel C++ and FORTRAN Compilers for Linux, for example, version 11.1.046. The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).

Version : 
1.900.1

Obtaining Source Code :

http://www.ece.uvic.ca/~mdadams/jasper/#download
Prerequisites :
None
Source Code Changes :
Not required

Building the Application :
Jasper will be installed to the home directory.
1) Decompress source files
$unzip jasper-1.900.1.zip -d /opt

2)
$cd /opt/jasper-1.900.1/

3)Create script build_jasper.sh:
#!/bin/sh
#INTEL_COMPILER_TOPDIR directory where Intel Compiler has been installed
export INTEL_COMPILER_TOPDIR="/opt/intel/Compiler/11.1/046/"
#Setting environment variables for the Intel(R) C++ Compiler Professional Edition for Linux
. $INTEL_COMPILER_TOPDIR/bin/intel64/iccvars_intel64.sh
#Setting environment variablesfor the Intel(R) Fortran Compiler Professional Edition for Linux
. $INTEL_COMPILER_TOPDIR/bin/intel64/ifortvars_intel64.sh
#If you want to install Jasper in the special directory then you should specify an installation
#prefix other than `/usr/local' using `--prefix'.
./configure --prefix=$HOME CC=icc CXX=icpc F77=ifort
make
make install

4) Make script executable:
$chmod +x build_jasper.sh

5)Execute this script with command line:
$((./build_jasper.sh) 3>&2 2>&1 1>&3 | tee build_jasper.err ) 2>&1 | tee build_jasper.log
Or just execute script:
$./build_jasper.sh

Verifying Correctness :
After finishing building you can check logs or only buildings errors in files build_jasper.log and build_jasper.err, respectively.

Known Issues or Limitations :
None



Do you need more help?