[Trilinos-Users] [EXTERNAL] Trilinos Compilation Error on Linux

Sjaardema, Gregory D gdsjaar at sandia.gov
Tue Jun 7 12:13:31 EDT 2016


I have reported this issue to the NetCDF group.  Not sure when / if they will fix, but at the ealiest it would appear in version 4.4.1.
..Greg

--
"A supercomputer is a device for turning compute-bound problems into I/O-bound problems”

From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Sai P Uppati <uppatis at utexas.edu>
Date: Saturday, June 4, 2016 at 5:37 PM
To: "trilinos-users at trilinos.org" <trilinos-users at trilinos.org>, "trilinos-users at software.sandia.gov" <trilinos-users at software.sandia.gov>
Subject: [EXTERNAL] [Trilinos-Users] Trilinos Compilation Error on Linux

Hi,

I'm trying to compile Trilinos (latest version: GitHub version) on a Linux Red Hat distribution, and I'm getting a compilation error regarding netcdf.h:

Building C object packages/seacas/libraries/supes/CMakeFiles/supes.dir/ext_lib/exmemy.c.o
/home/de566876/source_codes/Trilinos/packages/seacas/libraries/exodus/src/ex_close.c(50): warning #14: extra text after expected end of preprocessing directive
  #include "exodusII.h"     // for ex_err, exerrval, etc
                            ^

In file included from /home/de566876/source_codes/Trilinos/packages/seacas/libraries/exodus/include/exodusII.h(46),
                 from /home/de566876/source_codes/Trilinos/packages/seacas/libraries/exodus/src/ex_add_attr.c(35):
/home/de566876/projects/netcdf/include/netcdf.h(1951): error: expected a declaration
    //EXTERNL int nc_finalize();
    ^

[  5%] In file included from /home/de566876/source_codes/Trilinos/packages/seacas/libraries/exodus/include/exodusII.h(46),
                 from /home/de566876/source_codes/Trilinos/packages/seacas/libraries/exodus/src/ex_close.c(50):
/home/de566876/projects/netcdf/include/netcdf.h(1951): error: expected a declaration
    //EXTERNL int nc_finalize();
    ^

Does this error have to do with the netcdf build (version 4.4.0, which passed all the tests in the test suite by the way)?

Sincerely,
Sai Uppati


ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160607/f3245935/attachment-0001.html>


More information about the Trilinos-Users mailing list