[cig-commits] r19626 - in seismo/3D/FAULT_SOURCE/branches/new_fault_db: . utils
ampuero at geodynamics.org
ampuero at geodynamics.org
Tue Feb 14 12:16:57 PST 2012
Author: ampuero
Date: 2012-02-14 12:16:57 -0800 (Tue, 14 Feb 2012)
New Revision: 19626
Added:
seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_mesher
seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_solver
Modified:
seismo/3D/FAULT_SOURCE/branches/new_fault_db/README_SPECFEM3D_FAULT
Log:
fram scripts
Modified: seismo/3D/FAULT_SOURCE/branches/new_fault_db/README_SPECFEM3D_FAULT
===================================================================
--- seismo/3D/FAULT_SOURCE/branches/new_fault_db/README_SPECFEM3D_FAULT 2012-02-14 18:11:54 UTC (rev 19625)
+++ seismo/3D/FAULT_SOURCE/branches/new_fault_db/README_SPECFEM3D_FAULT 2012-02-14 20:16:57 UTC (rev 19626)
@@ -25,17 +25,25 @@
Post-processing and visualization
Running on Fram (the Caltech GPS cluster)
-0. DOWNLOAD
---------
-Download the package with the following Subversion comand:
+0. DOWNLOAD AND UPDATES
+-----------------------
+
+To download the package for the first time run the following Subversion comand:
+
>> svn checkout http://geodynamics.org/svn/cig/seismo/3D/FAULT_SOURCE/branches/new_fault_db SPECFEM3D
This will create a copy of the code in a directory called SPECFEM3D.
+Subsequently, to download new version of the package:
+ >> cd ~/SPECFEM3D
+ >> svn update
+This will update the package: it will replace files by new ones, add new files and remove deprecated
+files if needed. Files that you generated and were not originally in the package will not be touched.
+
I. INSTALLATION
----------------
@@ -115,8 +123,12 @@
>> cd ~/SPECFEM3D/CUBIT
>> cubit
In CUBIT's menu "Tools", select "Play Journal File" and select a script file,
- for instance EXAMPLES/splay_faults/splay_faults.py
+ for instance:
+ EXAMPLES/splay_faults/splay_faults.py
+ To run CUBIT from different working directories it is convenient to create the
+ environment variable PYTHONPATH (or add to an existing one) with the path SPECFEM3D/CUBIT
+
This creates several mesh files in directory CUBIT/MESH/:
absorbing_surface_file_* (5 files)
free_surface_file
@@ -141,7 +153,7 @@
and specify the path accordingly when executing xdecompose_mesh_SCOTCH.
-4. Edit the file DATA/Par_file:
+4. Edit the file DATA/Par_file: (copy an example here, see III.2)
LOCAL_PATH = should be the path to DATABASES_MPI
NPROC = number of processors. The same as the number of partitions in SCOTCH (step 3).
@@ -373,7 +385,7 @@
VI. RUNNING ON FRAM (THE CALTECH GPS CLUSTER)
---------------------------------------------
-Add this to you ~/.bash_profile file:
+Before step I.3 add this to you ~/.bash_profile file:
# Load modules:
module load intel/intel-12
@@ -382,7 +394,7 @@
# Set huge stack size:
ulimit -s unlimited
-Compiler settings:
+Compiler settings for configure:
FC = ifort
MPIFC = mpiifort
Added: seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_mesher
===================================================================
--- seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_mesher (rev 0)
+++ seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_mesher 2012-02-14 20:16:57 UTC (rev 19626)
@@ -0,0 +1,12 @@
+#!/bin/bash -v
+
+
+cd $PBS_O_WORKDIR
+
+
+current_pwd=$PWD
+
+mpirun $PWD/xgenerate_databases
+
+
+
Added: seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_solver
===================================================================
--- seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_solver (rev 0)
+++ seismo/3D/FAULT_SOURCE/branches/new_fault_db/utils/go_solver 2012-02-14 20:16:57 UTC (rev 19626)
@@ -0,0 +1,12 @@
+#!/bin/bash -v
+
+
+cd $PBS_O_WORKDIR
+
+
+current_pwd=$PWD
+
+mpirun $PWD/xspecfem3D
+
+
+
More information about the CIG-COMMITS
mailing list