Skip to content
Snippets Groups Projects
Commit 4d6e40b4 authored by POLCHER Jan's avatar POLCHER Jan :bicyclist_tone4:
Browse files

Adapt the usage of range to Python3.

parent 3eaecfa0
No related branches found
No related tags found
No related merge requests found
...@@ -347,7 +347,7 @@ class partition : ...@@ -347,7 +347,7 @@ class partition :
else : else :
ERROR("Unforessen order of the variable to be sent to halo of land points") ERROR("Unforessen order of the variable to be sent to halo of land points")
sys.exit() sys.exit()
chks = range(0, chkdim, chksz) chks = list(range(0, chkdim, chksz))
chks.append(chkdim) chks.append(chkdim)
# #
for j in range(len(chks)-1) : for j in range(len(chks)-1) :
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
#PBS -j oe #PBS -j oe
#PBS -l nodes=1:ppn=42 #PBS -l nodes=1:ppn=42
#PBS -l walltime=48:00:00 #PBS -l walltime=128:00:00
#PBS -l mem=160gb #PBS -l mem=160gb
#PBS -l vmem=160gb #PBS -l vmem=160gb
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment