Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In article <21544k$gr4@news.u.washington.edu>, sbg@stein.u.washington.edu (Bonggee Song) writes: |> Hi, everybody! |> |> I just started learning PV~WAVE. |> I got a problem setting up environment variables |> and so I didn't get the prompt WAVE> |> Instead, I got an error message as following |> |> ============================================================ ====== |> Unable to access wave. You will have to define the WAVE_DIR |> environment variable to point at the main PV-WAVE directory before |> it will work. |> ============================================================ ====== |> |> PV~WAVE is installed in /u4/pvi/wave in my machine. |> Could anybody help me solve this problem? |> Any comment would be appreciated. |> Thank you. -- No big deal here (your system administrator should have told you this step). There is a file /u4/pvi/wave/bin/wvsetup that will define all the environment variable for you. At the UNIX prompt type csh> source /u4/pvi/wave/bin/wvsetup and then... csh> wave You should maybe put the "source" line in your .login file, or add the following to your .cshrc file alias WAVE "source /u4/pvi/wave/bin/wvsetup" Then you would need only type csh> WAVE csh> wave to get things going. Good luck! M ------------------------------------------------------------ ------------- ___ \|/ Marc Day, graduate student //---\ - O - Institute of Plasma Fusion Research / o \\__ /|\ 44-139 Engineering IV -|-/|\___ University of California ______ -//||\_____ Los Angeles, CA 90024-1597 _______///||\\\_____ day@fusion.ucla.edu ------////||\\\\\__ Surf in peace... ------------------------------------------------------------ -------------
Marc Day (marc@alisa.ucla.edu) wrote: : In article <21544k$gr4@news.u.washington.edu>, sbg@stein.u.washington.edu (Bonggee Song) writes: : No big deal here (your system administrator should have told you : this step). There is a file : /u4/pvi/wave/bin/wvsetup : that will define all the environment variable for you. At the UNIX prompt : type : csh> source /u4/pvi/wave/bin/wvsetup ... etc ... Note that this is for the c-shell only... If you're using the Bourne or Korn shells the procedure is similar, but the file is wvsetup.sh, and should be run in the current shell (not as a subshell) by typing . <pathname>/wvsetup.sh You can, of course, extract the necessary commands to set the env. variables from the file and transplant them to your .profile script, but whatever way, if you've got it right then typing "wave" (or "waveadv" if you've got the new beefed up version) should set you going with no problems. Pete. -- Peter Clinch University of Dundee phone 44 382 (voice) 60111 x 2050 (fax) 632970 Department of Medical Physics email pjclinch@dux.dundee.ac.uk Ninewells Hospital Dundee, DD1 9SY, Scotland, UK