[cig-commits] r11822 - long/3D/Gale/trunk

walter at geodynamics.org walter at geodynamics.org
Thu Apr 17 10:17:31 PDT 2008


Author: walter
Date: 2008-04-17 10:17:31 -0700 (Thu, 17 Apr 2008)
New Revision: 11822

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/INSTALL.TACC
Log:
 r2095 at earth:  boo | 2008-04-17 10:17:04 -0700
 Update INSTALL.TACC



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:2092
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:2095

Modified: long/3D/Gale/trunk/INSTALL.TACC
===================================================================
--- long/3D/Gale/trunk/INSTALL.TACC	2008-04-17 00:05:58 UTC (rev 11821)
+++ long/3D/Gale/trunk/INSTALL.TACC	2008-04-17 17:17:31 UTC (rev 11822)
@@ -1,5 +1,38 @@
-Tacc's machine lonestar includes petsc.  When you log in, you will be
-in tcsh.  Run
+Gale requires Petsc 2.3.2 (not 2.3.3), and TACC's lonestar has already
+compiled petsc for you.  However, there is a bug in the default
+implementation of mpi (MVAPICH 0.9.8), so you will have to use a newer
+version to compile your code.  Once those modules are loaded, the
+configure script should find everything that it needs.  Specifically,
+the commands
 
+  module load mvapich-gen2/0.9.9
   module load petsc/2.3.2
+  ./configure.py
+  make install
 
+should give you a working executable.
+
+When you submit a job, the default is to use the old mpi
+implementation when launching jobs.  To specify the new behaviour, you
+have to set the variable MPICH_HOME in your job script.  An example
+script file is below.  If this file is named "Yielding64_4", then you
+would submit it with the command
+
+  bsub < Yielding64_4
+
+
+
+#!/bin/bash
+                                  # first line specifies shell
+#BSUB -J Yielding64_4             #name the job "jobname"
+#BSUB -o Yielding64_4.o%J                 #output->   out.o&ltjobID>
+#BSUB -e Yielding64_4.e%J                 #error -> error.o&ltjobID>
+#BSUB -n 4 -W 1:00                #4 CPUs and 1hr
+#BSUB -q normal                   #Use normal queue.
+set echo                          #Echo all commands.
+cd $WORK                     #cd to work directory
+
+MPICH_HOME=/opt/MPI/intel9/mvapich-gen2/0.9.9 ibrun /home/teragrid/tg458568/gale/bin/Gale /home/teragrid/tg458568/gale/input/cookbook/yielding.xml --elementResI=64 --elementResJ=8 --maxTimeSteps=100 --outputPath="./yielding64_4"
+
+
+



More information about the cig-commits mailing list