[MITgcm-devel] Symbolic linked _mpi
Ed Hill
ed at eh3.com
Fri Dec 5 12:59:43 EST 2003
Hi Alistair,
OK, you got me, I certainly forgot to check that $MPI was enabled. My
mistake.
But you missed one of the finer points of my earlier emails. The syntax
to use is:
test "x$foo" = "x$bar"
not
test "x$foo" == "x$bar"
You'll notice that the latter is not mentioned if you do a "man test"
and the "==" is actually non-portable. It works on the Linux boxes and
fails on most of the commercial Unixes. And if you don't believe me,
just try:
test a == a && echo hi
on one of the Linux machines and then try it using the Bourne shell on
one of the IBM SP3/4's where you'll get:
$ test a == a && echo hi
sh: ==: 0403-012 A test command parameter is not valid.
Ed
--
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Room 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
email: eh3 at mit.edu, ed at eh3.com
URL: http://web.mit.edu/eh3/
phone: 617-253-0098
fax: 617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20031205/88276231/attachment.sig>
More information about the MITgcm-devel
mailing list