local                                        source ('/users' files copied on 9/19/2014 from colorado)
=================================================================
4-1chef/adapt.inp                            /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/1PFPP-phPA/4-1-Chef-Tet-PartLocal-Scratch/adapt.inp
4-1chef/log.ref                              reference output
geom.spj                                     /users/mrasquin/Models/CrossFlowTest-2014/Simplified_SPJ_file/geom.spj
TwoCube.xmt_txt                              /users/mrasquin/Models/CrossFlowTest-2014/TwoCube.xmt_txt
mesh.sms                                     /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/mesh.sms
4-1chef/4posixToSync/IO.O2N.input            /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/1PFPP-phPA/4-1-Chef-Tet-PartLocal-Scratch/IO.O2N.input
4-1chef/4posixToSync/log.ref                 reference output
4-1chef/4posixToSync/4solve/solver.inp       /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/SyncIO-phPA/Runs-Tet/solver.inp
4-1chef/4posixToSync/4solve/input.config     /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/SyncIO-phPA/Runs-Tet/input.config
4-1chef/4posixToSync/4solve/phasta_4.log_ref /users/mrasquin/Models/CrossFlowTest-2014/Mixed-Parallel1-parasolid-9.0-140906/2-A0/SyncIO-phPA/Runs-Tet/phasta_4.log_ref
4-1chef/4posixToSync/4solve/log.ref          reference output

Setup
=======================
# build the scorec coreSim stack 
## see https://github.com/SCOREC/core-sim/wiki/Building-on-SCOREC-systems
## you must pass '-DSIM_PARASOLID=ON' and '-DPCU_COMPRESS=ON' to cmake
## after make completes build the phasta pre-processor 'chef'
make chef

#build the phasta stack
cp -r /lore/cwsmith/develop/phasta.tar.gz .
tar xzf phasta.tar.gz
cd phasta
source setEnv.sh
cd mrPhasta
mkdir build
cd build
../../doConfigureGccMpich
make

Run
=======================
source /path/to/coreSim/env-scorec.sh
cd 4-1chef
/path/to/coreSim/build/test/chef &> log
cat log
#This should create a 4-procs_case directory containing the phasta input files
# in the posix format.
cd 4posixToSync
mpirun -np 4 /path/to/phasta/mrPhasta/build/bin/converterO2N &> log
cat log
#This should create a 4-procs_case-SyncIO-1 directory containing phasta input
# files in the 'syncoIO' format.
cd 4solve
#This takes a minute or so to run
mpirun -np 4 /path/to/phasta/mrPhasta/build/bin/phastaIC.exe &> log
cat log
#This should create 4-procs_case/restart-dat.[4|8|12|16|20].1 files (and some
# others).

