Index of /crcd/kriz/modules/module02/ARCHIVE/MOD_PVWAVE
Name Last modified Size Description
Parent Directory 27-Dec-2000 13:57 -
CloseZBuff.pro 17-Oct-2000 09:38 1k
OpenZBuff.pro 17-Oct-2000 09:38 1k
create_e3.pro 02-Jun-2001 14:56 1k
create_g23.pro 02-Jun-2001 14:56 1k
create_nu32.pro 02-Jun-2001 14:57 1k
e3.pro 17-Oct-2000 15:37 3k
g23.pro 17-Oct-2000 15:38 3k
nu32.pro 17-Oct-2000 15:38 4k
polar.dat 17-Oct-2000 13:56 1k
polar.f 03-Jun-2001 23:14 15k
polar.html 21-Oct-2000 12:25 1k
polar.sh 30-Apr-2001 09:07 1k
polar.x 03-Jun-2001 23:14 59k
remove_excess_files.sh 01-Jan-2001 17:24 1k
z_README_Compile_pol..> 30-Apr-2001 09:01 1k
---- This is the README file for ../module02/ARCHIVE/MOD_PVWAVE ----
This is a working archive directory where all results are confirmed
prior to making this into an interactive NPIB interactive module by
creating results in this directory. Instructions for creating results
are outlined below.
All programs in this directory work so that the viewer can download,
compile and run this programs on their computers. This section is
divided into five sections:
1. Compile polar.f and create the executable polar.x
- $FC $FFLAGS polar.f -o polar.x $LINK_FNL (If IMSL libs are used)
- f77 polar.f -o polar.x (If subroutine inv(a,n,b) is used)
NOTE: polar.x is spawned in the PV-WAVE procedure files
3) Plot results using existing PV-Wave procedure files
- % wave create_e3
- % wave create_g23
- % wave create_nu32
4) View results in polar.html
5) Cleanup files in this directory
- % remove_excess_files.sh
---------------------------------------------------------------------
CREATION OF INTERACTIVE NPIB1.5 INTERFACE FOR THIS MODULE
Once verified, these working programs are copied to the NPIB directory
/www/jwave/applets98/Receiver/commands/polar_.d except for *.jpg,
*.byt *.out, *.DAT, *.sh such that the only remaining files in the
polar_.d directory are: *.pro, *.f, *.x, and polar.html.
DO NOT COPY README file from the MOD_PVWAVE directory to polar_.d.
DO NOT DELETED *.sh files FROM the MOD_PVWAVE directory.
The remove_excess_files.sh shell script file will remove the
appropriate files from MOD_PVWAVE for archiving.
A shell script file named "polar_" recreates results in a unique
directory located in http://www.jwave.vt.edu/output/"app_date-time"
/www/jwave/applets98/Receiver/commands/polar_:
-------------------------------------------------------------------
#!/bin/csh
cp /www/jwave/applets98/Receiver/commands/polar_.d/* $1
cd $1
source /usr/local/vni/CTT3.0/ctt/bin/cttsetup.csh
source /usr/local/vni/wave/bin/wvsetup
wave create_e3 > & e3_foobar
wave create_g23 > & g23_foobar
wave create_nu32 > & nu32_foobar
rm e3_foobar g23_foobar nu32_foobar
rm *.x
rm *.byt
rm *legend.jpg
rm *.SAVE
exit 0
----------------------------------------------------------------
CREATION* OF INTERACTIVE NPIB1.6 INTERFACE FOR THIS MODULE
Is the same as creating NPIB1.5 interface except the "polar_" shell
script file is replaced with the npib-script file "polar.npib" and
both the polar_.d directory and polar.npib file are located within
the users public_html directory at ~USER_NAME/public_html/npib/polar/.
The polar.npib file uses ssh commands and unique "npib-commands" to
transfer files to the remote computer and coordinate execution at
remote and local(npib-server) computers. For NPIB1.6 the polar_.d
directory contains the same files except remote and local shell script
files are included in the NPIB1.6 polar_.d directory that are used to
execute program and procedures at remote and local computers. A more
complete description of the npib-commands is given in the NPIB1.6
Users-Guide.
~rkriz/public_html/npib/polar/polar.npib
-----------------------------------------------------------
lrun /export/home/rkriz/public_html/npib/polar/copypolar.sh
sput $polar_remote
srun $polar_remote ./remotepolar.sh
sget $polar_remote
lrun ./localpolar.sh
shell script files in ~rkriz/public_html/npib/polar/polar_.d
------------------------------------------------------------
#!/bin/csh
#------------------ remotepolar.sh --------------------
polar.x
exit 0
#!/bin/csh
#-------------------- localpolar.sh -------------------
source /usr/local/vni/wave/bin/wvsetup
wave create_e3 > & e3_foobar
wave create_g23 > & g23_foobar
wave create_nu32 > & nu32_foobar
rm e3_foobar g23_foobar nu32_foobar
rm *.x
rm *.byt
rm *legend.jpg
exit 0
----------------------------------------------------------------------
* Motivation for creating NPIB1.6: With NPIB1.6 all files are located
within the users home directory. NPIB1.5 required that the user copy
and access files in a variety of different locations on the server.
---------------------------------------------------------------------
Ronald D. Kriz, Virginia Tech, 06-20-01