#!/bin/csh -f #TEST-PROGRAM sander #TEST-DESCRIP TO_BE_DEtermined #TEST-PURPOSE regression, basic #TEST-STATE undocumented # Makefile passes in value of NETCDF if ( "$1" == "" ) then echo "Build does not include NetCDF support - skipping this test." exit(0) endif if( ! $?TESTsander ) set TESTsander = "../../bin/sander" if( ! $?DO_PARALLEL ) then setenv DO_PARALLEL " " endif cat > mdin < /dev/null if ( ! $status ) then echo "sander was not built with netCDF support." ../dacdif $output.save $output /bin/rm -f mdinfo mdtrj.nc mdin restrt exit(0) endif if ( -e ../../bin/ncdump ) then set ncdump = "../../bin/ncdump" else set ncdump = "`which ncdump`" if ( ! -x "$ncdump" ) then echo "Could not find ncdump: quitting" exit 0 endif endif $ncdump -h mdtrj.nc >nc_headers ../dacdif nc_headers.save nc_headers exit(0) error: echo " ${0}: Program error" exit(1)