First ensure that the CVSROOT and CVS_RSH environment variables have been set
setenv CVSROOT ':ext:cvs@vnfe1.physics.ubc.ca:/home2/cvs'
setenv CVS_RSH '/usr/bin/ssh'
(it is recommended that you insert the above in your ~/.cshrc).
Now cd to some convenient working directory and check out the pamr distribution
% cvs co pamr
cvs server: Updating pamr
U pamr/.laliases
U pamr/KNOWN_ISSUES
.
.
.
U pamr/test/Makefile.in
U pamr/test/test1.c
cvs server: Updating pamr/wave
% cd pamr
% source ~matt/scripts/soPGI-myr
% configure --prefix=`pwd`
creating cache ./config.cache
checking for Unix flavour... LINUX
checking for gcc... /opt/gmpi.pgi/bin/mpicc
.
.
.
creating amrd/Makefile
creating examples/wave/Makefile
creating doc/Makefile
% make
echo; echo "Making in src test amrd examples/wave doc"
Making in src test amrd examples/wave doc
for f in src test amrd examples/wave doc; do \
.
.
.
ls -lt PAMR_ref.ps
-rw-r--r-- 1 matt choptuik 163052 Apr 21 16:03 PAMR_ref.ps
make[1]: Leaving directory ...
% cd examples/wave
% cp ~matt/templates/pamr-wave-myr.pbs .
% qsub pamr-wave-myr.pbs
Wait for batch job to finish.
% cd run_2d % ls *sdf wave_2d_L0_phi_tl2_0.sdf wave_2d_L0_phi_tl2_2.sdf wave_2d_L0_phi_tl2_1.sdf wave_2d_L0_phi_tl2_3.sdf % sdftodv *sdfThen select Merge All Registers in DV, enable AMR in the Options panel, and visualize the results.