[CIG-SHORT] pylith CUBIT import

Matthew Knepley knepley at gmail.com
Tue May 27 18:48:48 PDT 2008


On Tue, May 27, 2008 at 8:20 PM, Christopher DiCaprio
<dicaprio at gps.caltech.edu> wrote:
> Pylith developers,
>
> After building pylith I realized that I had neglected to enable CUBIT mesh
> importing. So I installed the netcdf libraries and then in the pylith source
> directory ran:
>
> ./configure --enable-cubit ...

This is right.

> To make sure that make caught the changes I wanted I did:
>
> cd libsrc/meshio/
> touch  MeshIOCubit.cc
>
> Than I ran make and make install. But I still can't import a CUBIT mesh.
>> pylith dislocation.cfg
>  >>
> /home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/utils/PetscManager.py:47:initialize
>  -- petsc(info)
>  -- Initializing PETSc.
>  >>
> /home/dicaprio/local/pylith-build/lib/python2.4/site-packages/pylith/meshio/MeshIO.py:45:read
>  -- meshiocubit(info)
>  -- Reading finite-element mesh
> terminate called after throwing an instance of 'std::logic_error'
>  what():  Not configured to use CUBIT.
> [0]0:Return code = 0, signaled with Aborted
>
>
> I've attached the config.log and make.log files in this email.

This message comes from the modulesrc/meshio/meshio.pyxe.src file which did not
get rebuilt with the new flag. I recommend doing 'make clean' and then
rebuilding.

  Matt

> Thanks,
> Chris
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


More information about the CIG-SHORT mailing list