[CIG-SHORT] Adding to the libraries

Ehsan Haghighat ehsanh at mit.edu
Fri Aug 4 08:19:18 PDT 2017


I built once from the source. After that, I added a new material to libsrc/modulesrc/pylith, similar to other materials. Then I just call “make pylith” form “build/pylith” folder. Where should I call ‘make’ and ‘make install”? 



> On Aug 4, 2017, at 11:15 AM, Matthew Knepley <knepley at rice.edu> wrote:
> 
> On Fri, Aug 4, 2017 at 8:39 AM, Ehsan Haghighat <ehsanh at mit.edu <mailto:ehsanh at mit.edu>> wrote:
> Hi,
> 
> I would like to extended/add some libraries to the PyLith, for instance a new material. Searching to find out how another material is implemented, I realized I need to run automake again to correctly reflect changes in Makefile.am. What about the materials_wrap.cxx? How this can be recreated? I am using the “swig -python materials.i”, however the generated wrapper looks very different from the original one. Can you please confirm the steps I am taking? Is there any documents to describe the steps to add libraries to the pylith.
> 
> If you want to do new development, you should be building from source. Are you? If so, you just need to do 'make' and 'make install'.
> 
>    Matt
>  
> Thanks,
> Ehsan
> 
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short <http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short>
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20170804/f593e31b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1846 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20170804/f593e31b/attachment-0001.bin>


More information about the CIG-SHORT mailing list