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

python 2.6 incompatibility

piquini
Beginner
697 Views
I have succesfully compiled a electronic structure code using mpiifort (Intel Compiler 11.1.056, impi 3.2.0.011) in a Intel Xeon machine running Linux OpenSuse 11.1
When I try to run it, an incompatibility between the Intel pythonroutines and the 2.6 distribution of Python, that is signaled as follows

:64: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
/opt/intel/impi/3.2.0.011/bin64/mpdlib.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import new as md5new
/opt/intel/impi/3.2.0.011/bin64/mpdlib.py:27: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import sys, os, signal, popen2, socket, select, inspect

This kind of problem does not appear when using lower versions of Python.
However, I would like to know how to fix itso as tokeep using the updated version of Python.
Could you help me?

0 Kudos
1 Solution
Gergana_S_Intel
Employee
697 Views

Hi piquini

In addition to Tim's suggestions, I'd also encourage you to update your Intel MPI Library version to the latest one available (3.2 Update 2). You can do so by logging into the Intel Registration Center. The deprecation warnings that you see have been fixed in this last update to the library.

Let me know if hit any problems accessing the new package.

Regards,
~Gergana

View solution in original post

0 Kudos
3 Replies
TimP
Honored Contributor III
697 Views
This question should be posed on the HPC forum, or in a problem report against Intel MPI on premier.intel.com. If python has an option to suppress warnings, you could edit your copy of mpdlib.py or the mpiexec or mpirun python script so as to invoke that option. I don't know whether the current version of impi will have addressed this; you could ask if it could be addressed in a beta version next month.
0 Kudos
Gergana_S_Intel
Employee
698 Views

Hi piquini

In addition to Tim's suggestions, I'd also encourage you to update your Intel MPI Library version to the latest one available (3.2 Update 2). You can do so by logging into the Intel Registration Center. The deprecation warnings that you see have been fixed in this last update to the library.

Let me know if hit any problems accessing the new package.

Regards,
~Gergana

0 Kudos
piquini
Beginner
697 Views

Hi piquini

In addition to Tim's suggestions, I'd also encourage you to update your Intel MPI Library version to the latest one available (3.2 Update 2). You can do so by logging into the Intel Registration Center. The deprecation warnings that you see have been fixed in this last update to the library.

Let me know if hit any problems accessing the new package.

Regards,
~Gergana


Hi Gergana,

Thanks, the warning messages disappeared with the update.

Regards
Paulo
0 Kudos
Reply