[15398] in Athena Bugs

home help back first fref pref prev next nref lref last post

No subject found in mail header

daemon@ATHENA.MIT.EDU (Mike Barker)
Mon Aug 18 13:14:50 1997

To: Sandra Rugonyi <rugonyis@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Mon, 28 Jul 1997 12:06:20 EDT."
             <199707281606.MAA04149@FEMLAB4.MIT.EDU> 
Date: Mon, 18 Aug 1997 13:14:49 EDT
From: Mike Barker <mbarker@MIT.EDU>

hi.

Sorry about the delay in responding.  I think the problem is that
you must have a locker attached when running F77 programs.

I.e., if you attach (or add) sunsoft, I believe your program will work.

I suspect that in previous usage, either the compiling or something
else in your session attached the locker.  This time, you didn't have
the locker attached, so you saw the error you reported.

Thank you for using Athena.
Mike Barker
Team Leader, Team Athena
------------------------------------
From: Alex T Prengel <alexp@MIT.EDU>

libf77 is in a locker (there are actually 3, with 3 different versions....);

/usr/athena/bin/f77 is an attach-and-run script:

~ athena% cat /usr/athena/bin/f77
#!/bin/sh
 
if [ ! -r /mit/sunsoft ]; then
        /bin/athena/attach -q sunsoft
fi
if [ ! -x /mit/sunsoft/arch/sun4x_55/bin/f77 ]; then
        echo "Can't find the f77 program in the sunsoft locker."
        echo "Please try again later."
        exit 1
fi
exec /mit/sunsoft/arch/sun4x_55/bin/f77 "$@"

and the default locker is sunsoft, which contains libF77.so.2; when I compile
my FORTRAN "hello word" I get an a.out (which works), and ldd shows:

~/tmp athena% ldd a.out
        libF77.so.2 =>   /mit/sunsoft/sunwspro/lib/libF77.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1

So she needs to have the sunsoft locker attached when running.

home help back first fref pref prev next nref lref last post