LaGriT V3.108 July 2016

The was the Last version released under Open Distribution license LA-CC-2012-084 before Open Source.

This code was tagged in Mercurial as V3.108 and used to start open-source repository on github.

This includes work by summer student Mikita Yankouski with WIN development using Cygwin.

file: opsys.h
#ifdef win64
 #define FCV_UNDERSCORE
 #define SIZEOF_INT 4
 #define SIZEOF_LONG 8
 #define SIZEOF_VOIDP 8
 #define MAX_UINT 18446744073709551615.00 
#endif
         
#ifdef win64
 #define int_ptrsize long long

file: type_sizes.h
#ifdef __CYGWIN__
 #define FCV_UNDERSCORE
 #define SIZEOF_INT 4
 #define SIZEOF_LONG 4
 #define SIZEOF_VOIDP 8
#endif 

file: machine_header.h
#ifdef win64
 #define FCV_UNDERSCORE
 #define SIZEOF_INT 4
 #define SIZEOF_LONG 8
 #define SIZEOF_VOIDP 8
#endif

file: Makefile
ifeq ($(COMPILER), cygwin)
  SUFFC = _cygwin
  FC = /bin/gfortran
  CC = /bin/gcc
  CXX = /bin/c++
  FC90 = /bin/gfortran
  OSTAG = _cygwin
         
 FFLAGS = -fcray-pointer -fdefault-integer-8 -m64 -Dwin64
 FF90FLAGS = -fcray-pointer -fdefault-integer-8 -m64 -Dwin64
 CFLAGS = -m64 -Dwin64 

LaGriT V3.106 August 2015

Major update to write PFLOTRAN type option stor file and new syntax using Exodus II 6.9 libraries.

Note: The LaGriT run-time banner shows V3.2 with compile date Aug 2015, even though it is actually a branch from V3.106.

Enhancements:

   dump / pflotran / root_name / cmo_name
   dump / pflotran / root_name / cmo_name / nofilter_zero
           http://sourceforge.net/projects/exodusii/files/
           Exodus II 6.09
           HDF5 version 1.8.6
           netcdf-4.1.3
        Exodus 6.09:
        <               :api_version = 6.09f ;
        <               :version = 6.09f ;
        ---
        <  eb_prop1 = 1, 2, 3 ;

        Exodus 5.22a:
                       :api_version = 5.22f ;
                       :version = 5.22f ;
        ---
          eb_prop1 = 10000, 20000, 30000 ;

These issues were fixed:

These are the external libs used with LaGriT V3.1 As of November 2012
         http://sourceforge.net/projects/exodusii/files/
         Exodus II 5.22a
         HDF5 version 1.8.6
         netcdf-4.1.3
         
Error in Library inclusion order in the following places:
        1. /n/swdev/src/exodusii/exodus-6.09/exodus/cbind/CMakeList.txt 
            Line 284
        2. /n/swdev/src/exodusoo/exodus-6.09/exodus/forbind/CMakeList.txt
            Line 62
            
Solution was to switch ${HDF5_LIBRARY with ${HDF5HL_LIBRARY
    
Linux RHEL Exodus 5 libraries were built in /n/swdev/LAGRIT/VERS_3.100_012_NOV09/build_lagrit/exodus

Build executable for linux:
gfortran -O -Dlinx64 -static -fcray-pointer -fdefault-integer-8 -fno-sign-zero -o mylagrit lagrit_main.o lagrit_fdate.o lagrit_lin64_o_gf4.5.a /n/swdev/LAGRIT/VERS_3.100_012_NOV09/build_lagrit/lg_util/lib/util_lin64_o_gfort4.5.a -L /n/swdev/LAGRIT/VERS_3.100_012_NOV09/build_lagrit/exodus/lin64/lib -lexoIIv2for -lexodus -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -lstdc++


LaGriT V3.101 November 2013

Note for DFNWorks applications using LaGriT, this version does NOT have the PFLOTRAN file option. This version of code uses ExodusII 5 routine calls. These are replaced with ExodusII 6 in newer versions.

V3.103 is last version lagrit code using Exodus 5 libs

V3.104 is new version lagrit code using Exodus 6 libs

Enhancements:

These issues were fixed:


LaGriT V3.100 November 2012

Major changes to most parts of the code to enable 64 bit compilation and added external ExodusII 5 libraries to write Exodus basic mesh files. This includes work by Quan Bui for ExodusII node sets and element sets.

Enhancements:

        Syntax:
          dump / exo / ifile / cmoname

          Dump exodus files with/without facesets, fast/slow options:
          dump / exo / ifile / cmoname / facesets / on
          dump / exo / ifile / cmoname / facesets / off
          dump / exo / ifile / cmoname / facesets / on file1,file2,...filen
          dump / exo / ifile / cmoname / facesets / off file1,file2,...filen

          write exo pset and eltsets:
          dump / exo / filenam.exo / cmoname / psets / eltsets /
          dump/exo/mesh_07.exo/mo7//eltsets/ &
             facesets bc01.faceset &
             bc02.faceset bc03.faceset bc04.faceset &
             bc05.faceset bc08.faceset bc09.faceset
          dump/exo/mesh_06.exo/mo6/psets// &
             facesets bc01.faceset &
             bc02.faceset bc03.faceset bc04.faceset &
             bc05.faceset bc08.faceset bc09.faceset
   Syntax:
          sort / line_graph / cmo / ascending  descending / [key] / [nodes/elements]

These issues were fixed:


Changesets tracked in Mercurial/Trac on ancho.lanl.gov/lagrit