About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
How do I module file for open-mpi 1.2 (gnu + intel ifort compiler)?
Resolving The Problem
How do I module file for open-mpi 1.2 (gnu + intel ifort compiler)?
Please find attached to this solution the module file for openmpi 1.2, gnu / intel (gnu compilers for C/C++ and intel for fortran 77/90).
1- Publish the module (frontend) :
sudo ln -s /share/apps/modulefiles.custom/ompi12-ggii /opt/modules/modulefiles/hpc/ompi12-ggii
2- Propagate the module on the cluster :
sudo cluster-fork "ln -s /share/apps/modulefiles.custom/ompi12-ggii /opt/modules/modulefiles/hpc/ompi12-ggii"
3- Test the module
3.1- conflict statement :
[toor3@frontend ~]$ module list
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) hpc/ompi12-gnu 4) intel/ifort-9.1
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) hpc/ompi12-gnu 4) intel/ifort-9.1
[toor3@frontend ~]$ module load hpc/ompi12-ggii
hpc/ompi12-ggii(28):ERROR:150: Module 'hpc/ompi12-ggii' conflicts with the currently loaded module(s) 'hpc/ompi12-gnu'
hpc/ompi12-ggii(28):ERROR:102: Tcl command execution failed: conflict hpc/ompi12-gnu hpc/ompi12-ai
hpc/ompi12-ggii(28):ERROR:150: Module 'hpc/ompi12-ggii' conflicts with the currently loaded module(s) 'hpc/ompi12-gnu'
hpc/ompi12-ggii(28):ERROR:102: Tcl command execution failed: conflict hpc/ompi12-gnu hpc/ompi12-ai
------------------------------------------------------
------------------------------------------------------
[toor3@frontend ~]$ module list
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) intel/ifort-9.1 4) intel/icc-9.1 5) hpc/ompi12-ai
[toor3@frontend ~]$ module list
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) intel/ifort-9.1 4) intel/icc-9.1 5) hpc/ompi12-ai
[toor3@frontend ~]$ module load hpc/ompi12-ggii
hpc/ompi12-ggii(28):ERROR:150: Module 'hpc/ompi12-ggii' conflicts with the currently loaded module(s) 'hpc/ompi12-ai'
hpc/ompi12-ggii(28):ERROR:102: Tcl command execution failed: conflict hpc/ompi12-gnu hpc/ompi12-ai
hpc/ompi12-ggii(28):ERROR:150: Module 'hpc/ompi12-ggii' conflicts with the currently loaded module(s) 'hpc/ompi12-ai'
hpc/ompi12-ggii(28):ERROR:102: Tcl command execution failed: conflict hpc/ompi12-gnu hpc/ompi12-ai
3.2- prereq statement :
------------------------------------------------------
[toor3@frontend ~]$ module load hpc/ompi12-ggii
hpc/ompi12-ggii(26):ERROR:151: Module 'hpc/ompi12-ggii' depends on one of the module(s) 'intel/ifort-9.1 '
hpc/ompi12-ggii(26):ERROR:102: Tcl command execution failed: prereq intel/ifort-9.1
hpc/ompi12-ggii(26):ERROR:151: Module 'hpc/ompi12-ggii' depends on one of the module(s) 'intel/ifort-9.1 '
hpc/ompi12-ggii(26):ERROR:102: Tcl command execution failed: prereq intel/ifort-9.1
------------------------------------------------------
------------------------------------------------------
module load intel/ifort-9.1
[toor3@frontend ~]$ module load hpc/ompi12-ggii
ompi12-ggii module
****************************************************
****************************************************
This module sets up the following environment
variables for openmpi 1.2 gnu/intel
PATH
LD_LIBRARY_PATH
MPIHOME
MANPATH
variables for openmpi 1.2 gnu/intel
PATH
LD_LIBRARY_PATH
MPIHOME
MANPATH
Version 3.1.6
****************************************************
[toor3@frontend ~]$ module list
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) hpc/ompi12-ggii 4) intel/ifort-9.1
Currently Loaded Modulefiles:
1) hpc/ompi112-i2 2) pam/pam_default 3) hpc/ompi12-ggii 4) intel/ifort-9.1
3.3- Check the environment setup :
3.3.1- PATH :
------------------------------------------------------
[toor3@frontend ~]$ echo $PATH
/share/apps/open-mpi/openmpi-1.2-ggii/bin:/share/apps/intel/cce/9.1.047/bin:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/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
/share/apps/open-mpi/openmpi-1.2-ggii/bin:/share/apps/intel/cce/9.1.047/bin:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/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.3.2- LD_LIBRARY_PATH
------------------------------------------------------
[toor3@frontend ~]$ echo $LD_LIBRARY_PATH
/share/apps/open-mpi/openmpi-1.2-ggii/lib:/share/apps/open-mpi/openmpi-1.2-ggii/lib/openmpi:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/lib
/share/apps/open-mpi/openmpi-1.2-ggii/lib:/share/apps/open-mpi/openmpi-1.2-ggii/lib/openmpi:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/lib
------------------------------------------------------
3.3.3- MPIHOME
------------------------------------------------------
[toor3@frontend ~]$ echo $MPIHOME
/share/apps/open-mpi/openmpi-1.2-ggii
------------------------------------------------------
/share/apps/open-mpi/openmpi-1.2-ggii
------------------------------------------------------
3.3.4- MANPATH
------------------------------------------------------
[toor3@frontend ~]$ echo $MANPATH
/share/apps/open-mpi/openmpi-1.2-ggii/man:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/man
------------------------------------------------------
/share/apps/open-mpi/openmpi-1.2-ggii/man:/share/apps/intel/fce/9.1.041/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:/share/apps/openmpi-1.1.2-ifort2/man
------------------------------------------------------
3.4- Check the mapping (compilers) :
------------------------------------------------------
[toor3@frontend ~]$ mpicc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[toor3@frontend ~]$ mpiCC -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[toor3@frontend ~]$ mpif77 -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.
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[toor3@frontend ~]$ mpiCC -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[toor3@frontend ~]$ mpif77 -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 ~]$ mpif90 -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.
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.
[{"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
More support for:
IBM Spectrum Cluster Foundation
Software version:
4.1.1
Document number:
702193
Modified date:
09 September 2018
UID
isg3T1014253