Changes between Version 10 and Version 11 of boccaTestProj


Ignore:
Timestamp:
11/02/10 05:55:30 (9 years ago)
Author:
muszala
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • boccaTestProj

    v10 v11  
    112112instantiate boccaSurveyor.matMulDriver boccaSurveyor_matMulDriver 
    113113 
    114 #boccaSurveyor.matMulDriverPython# 
    115  
    116 #~#repository get-global boccaSurveyor.matMulDriverPython 
    117 #~#instantiate boccaSurveyor.matMulDriverPython boccaSurveyor_matMulDriverPython 
    118  
    119114connect boccaSurveyor_matMulDriver matMulPort boccaSurveyor_matMul matMulPort 
    120115 
     
    126121 * Create a wrapper shell script that calls cobalt-mpirun (needed when you execute scripts on surveyor): 
    127122{{{ 
    128  
    129123#!/bin/sh 
    130124 
    131 cobalt-mpirun -np 1 -env "LD_LIBRARY_PATH=/home/muszala/ccaToolBuild/install/ccaTools/lib:\ 
    132 /home/muszala/ccaToolBuild/install/ccaTools/lib/ccafe-0.8.8:\ 
    133 /home/muszala/ccaToolBuild/install/libtool-2.4/lib:\ 
    134 /home/muszala/ccaToolBuild/install/babel/lib:\ 
     125cobalt-mpirun -np 1 -env "LD_LIBRARY_PATH=/gpfs/home/muszala/ccaToolBuild/install/ccaTools/lib:\ 
     126/gpfs/home/muszala/ccaToolBuild/install/ccaTools/lib/ccafe-0.8.8:\ 
     127/gpfs/home/muszala/ccaToolBuild/install/babel/lib:\ 
     128/gpfs/home/muszala/ccaToolBuild/install/libtool-2.4/lib:\ 
    135129/bgsys/drivers/ppcfloor/gnu-linux/lib:\ 
    136130/bgsys/drivers/ppcfloor/gnu-linux/bin/python \ 
    137 PYTHONPATH=/home/muszala/ccaToolBuild/install/babel/lib/python2.6/site-packages:\ 
    138 /soft/apps/python/python-2.6-cnk-gcc/numpy-1.3.0/lib/python2.6/site-packages \ 
    139 CCAFE_USE_MPI=0" \ 
     131PYTHONPATH=/gpfs/home/muszala/ccaToolBuild/install/babel/lib/python2.6/site-packages:\ 
     132/soft/apps/python/python-2.6-cnk-gcc/numpy-1.3.0/lib/python2.6/site-packages:\ 
     133/gpfs/home/muszala/ccaToolBuild/install/ccaTools/lib/python2.6/site-packages:\ 
     134/gpfs/home/muszala/ccaToolBuild/boccaSurveyor/install/lib/python2.6/site-packages \ 
     135SIDL_DEBUG_OPEN=1" \ 
    140136/home/muszala/ccaToolBuild/install/ccaTools/bin/ccafe-batch \ 
    141 --ccafe-mpi no --ccafe-rc /home/muszala/ccaToolBuild/boccaSurveyor/components/tests/driver.rc 
     137--ccafe-mpi yes --ccafe-rc /home/muszala/ccaToolBuild/boccaSurveyor/components/tests/driver.rc 
     138#--ccafe-mpi yes --ccafe-rc /home/muszala/ccaToolBuild/boccaSurveyor/components/tests/instantiation.gen.rc 
    142139 
    143140}}} 
     
    155152}}} 
    156153 
    157  * Running a simulation (Python driver calling C++ implementation).  First I slightly modified driver.rc (also mentioned above): 
     154 * Running a simulation (Python driver calling C++ implementation).  First I slightly modified driver.rc : 
    158155{{{ 
    159 In progress...difficulties encountered. 
     156#!ccaffeine bootstrap file.  
     157# ------- don't change anything ABOVE this line.------------- 
     158path set /gpfs/home/muszala/ccaToolBuild/boccaSurveyor/install/share/cca 
     159 
     160#boccaSurveyor.matMul# 
     161 
     162repository get-global boccaSurveyor.matMul 
     163instantiate boccaSurveyor.matMul boccaSurveyor_matMul 
     164 
     165#boccaSurveyor.matMulDriver# 
     166 
     167#~#repository get-global boccaSurveyor.matMulDriver 
     168#~#instantiate boccaSurveyor.matMulDriver boccaSurveyor_matMulDriver 
     169 
     170#boccaSurveyor.matMulDriverPython# 
     171 
     172repository get-global boccaSurveyor.matMulDriverPython 
     173instantiate boccaSurveyor.matMulDriverPython boccaSurveyor_matMulDriverPython 
     174 
     175connect boccaSurveyor_matMulDriverPython matMulPort boccaSurveyor_matMul matMulPort 
     176#~#connect boccaSurveyor_matMulDriver matMulPort boccaSurveyor_matMul matMulPort 
     177 
     178#~#go matMulDriver run 
     179go matMulDriverPython run 
     180 
     181quit 
    160182 
    161183}}} 
     
    164186>>qsub --mode script -A cca-tools -t 5 -n 1 -O boccaTest ./run.sh 
    165187}}} 
     188 
     189{{{ 
     190>>more boccaTest.output  
     191in Python driver  
     192matMulPort.doSomeCalc(5.0)  25.0 
     193process group 5185 has completed 
     194}}}