[cig-commits] [commit] devel: Update README.md (48d1318)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Jun 12 10:49:18 PDT 2014


Repository : https://github.com/geodynamics/specfem3d

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/2b6a4170c869377737a04ca3c5561ac3f345d7f9...528a2a60bce0f50e5241e9be2897a78179d8a4a0

>---------------------------------------------------------------

commit 48d1318bbe25b6f66cd02b9dcf6209cc589da0cf
Author: emanuele casarotti <emanuele.casarotti at ingv.it>
Date:   Thu Jun 12 19:03:37 2014 +0200

    Update README.md


>---------------------------------------------------------------

48d1318bbe25b6f66cd02b9dcf6209cc589da0cf
 CUBIT_GEOCUBIT/README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/CUBIT_GEOCUBIT/README.md b/CUBIT_GEOCUBIT/README.md
index 49b13bf..fa107de 100644
--- a/CUBIT_GEOCUBIT/README.md
+++ b/CUBIT_GEOCUBIT/README.md
@@ -38,5 +38,51 @@ In particular, it is focused on the meshing requests of Specfem3D and it is help
 
 GeoCubit can be used inside the graphical interface of Cubit (i.e. as a Python object in the script tab) or as Unix command.
 
+## Requirements:
+
+- cubit 13+ (or Trelis 14+)
+- python
+ - MACOSX+CUBIT = python 2.5,  
+ - MACOSX+TRELIS = python 2.6, 
+ - linux+cubit 32/64bit = python 2.* 32/64bit
+- numpy 1.0+
+
+
+## Configuration:
+
+In order to have the possibility to import cubit in a **python script** you should set up the path for CUBIT/Trelis
+
+```
+export CUBITDIR=$CUBITHOME
+export CUBITLIB=$CUBITDIR/bin:$CUBITDIR/structure
+export PYTHONPATH=$PYTHONPATH:$CUBITDIR/bin:$CUBITDIR/structure
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUBITDIR/bin
+export PATH=$PATH:$CUBITDIR/bin
+```
+
+You could install GEOCUBIT
+
+`python setup.py install`
+
+or 
+
+```
+export PYTHONPATH=$PYTHONPATH:[YourGeocubitDir]
+export PATH=$PATH:[YourGeocubitDir]
+```
+
+
+  
+On MacOSX, if you prefer to load GEOCUBIT in the CUBIT/TRELIS **GUI**:
+
+CUBIT: `python2.5 setup.py install --install-lib=/Library/Python/2.5/site-packages/`
+
+TRELIS 14: `python2.6 setup.py install --install-lib=/Library/Python/2.6/site-packages/`
+
+
+
+
+
+
 See also Cubit (now also sold as "Trelis") here [cubit.sandia.gov]
 



More information about the CIG-COMMITS mailing list