Hi,

My system Python is version 2.6.6.  Using RedHat Software Collections I
have successfully built a program using Python 3.5.1 and Intel's MPI.
When I run a job with

    scl enable python35 bash
    module load gpaw/test
    gpaw -P 4 test

via Slurm, I get the following error:

    File 
"/cm/shared/apps/intel/compilers_and_libraries_2016.1.150/linux/mpi/intel64/bin/mpiexec",
 line 187
      except EOFError, e:
                     ^
  SyntaxError: invalid syntax

This is because the mpiexec script is written for Python 2 but is being
interpreted by Python 3.

Has anyone had a similar issue and come up with a solution?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to