Hello Jeff,
I tried to add a "visit-cgns/package.py"file (attached) ; the trick is to have CGNS compiled conformly to the plugin.
When I use the CGNS headers from a previous install of VisIt done with build_visit, i.e. when I declare cgns as an external in ~/.spack/packages.yaml,
it works. But when I attempt to build CGNS myself, using the "cgns/package.py", I fail with message:
<<
[ 85%] Built target ICGNSDatabase
In file included from /tmp/cessenat/spack-stage/spack-stage-visit-cgns-3.1.4-htcbtb7kpukrwycpx5ficze3lvqoga5t/spack-src/src/databases/CGNS/avtCGNSFileReader.C:38:0:
/tmp/cessenat/spack-stage/spack-stage-visit-cgns-3.1.4-htcbtb7kpukrwycpx5ficze3lvqoga5t/spack-src/src/databases/CGNS/CGNSHelpers.C:22:15: error: variable or field 'PrintDataType' declared void
PrintDataType(DataType_t dt)
^~~~~~~~~~
>>
Probably the VisIt CGNS plugin developper should know how to alter "cgns/package.py" to become compatible.
Surprinsigly, on Ubuntu18.04, installing apt install libcgns-dev and using it as the external lib, it also compiled.
Olivier Cessenat