complex*16 z z = dcmplx(cos(0.2d0),sin(0.2d0))Thanks to Scott Webster for bringing this to my attention.
your-machine% ./install You're using machine type--i686, kernel--2.4.21, and glibc--2.3.1. This product is supported for use with the following combinations. Machine Type Kernel glibc 1. IA-32 2.4.x 2.2.5, or IA-32 2.4.x 2.2.93, or 2. Itanium(R)-based system 2.4.x 2.2.4, or Itanium(R)-based system 2.4.x 2.2.5 x. Exit For an unsupported install, select the platform most similar to yours.if you select "1", then you may get the following error messages (or similar):
./install: line 567: 10232 Segmentation fault (core dumped) $SCRIPT_DIR/chklic -a -q -f"$FLEXLM_FEATURE_NAME" -f"$FLEXLM_FEATURE_NAME"L -pi86_r -pit64_lr -c"$LICENSE" >&$TEMPFILE.chklic.out ./install: line 567: 10233 Segmentation fault (core dumped) $SCRIPT_DIR/chklic -a -q -f"$FLEXLM_FEATURE_NAME" -f"$FLEXLM_FEATURE_NAME"L -pi86_r -pit64_lr -c"$LICENSE" >&$TEMPFILE.chklic.out A valid FLEXlm license is required to install this product, but none were found in $INTEL_LICENSE_FILE (.:/opt/intel/licenses). Where is a valid FLEXlm license for this product?even if you have installed the license(s) that was (were) mailed to you in the installation directory, or /opt/intel/licenses.
The problem appears to be with the executable chklic, which checks to see that a valid license is available, and can be circumvented by hacking on the install script. At (or near) line 111 of the script, are the following lines:
$SCRIPT_DIR/chklic -a -q -f"$FLEXLM_FEATURE_NAME" -f"$FLEXLM_FEATURE_NAME"L -pi86_r -pit64_lr -c"$LICENSE" &> $TEMPFILE.chklic.out CHKLIC_EXIT=$?Comment out those lines, and insert the statement CHKLIC_EXIT=10 as follows:
# $SCRIPT_DIR/chklic -a -q -f"$FLEXLM_FEATURE_NAME" -f"$FLEXLM_FEATURE_NAME"L -pi86_r -pit64_lr -c"$LICENSE" &> $TEMPFILE.chklic.out # CHKLIC_EXIT=$? CHKLIC_EXIT=10The install script should then work normally.
[seq(subs(x=i,res1),i=0..3)];in the polyinterp usage examples handout can be equivalently replaced with the simpler
[seq(res1),x=0..3];
whose i-th element is the 2-element list [ l1[i] , l2[i] ].instead of
whose i-th element is the 2-element list [ l1[1] , l2[i] ].The handout has been updated to reflect this change.
lnx1% cat arg0 #!/bin/sh fcn () { echo "In function foo: Argument 0='$0'" } echo "In main body of script: Argument 0='$0'" fcn lnx1% arg0 In main body of script: Argument 0='arg0' In function foo: Argument 0='fcn'
lnx1% ssh choptuik@lts1 Linux lts1 2.4.21-2-686-smp #1 SMP Sat Jul 5 01:42:22 EST 2003 i686 GNU/Linux The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Sep 15 08:54:08 2003 from warp.physics.ubc.ca /usr/ucb/tset: Command not found. biff: Command not found.These error messages arise from execution of the commands in ~/.login, which, like those in ~/.cshrc.user, are tailored to the Sun environment, and not to Linux.
For those of you encountering such messages, I suggest the insertion of the following lines at the beginning of your ~/.login on physics/lts1, (NOT on the lnx machines).
if ( `hostname` != physics ) then exit endifThis will effectively disable execution of the ~/.login commands when you login to lts1, which, as discussed in the Unix notes, is a completely reasonable thing to do (i.e. there is no fundamental problem in having all of the C-shell start-up commands in ~/.cshrc).
The on-line Unix notes have been updated accordingly
% ls a-dir/ a-fileThe handout has been updated to reflect this change.
% cat foo the the the $b $b $b '' '' '' % set a='the' % grep -n '^'$a'$' foo 1:the % set a='$b' % grep -n '^'$a'$' foo 3:$b % set a="''" % grep -n '^'$a'$' foo 5:''Note that in the second and third invocations of grep above, $a evaluates to a string that contains shell-special characters, but that those characters are NOT interpreted by the shell; i.e. there is only a single level of evaluation by the shell of expressions typed at the command prompt.
kubanekSee the news item from Tuesday, September 2, for further information concerning the use of this account.
mashumba jhomenuk geraldli motamedm orost roland cweigand berniewSee the news item from Tuesday, September 2, for further information concerning the use of these accounts.
Maria Alexandrova John Homenuke Mary Motamedi-Tafrehsi Roland Stevenson Bernie WongThe same will apply to any student who was not at the first lecture.
yiying lfan froese isgill waynesud dnleong aliptak dcmackay danicawm brianmar ryanmck kevmitch bruno musson kiri pleasanc trees dwschout schultzi ullisch swebsterIf you wish, and if your account appears in the above list, you should now be able to ssh into the lnx machines from a remote host via any one of
ssh userid@lnx1.physics.ubc.ca ssh userid@lnx2.physics.ubc.ca ssh userid@lnx3.physics.ubc.cawhere userid is to be replaced with your own user id. You should also be able to login into the lnx machines via their consoles in Hennings 205. Your password should be the same as that for your account on physics.ubc.ca. If you have any difficulties logging in, and if the NOTES concerning machine usage are not sufficient to solve these problems, let me know via e-mail immediately.