Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zambon__Joseph
Beginner
80 Views

mpiicc configure spawns dozens of mpiicc processes

When I attempt to ./configure for a program install, the configure scripts will hang.  Running a top will show dozens of mpiicc processes running concurrently while configure is hanging.  I can not reproduce the issue with icc, it only does this with mpiicc.

For example...

setenv install_prefix '/stor400a/jbzambon/netcdf_intel2018/'
source /usr/local/apps/intel2018/build/parallel_studio_xe_2018.3.051/psxevars.csh
source /usr/local/apps/intel2018/build/compilers_and_libraries_2018.3.222/linux/mpi/bin64/mpivars.csh

    setenv CC mpiicc
    setenv CXX mpiicc
    setenv FC mpiifort
    setenv F9X mpiifort
    setenv I_MPI_CC mpiicc
    setenv I_MPI_CXX mpiicpc
    setenv I_MPI_F77 mpiifort
    setenv I_MPI_F90 mpiifort
    setenv DM_FC mpiifort
    setenv DM_CC mpiicc
    setenv CFLAGS '-O3 -xHost -ip -static-intel -heap-arrays -static_mpi -L'$install_prefix'/build/lib/ -I'$install_prefix'/build/include/'
    setenv CXXFLAGS '-O3 -xHost -ip -static-intel -heap-arrays -static_mpi -L'$install_prefix'/build/lib/ -I'$install_prefix'/build/include/'
    setenv FCFLAGS '-O3 -xHost -ip -static-intel -heap-arrays -static_mpi -L'$install_prefix'/build/lib/ -I'$install_prefix'/build/include/'
    setenv I_MPI_CFLAGS '-O3 -xHost -ip -static-intel -heap-arrays -static_mpi -L'$install_prefix'/build/lib/ -I'$install_prefix'/build/include/'
    setenv I_MPI_LDFLAGS '-O3 -xHost -ip -static-intel -heap-arrays -static_mpi -L'$install_prefix'/build/lib/ -I'$install_prefix'/build/include/'

cd $install_prefix
rm -rf szip-2.1.1.tar.gz
rm -rf szip-2.1.1
wget https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-2.1.1.tar.gz
tar -zxvf szip-2.1.1.tar.gz
cd szip-2.1.1
./configure --prefix $install_prefix/build
make
make check
make install

Will hang on the configure script at "checking build system type...".  However....

    setenv CC icc
    setenv CXX icc
    setenv FC ifort
    setenv F9X ifort

Will work.  Here's a screenshot of the two terminals side by side.  The left terminal is running the configure script.  The right terminal shows the dozens of mpiicc processes running.  I can reproduce the issue by simply setting 

    setenv I_MPI_CC mpiicc

and checking the version

    mpiicc -v

which results in an infinite loop of mpiicc processes.  Versions...

 

jbzambon@node01 szip-2.1.1 > mpiicc -v
mpiicc for the Intel(R) MPI Library 2018 Update 3 for Linux*
Copyright(C) 2003-2018, Intel Corporation.  All rights reserved.
icc: command line warning #10006: ignoring unknown option '-static_mpi'
icc version 18.0.3 (gcc version 5.4.0 compatibility)
jbzambon@node01 szip-2.1.1 > icc -v
icc version 18.0.3 (gcc version 5.4.0 compatibility)
jbzambon@node01 szip-2.1.1 > ifort -v
ifort version 18.0.3
jbzambon@node01 szip-2.1.1 > mpiifort -v
mpiifort for the Intel(R) MPI Library 2018 Update 3 for Linux*
Copyright(C) 2003-2018, Intel Corporation.  All rights reserved.
ifort version 18.0.3

Any help is appreciated, thanks!

 

-Joe

0 Kudos
0 Replies
Reply