Changeset 5272e0d


Ignore:
Timestamp:
06/15/10 09:29:31 (14 years ago)
Author:
Jan Meinke <j.meinke@…>
Branches:
master
Children:
281b862
Parents:
7137e5d
git-author:
Jan H. Meinke <meinke@…> (05/31/10 22:26:20)
git-committer:
Jan Meinke <j.meinke@…> (06/15/10 09:29:31)
Message:

Added ppybind target to Makefile

Added a new target for creating Python bindings that take advantage so enyshe_p
to the Makefile.
Commented out one call to the log file that broke the compile.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r7137e5d r5272e0d  
    130130
    131131# Build the python bindings
     132# The following line includes the minimum set of files needed to fullfill all dependencies.
     133#
     134# f2py -c -m smmp basic_smmp.pyf init_molecule.f init_energy.f bldmol.f nursvr.f pdbread.f redvar.f redseq.f outvar.f redstr.f enysol.f setmvs.f mklist.f getmol.f helix.f contacts.f dihedr.f setvar.f init_lund.f90 rmsdfun.f addend.f difang.f
    132135pybind: $(FILES)
    133136        #./rmexclpoint.py $(FILES)
    134137#       f2py -c -m smmp min_smmp.pyf $(FILES) --fcompiler=gnu95
    135138        #./restoreexclpoint.py $(FILES)
     139
     140# Compile bindings that include enyshe_p
     141ppybind: basic_smmp.pyf init_molecule.f init_energy.f bldmol.f nursvr.f pdbread.f redvar.f redseq.f outvar.f redstr.f enysol.f setmvs.f mklist.f getmol.f helix.f contacts.f dihedr.f setvar.f init_lund.f90 rmsdfun.f addend.f difang.f energy.f enyshe_p.f enyflx.f enylun.f eninteract.f enyreg.f eyabgn.f esolan.f gradient.f twister.f opesol.f opeflx.f opereg.f opeshe.f utilities.f
     142        f2py -c -m smmp basic_smmp.pyf init_molecule.f init_energy.f bldmol.f nursvr.f pdbread.f redvar.f redseq.f outvar.f redstr.f enysol.f setmvs.f mklist.f getmol.f helix.f contacts.f dihedr.f setvar.f init_lund.f90 rmsdfun.f addend.f difang.f energy.f enyshe_p.f enyflx.f enylun.f eninteract.f enyreg.f eyabgn.f esolan.f gradient.f twister.f opesol.f opeflx.f opereg.f opeshe.f utilities.f -I/usr/lib/mpi/gcc/openmpi/include -I/usr/lib/mpi/gcc/openmpi/lib -L/usr/lib/mpi/gcc/openmpi/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl  -lutil -lm -ldl
     143
    136144
    137145newpybind: $(FILES)
  • init_molecule.f

    r7137e5d r5272e0d  
    100100         l=iendst(varfil)
    101101         if (l.gt.0.and.varfil.ne.' ') then
    102             write (logString, '(1x,a,/)') varfil(1:l)
     102!            write (logString, '(1x,a,/)') varfil(1:l)
    103103            lunvar=13
    104104
Note: See TracChangeset for help on using the changeset viewer.