Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

sanity check

anamika_shrivastava_
1,431 Views
config.log1

Respected sir,
I am anamika shrivastava. and i want to install the netcdf-3.6.2using the intel compiler. but i am getting error of icc fails sanity check.I am not getting which type of error is this, and how can i solve this. for this reason i attaching my bashrc file and config.log file and system detail.please tell me how can come out from thris problem.my bashrc file is::;;;;;;;;;;


# .bashrc



#User specific aliases and functions



# Source global definitions

if [ -f /etc/bashrc ]; then

. /etc/bashrc

alias c=clear

alias ls='ls -F'

alias rm='rm -i'



fi



##########################################

export HOME_PATH=home/bin:home/etc:$HOME_PATH

###############################################

export WRFPATH=home/asf15076/WRF/WRFV3/:home/asf15076/WRF/WRFV3/external/:home/asf15076/WRF/WRFV3/frame:home/asf15076/WRF/WRFV3/phys:$WRFPATH

export WPS=home/asf15076/WRF/WPS/:$WPS



#export NETCDF=/home/asf15076/netcdf-3.6.2



#export NETCDF_BIN=home/asf15076/netcdf-3.6.2:$NETCDF_BIN



#export NETCDF_LIBDIR=/home/asf15076/netcdf1/lib:$NETCDF_LIBDIR



#export NETCDF_INCDIR=/home/asf15076/netcdf1/include:$NETCDF_INCDIR







###########################################################



############# set up a editor for program

set EDITOR='vi'

set history =40

set MP_STACK_SIZE =64000000



##############################################################



PATH=/bin:/usr/bin:/usr/sbin:/share/apps/intel/fce/9.0/bin:/share/apps/intel/cce/9.0/bin:/share/apps/intel/idbe/9.0/bin:/opt/intel/mpi/2.0.1/bin64:/share/apps/intel/fce/9.0/include:/share/apps/intel/cce/9.0/include:$PATH

export PATH





export LM_LICENSE_FILE=/share/apps/intel/fce/9.0/licenses:/share/apps/intel/cce/9.0/licenses:/opt/intel/licenses:$LM_LICENSE_FILE



export LD_LIBRARY_PATH=/usr/lib:/share/apps/intel/fce/9.0/lib:/share/apps/intel/cce/9.0/lib:/share/apps/intel/idbe/9.0/lib:/opt/intel/mpi/2.0.1/lib64:$LD_LIBRARY_PATH



export LIBPATH=/usr/lib:/share/apps/intel/fce/9.0/lib:/share/apps/intel/cce/9.0/lib:$LIBPATH



FPATH=/share/apps/intel/fce/9.0/include:/share/apps/intel/cce/9.0/include:$FPATH



export FPATH



INCLUDE=/opt/intel/mpi/2.0.1/include64:$INCLUDE

export INCLUDE



MANPATH=/share/apps/intel/fce/9.0/man:/share/apps/intel/cce/9.0/man:$MANPATH

export MANPATH



##########################################################







########## some useful aliases ##############



alias rm='rm -i'

alias cp='cp -i'

alias mv='mv -i'

alias ls='ls -F'



#########################################

export CC="/share/apps/intel/cce/9.0/bin/icc"

export F90="/share/apps/intel/fce/9.0/bin/ifort"

export F77="/share/apps/intel/fce/9.0/bin/ifort"

export FC="/share/apps/intel/fce/9.0/bin/ifort"

export CPP=icc

export CXX=/share/apps/intel/cce/9.0/bin/icpc



###################################

export LC=ifort

export LDFLAGS="-L$LD_LIBRARY_PATH"

export SHLIB_CXXLD="icpc"

#################################################

export PROCESSFLAGS=-DpgiFortan



export CFLAGS="-O0 -mp1 -i-static -no-gcc -w"

export CPPFLAGS="-fPIC -DpgiFortran"

export FFLAGS="-O2 -mp -i-static -w"

export F90FLAGS="-O2 -mp -i-static -w"



export CXXFLAGS="-O2 -mp -i-static -w"

export MPIRUN="/opt/intel/mpi/2.0.1/bin64/mpirun"

export MPI_F90="/opt/intel/mpi/2.0.1/bin64/mpiifort"

#####################################################



set LC_ALL="C"
######################################################




0 Kudos
2 Replies
TimP
Honored Contributor III
1,431 Views
I can't decipher from your attachments the actual contents of the conftest.c which failed.
I'd point out that icc 9.0 wasn't in use for long, as 9.1 was much improved. I don't know which versions of gcc were supported by icc 9.0, but certainly a recent version of gcc could provoke your pre-processing failure with the old icc.
It does appear, from the fact that the version of netcdf you chose is supported under FC9, that your build may expect versions of gcc and glibc which are too new to work with the old Intel tools releases.
Did you check:
your kernel and linux version is new enough for your version of netcdf, yet old enough for the obsolete Intel software tools?
similar with glibc and gcc?
Your icc documentation would tell at least which linux distros were in use when it was tested.
0 Kudos
Stephen_D_Intel
Employee
1,431 Views
Hi Anamika,

You should review this Knowledge Base article on building NetCDF:

http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/

I noticed that you are not using this definition of CPP for the C preprocessor command:
export CPP='icc -E'

this sort of thing is covered in the KB article.

0 Kudos
Reply