You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
During compilation I got the following error message. The METIS version is 5.1.0. I think static_casting might solve the problem but instead of casting each variable I would like to know if you know a quick fix and which version of METIS you used for compilation.
src/geo.cpp: In member function ‘void geo::partitionMesh()’:
src/geo.cpp:2468:84: error: cannot convert ‘int*’ to ‘idx_t* {aka long int*}’ for argument ‘1’ to ‘int METIS_PartMeshDual(idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, real_t*, idx_t*, idx_t*, idx_t*, idx_t*)’
&ncommon,&nproc,NULL,options,&objval,epart.data(),npart.data());
^
src/geo.cpp: In member function ‘void geo::getMpiPartitions()’:
src/geo.cpp:2620:84: error: cannot convert ‘int*’ to ‘idx_t* {aka long int*}’ for argument ‘1’ to ‘int METIS_PartMeshDual(idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, real_t*, idx_t*, idx_t*, idx_t*, idx_t*)’
&ncommon,&nproc,NULL,options,&objval,epart.data(),npart.data());
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
During compilation I got the following error message. The METIS version is 5.1.0. I think
static_cast
ing might solve the problem but instead of casting each variable I would like to know if you know a quick fix and which version of METIS you used for compilation.The text was updated successfully, but these errors were encountered: