Compiled SU2 with metis 64bit
Hello guys,
I used SU2-3.0.0 'eagle' My metis version is 5.1.0. But when I compile Metis 64bit (set IDXTYPEWIDTH to 64) .There are some compile errors occured below: ...... ...... ../src/geometry_structure.cpp(5371): error: argument of type "int *" is incompatible with parameter of type "idx_t={int64_t={l ong}} *" METIS_SetDefaultOptions(options); ^ ../src/geometry_structure.cpp(5373): error: argument of type "int *" is incompatible with parameter of type "idx_t={int64_t={l ong}} *" METIS_PartMeshNodal(&ne, &nn, eptr, elmnts, NULL, NULL, &nparts, NULL, NULL, &edgecut, epart, npart); ...... ...... The new version SU2 with an externals, but is also could not work well XD. And the version of metis is 5.0.2. So how could I use metis 5.1.0 64bit? |
Quote:
I think you should change su2 side 'int' into 'int64'. It's better su2 can have some kind mechanism to check metis version and adept accordingly. |
thanks
Quote:
Thanks a lot |
Quote:
src/geometry_structure.cpp If you are lucky, it may work. The change may cause other compile errors. Then you have more to fix. good luck. |
Quote:
|
All times are GMT -4. The time now is 11:53. |