[daip] can't build own program in GB
Patrick P Murphy
pmurphy at nrao.edu
Fri Jun 6 16:38:40 EDT 2003
On Fri, 6 Jun 2003 14:51:19 -0400, Toney Minter <tminter at gb.nrao.edu> said:
> I just tried recompiling my own AIPS program here in Green Bank on a
> linux machine. It was not successful. Here is what I did (on scintle):
>> cd /home/scratch/tminter/HI/aips
>> . /home/aips/LOGIN.SH
>> $CDTST
>> COMLNK UVPS.FOR APGNOT.OPT
> /home/aips/31DEC03/SYSTEM/UNIX/COMLNK: PWD: command not found
Turns out this is because the $PREP area (/home/aips/31DEC03/LINUX/PREP)
is not writable. Doing a chmod g+ws on the $PREP area as aipsmgr fixed
this. I had forgotten I still had access to aipsmgr at gb.
scintle_pmurphy<32> COMLNK UVPS.FOR APGNOT.OPT
COMLNK : Date Fri Jun 6 16:37:04 EDT 2003
PP : Preprocess /users/pmurphy/UVPS.FOR
PP : into /users/pmurphy/UVPS.f
FC : Date Fri Jun 6 16:37:05 EDT 2003
FC : Interpret FC \
FC : /users/pmurphy/UVPS.f
FC : as LIST=FALSE PURGE=FALSE
FC : plus /usr/local/bin/g77 -c -fno-automatic -fno-globals -Wno-globals -malign-double -Wimplicit -Wall -O -fexpensive-optimizations -funroll-loops -fstrength-reduce -frerun-cse-after-loop -fforce-mem -fforce-addr -fcaller-saves \
FC : /users/pmurphy/UVPS.f
/users/pmurphy/UVPS.f: In subroutine `fudgin':
/users/pmurphy/UVPS.f:285: warning: unused variable `f'
/users/pmurphy/UVPS.f: In subroutine `fughis':
/users/pmurphy/UVPS.f:925: warning: unused variable `f'
/users/pmurphy/UVPS.f: In subroutine `diddle':
/users/pmurphy/UVPS.f:1158: warning: unused variable `i'
/users/pmurphy/UVPS.f:1156: warning: unused variable `theta'
/users/pmurphy/UVPS.f:1156: warning: unused variable `vv'
/users/pmurphy/UVPS.f:1156: warning: unused variable `uu'
FC : Compile of /users/pmurphy/UVPS.f
FC : ends successfully.
FC : Ends successfully
LINK : Date is... Fri Jun 6 16:37:08 EDT 2003
LINK : Interpret LINK APGNOT.OPT \
LINK : /users/pmurphy/UVPS.o
LINK : as PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
LINK : plus /usr/local/bin/g77 \
LINK : /users/pmurphy/UVPS.o \
LINK : /home/aips/31DEC03/LINUX/LIBR/APLNOT/SUBLIB \
LINK : /home/aips/31DEC03/LINUX/LIBR/APLSUB/SUBLIB \
LINK : /home/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB \
LINK : /home/aips/31DEC03/LINUX/LIBR/APLSUB/SUBLIB \
LINK : /home/aips/31DEC03/LINUX/LIBR/APLLINUX/SUBLIB \
LINK : -s \
LINK : -o /users/pmurphy/UVPS.EXE
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(open.o): In function `f_open':
open.o(.text+0x4ca): the use of `tempnam' is dangerous, better use `mkstemp'
LINK : Delete /users/pmurphy/UVPS.o
LINK : Link of /users/pmurphy/UVPS.o
LINK : ends successfully.
COMLNK : Deleted /users/pmurphy/UVPS.f
COMLNK : Ends successfully
scintle_pmurphy<33> pwd
/users/pmurphy
scintle_pmurphy<34>
- Pat
More information about the Daip
mailing list