The package does not build with new NetCDF 4.9.3:
/build/trilinos/src/Trilinos-trilinos-release-16-0-0/packages/seacas/libraries/exodus/src/ex_put_prop.c: In function ‘ex_put_prop’:
/build/trilinos/src/Trilinos-trilinos-release-16-0-0/packages/seacas/libraries/exodus/src/ex_put_prop.c:246:54: error: ‘_FillValue’ undeclared (first use in this function); did you mean ‘NC_FillValue’?
246 | if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1, vals)) != NC_NOERR) {
| ^~~~~~~~~~
| NC_FillValue
/build/trilinos/src/Trilinos-trilinos-release-16-0-0/packages/seacas/libraries/exodus/src/ex_put_prop.c:246:54: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [packages/seacas/libraries/exodus/CMakeFiles/exodus.dir/build.make:2333: packages/seacas/libraries/exodus/CMakeFiles/exodus.dir/src/ex_put_prop.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Pinned Comments
MartinDiehl commented on 2020-06-05 12:05 (UTC)
@hacksd: I had a look at the gtest issue, and I assume the following is happening: Trilinos brings its own version of gtest, hence the conflict with gtest. However, during build an existing gtest installation is required (in my case, the already installed trilinos package provides it). I'll figure out if this can be solved, but since disabling gtest works it's not on my list of priorities
I have disabled pyTrilinos in this package to have no dependency on python or python2. From https://trilinos.github.io/pytrilinos_faq.html, it seems that python3 is not supported. I also remember vaguely that even python2 (SWIG) caused problems. Also note that current gtest depends on python2.
Once gtest 1.10 (currently in testing) is available, I will see if trilinos works with a system-wide gtest.