Closed platipodium closed 1 year ago
Try to use the develop_build branch (soon to be merged with develop). Build scripts have been updated (scripts/*) to accommodate ParMETIS builds for both Intel and GNU.
Please use develop_build branch (soon to be merged with develop). See issue https://github.com/noaa-ocs-modeling/CoastalApp/issues/138 for more details on ParMETIS compilation issues. Use scripts/download_parmetis.sh to download ParMETIS.
While trying this, I noticed that on macOS it fails with
/Users/Lemmen/devel/noaa/CoastalApp-dev/thirdparty_open/parmetis/GKlib/graph.c: In function 'gk_graph_Read':
/Users/Lemmen/devel/noaa/CoastalApp-dev/thirdparty_open/parmetis/GKlib/graph.c:297:26: error: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'ssize_t *' {aka 'long int *'} [-Werror=format=]
297 | if (fscanf(fpin, "%"SCNd64" %"SCNd64, &i, &i) != 2)
| ^~~ ~~
| |
| ssize_t * {aka long int *}
In file included from /Users/Lemmen/devel/noaa/CoastalApp-dev/thirdparty_open/parmetis/GKlib/./gk_arch.h:43,
from /Users/Lemmen/devel/noaa/CoastalApp-dev/thirdparty_open/parmetis/GKlib/./GKlib.h:23,
from /Users/Lemmen/devel/noaa/CoastalApp-dev/thirdparty_open/parmetis/GKlib/graph.c:10:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/inttypes.h:157:53: note: format string is defined here
157 | # define SCNd64 __SCN_64_LENGTH_MODIFIER__ "d"
I tested with the develop_build
branch and it worked on femto.
Also tested on linux with the develop_build
branch and it worked.
Thanks for your clarification, please merge speedily into develop
so we can pull the changes downstream
@pvelissariou1
results in