Troubleshooting
Problem
How do I test module file for latest intel ifort compiler?
Resolving The Problem
How do I test module file for latest intel ifort compiler? Please find below the procedure used in order to test this module file.
1- Check the availability :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ module avail intel
---------------------------------------------------------------- /opt/modules//modulefiles ----------------------------------------------------------------
intel/icc-9.1 intel/ifort-9.1
----------------------------------------------------------------
2- Load the module and check the output :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ module load intel/ifort-9.1
intel fortran compiler ver. 9.1 build 041 module****************************************************----------------------------------------------------------------
This module sets up the following environment
variables for intel fortran compiler ver. 9.1, build 041
assumption : INTEL_LICENSE_FILE env. is already setup
PATH
LD_LIBRARY_PATH
MANPATH
Version 3.1.6
****************************************************
3- Check if the environment is correctly setup :
3.1- PATH :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ echo $PATH
/share/apps/intel/fce/9.1.041/bin:.:/share/apps/openmpi-1.1.2-ifort2/bin:
/opt/intel/fce/9.0/bin:/opt/lava/6.1/linux2.6-glibc2.3-ia32e/bin:/opt/lava/6.1/linux2.6-glibc2.3-ia32e/etc:
/usr/kerberos/bin:/opt/intel/itc60/bin:/opt/intel/ita60/bin:/opt/intel/fce/9.0/bin:/opt/intel/idbe/9.0/bin:
/opt/intel/cce/9.0/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/modules/current/bin/:/opt/modules/bin/:
/opt/ganglia/bin:/opt/lam/gnu/bin:/opt/rocks/bin:/opt/rocks/sbin:/home/toor3/bin
----------------------------------------------------------------
3.2- LD_LIBRARY_PATH :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ echo $LD_LIBRARY_PATH
/share/apps/intel/fce/9.1.041/lib:/share/apps/openmpi-1.1.2-ifort2/lib:/opt/intel/fce/9.0/lib:
/opt/intel/cce/9.0/lib:/opt/intel/cmkl/8.0/lib/em64t:/opt/lava/6.1/linux2.6-glibc2.3-ia32e/lib:/opt/intel/itc60/slib:
/opt/intel/ipp41/em64t/sharedlib:/opt/intel/fce/9.0/lib:/opt/intel/cce/9.0/lib
----------------------------------------------------------------
3.3- MANPATH
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ echo $MANPATH
/share/apps/intel/fce/9.1.041/man:/share/apps/openmpi-1.1.2-ifort2/man:/opt/intel/fce/9.0/man:
/opt/intel/cce/9.0/man:/opt/lava/6.1/man:/opt/intel/itc60/man:/opt/intel/fce/9.0/man:/opt/intel/idbe/9.0/man:
/opt/intel/cce/9.0/man:/opt/modules/current/man:/opt/modules/man:/usr/local/share/man:/usr/share/man:
/usr/X11R6/man:/opt/rocks/man:/opt/mpich/gnu/man:/opt/lam/gnu/man:/opt/ganglia/man:/opt/lava/6.1/man
----------------------------------------------------------------
4- Check the default compiler version :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ ifort -V
Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070109 Package ID: l_fc_c_9.1.041
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
----------------------------------------------------------------
5- Load the module for icc 9.1 and check the versions :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ module load intel/icc-9.1
intel C/C++ compilers ver. 9.1 build 047 module****************************************************----------------------------------------------------------------
This module sets up the following environment
variables for intel C/C++ compilers ver. 9.1, build 047
assumption : INTEL_LICENSE_FILE env. is already setup
PATH
LD_LIBRARY_PATH
MANPATH
Version 3.1.6
****************************************************
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ ifort -V
Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070109 Package ID: l_fc_c_9.1.041
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
----------------------------------------------------------------
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ icc -V
Intel(R) C Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070215 Package ID: l_cc_c_9.1.047
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
----------------------------------------------------------------
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ icpc -V
Intel(R) C++ Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070215 Package ID: l_cc_c_9.1.047
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
----------------------------------------------------------------
6- Check the modules currently loaded :
----------------------------------------------------------------
[toor3@frontend modulefiles.custom]$ module list
Currently Loaded Modulefiles:
1) intel/ifort-9.1 2) intel/icc-9.1
----------------------------------------------------------------
[{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
11 September 2018
UID
isg3T1014011