Changeset ef727a6


Ignore:
Timestamp:
08/26/16 20:42:36 (8 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master, pympi
Children:
63c7ac7
Parents:
bd84570
git-author:
Hal Finkel <hfinkel@…> (08/26/16 20:42:36)
git-committer:
Hal Finkel <hfinkel@…> (08/26/16 20:42:36)
Message:

Some python cleanups and an example

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • GNUmakefile

    rbd84570 ref727a6  
    146146        $(CXX) $(FE_CFLAGS) $(FE_SHARED) -o $@ $^ 
    147147 
    148 $(FEDIR)/gio.py: python/gio.py 
    149         cp -f $< $@ 
    150  
    151148$(FEDIR)/GenericIOSQLite.so: $(FEDIR)/GenericIOSQLite.o $(FEDIR)/GenericIO.o $(FE_BLOSC_O) 
    152149        $(CXX) $(FE_CFLAGS) $(FE_SHARED) -o $@ $^ 
     
    191188        $(MPICXX) $(MPI_CFLAGS) -o $@ $^  
    192189 
    193 frontend-progs: $(FEDIR)/GenericIOPrint $(FEDIR)/GenericIOVerify $(FEDIR)/libpygio.so $(FEDIR)/gio.py 
     190frontend-progs: $(FEDIR)/GenericIOPrint $(FEDIR)/GenericIOVerify $(FEDIR)/libpygio.so 
    194191fe-progs: frontend-progs 
    195192 
  • python/gio.py

    rbd84570 ref727a6  
    2828#  
    2929#                                  DISCLAIMER 
    30 # THE SOFTWARE IS SUPPLIED “AS IS” WITHOUT WARRANTY OF ANY KIND.  NEITHER THE 
     30# THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND.  NEITHER THE 
    3131# UNTED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT OF ENERGY, NOR 
    3232# UCHICAGO ARGONNE, LLC, NOR ANY OF THEIR EMPLOYEES, MAKES ANY WARRANTY, 
     
    4444#Define where the library is and load it 
    4545_path = os.path.dirname('__file__') 
    46 libpygio = ct.CDLL(os.path.abspath('libpygio.so')) 
     46libpygio = ct.CDLL(os.path.abspath('../frontend/libpygio.so')) 
    4747#we need to define the return type ("restype") and 
    4848#the argument types 
Note: See TracChangeset for help on using the changeset viewer.