#! /bin/bash

if [ -z "${PATH}" ]
then
    PATH="/opt/intel/fce/10.1.015/bin"; export PATH
else
    PATH="/opt/intel/fce/10.1.015/bin:${PATH}"; export PATH
fi

if [ -z "${LD_LIBRARY_PATH}" ]
then
    LD_LIBRARY_PATH="/opt/intel/fce/10.1.015/lib"; export LD_LIBRARY_PATH
else
    LD_LIBRARY_PATH="/opt/intel/fce/10.1.015/lib:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH
fi

# DYLD_LIBRARY_PATH is used on MAC OS*
if [ -z "${DYLD_LIBRARY_PATH}" ]
then
    DYLD_LIBRARY_PATH="/opt/intel/fce/10.1.015/lib"; export DYLD_LIBRARY_PATH
else
    DYLD_LIBRARY_PATH="/opt/intel/fce/10.1.015/lib:${DYLD_LIBRARY_PATH}"; export DYLD_LIBRARY_PATH
fi

if [ -z "${NLSPATH}" ] 
then
    NLSPATH="/opt/intel/fce/10.1.015/lib/locale/en_US"; export NLSPATH
else
    NLSPATH="/opt/intel/fce/10.1.015/lib/locale/en_US:${NLSPATH}"; export NLSPATH
fi

if [ -z "${MANPATH}" ]
then
    MANPATH="/opt/intel/fce/10.1.015/man":$(manpath); export MANPATH
else
    MANPATH="/opt/intel/fce/10.1.015/man:${MANPATH}"; export MANPATH
fi

if [ -z "${INTEL_LICENSE_FILE}" ]
then
	INTEL_LICENSE_FILE="/opt/intel/fce/10.1.015/licenses:/opt/intel/licenses:${HOME}/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses"; export INTEL_LICENSE_FILE 
else
	INTEL_LICENSE_FILE="${INTEL_LICENSE_FILE}:/opt/intel/fce/10.1.015/licenses:/opt/intel/licenses:${HOME}/intel/licenses:/Users/Shared/Library/Application Support/Intel/Licenses"; export INTEL_LICENSE_FILE
fi

