Large mesh problems Metis 5.0.2 on Windows 64 bit

I have compiled Metis 5.0.2 on Windows 2008R2 using Visual Studio 2010 Express. Using m2gmetis works excellent on mesh smaller than approx 50 million elements.

When using m2gmetis on mesh larger than 50 million I get the following error:

m2gmetis "e:/test64m/conn.dat" "e:/test64m/conn.dat.dgraph" -ncommon=3

Current memory used: zu bytes
Maximum memory used: zu bytes
***Memory allocation failed for CreateGraphDual: nptr. Requested size: zu bytes
******************************************************************************
METIS 5.0 Copyright 1998-11, Regents of the University of Minnesota
(HEAD: , Built on: Nov 7 2011, 08:31:02)
size of idx_t: zubits, real_t: zubits, idx_t *: zubits

Mesh Information ------------------------------------------------------------
Name: e:/FOU_Data/chrsve/chinook/test64m/conn.dat, #Elements: 64794624, #Nodes: 999999910000010
Options ---------------------------------------------------------------------
gtype=dual, ncommon=3, outfile=e:/FOU_Data/chrsve/chinook/test64m/conn.dat.dgraph

Anyone else with the same problem? My hardware has 500GB internal memory so that should not be the problem.

Thanks,
Svein

RE: Is this a 64 or a 32 bit

Is this a 64 or a 32 bit build of metis?

RE: Metis is built for 64-bit.

Metis is built for 64-bit.

RE: Based on the weird number

Based on the weird number that is shows for the # of nodes, I suggest you take a look at your input file to see that you do not have a node with that number (or +1 of that).

RE: Metis works perfect on large mesh, my fault!

You are right, I found an error in the input file, and there is no problem with Metis.

Thank you for your help and thank you for Metis.

RE: m2gmetis file does not exist

Metis works fine for me on mesh up to 100 m elements, but when I try to use in larger mesh i only get "file does not exist".
I can see the file in the directory and I have read it with other programs so everything seems fine.

Could this be a limitation of the operating system (Windows 2008R2 64-bit) or is this m2gmetis?

Thanks,
SveinOlav

From the screen:
E:\xxx\test160m>dir conn.*
24.02.2012 12:09 5 932 465 610 conn.dat
1 File(s) 5 932 465 610 bytes
0 Dir(s) 1 362 682 032 128 bytes free

E:\xxx\test160m>"C:/xxx/m2gmetis" conn.dat conn.dat.dgraph -ncommon=3
File conn.dat does not exist!

RE: New problem with large mesh

Metis work's fine for mesh now up to 110M tetrahedrals, but when I try on a mesh of above that I get the message that the file doesn't exist. I find the file in the directory and I have read it with a couple of other programs, so it is there and it seems to be fine.

Could this be a limitation of the operating system (Windows 2008R2 64bit) or is this metis?

Thanks,
SveinOlav

Copy of the screen:
x:\xxx\test160m>dir conn.*

24.02.2012 12:09 5 932 465 610 conn.dat
1 File(s) 5 932 465 610 bytes
0 Dir(s) 1 362 682 032 128 bytes free

x:\xxx\test160m>"x:/xxx/m2gmetis.exe" conn.dat conn.dat.dgraph -ncommon=3
File conn.dat does not exist!

RE: Why don't you try it on a

Why don't you try it on a linux machine and see if the problem exists there as well.