[Trilinos-Users] Building SEACAS questions.

Gregory Sjaardema gdsjaar at sandia.gov
Thu Feb 23 08:13:57 MST 2012

On 2/23/12 7:03 AM, Meyer, Hal wrote:
> I would like to build just the seacas tools.
> I have been messing around with this for a while and thought
> I could save some time by asking.
> What are the basic cmake commands to build the SEACAS tools?
> What versions of nedcdf4, hdf5 and szip are required?
> What other TPL are needed?
> Thanks,
> Hal Meyer
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
You should use the latest netcdf which is netcdf-4.1.3.
I think that this netcdf recommends the use of the latest hdf5 which is 

You will have to modify some #defines in netcdf.h -- See 

When you build netcdf, I typically use the following configure flags 
which disable functions not used by exodus and eliminates the need for 
some external libraries:

     --enable-netcdf-4 --disable-f77 --disable-f90 --enable-shared 
--disable-fsync --disable-dap --disable-cdmremote

For Trilinos cmake build, you will need

  * -D TPL_Netcdf_INCLUDE_DIRS:PATH=${NETCDF}/include

The biggest issue that you will encounter is that the Trilinos SEACAS 
version is typically not built with the netcdf4 (hdf5 use) enabled, so 
the addition of the extra hdf5 libraries on the link lines is not 
automated yet. I have talked to Brent and Jim about this, but we haven't 
yet worked on it (it is an optional story in the current sprint...)

Another option that may be easier for you at this time is to build the 
SEACAS tools out of the SEACAS distribution at 
http://jal.sandia.gov/SEACAS/download.html and grab the "seams.tar.gz"   
This also includes the modified netcdf libraries and the hdf5 library.

Let me know if you have any issues.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120223/d410dbfe/attachment.html 

More information about the Trilinos-Users mailing list