[daip] compiling AIPS source under Linux
Patrick P. Murphy
pmurphy at NRAO.EDU
Fri Dec 8 10:21:52 EST 2000
On Thu, 7 Dec 2000 10:20:15 -0500, David.Moffett at furman.edu said:
> Greetings,
> I finished compiling AIPS under Linux with a g77 compiler, and it
> succeeded, with the exception of one subroutine: LPCAL in QPGNOT.
> Repeated attempts have failed. Any ideas?
I tried it locally (note that LPCAL is a program, not a subroutine):
: orangutan_pmurphy; COMLNK $QPGNOT/LPCAL
COMLNK : Date Fri Dec 8 10:17:10 EST 2000
COMLNK : Substitute /home/aips/31DEC00/Q/PGM/NOTST/LPCAL.FOR
COMLNK : for /home/aips/31DEC00/Q/PGM/NOTST/LPCAL
PP : Preprocess /home/aips/31DEC00/Q/PGM/NOTST/LPCAL.FOR
PP : into /home/aips/31DEC00/LINUX/PREP/LPCAL.f
FC : Date Fri Dec 8 10:17:14 EST 2000
FC : Interpret FC \
FC : /home/aips/31DEC00/LINUX/PREP/LPCAL.f
FC : as LIST=FALSE PURGE=FALSE
FC : plus /usr/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 : /home/aips/31DEC00/LINUX/PREP/LPCAL.f
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpcin':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:529: warning: unused variable `f'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpcuv':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:1344: warning: unused variable `f'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:1344: warning: unused variable `t'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpcsel':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:1836: warning: unused variable `win'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:1833: warning: unused variable `blank'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpcsou':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:3039: warning: unused variable `f'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpcflx':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:3504: warning: unused variable `chstok'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:3504: warning: unused variable `blank'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpchis':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:3992: warning: unused variable `f'
/home/aips/31DEC00/LINUX/PREP/LPCAL.f: In subroutine `lpccop':
/home/aips/31DEC00/LINUX/PREP/LPCAL.f:5073: warning: unused variable `win'
FC : Compile of /home/aips/31DEC00/LINUX/PREP/LPCAL.f
FC : ends successfully.
FC : Ends successfully
LINK : Date is... Fri Dec 8 10:17:29 EST 2000
LINK : Interpret LINK \
LINK : /home/aips/31DEC00/LINUX/PREP/LPCAL.o
LINK : as PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
LINK : plus /usr/bin/g77 \
LINK : /home/aips/31DEC00/LINUX/PREP/LPCAL.o \
LINK : /home/aips/31DEC00/LINUX/LIBR/QNOT/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/APLNOT/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/QSUB/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/QPSAP/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/APLSUB/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/APLLINUX/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/APLSUB/SUBLIB \
LINK : /home/aips/31DEC00/LINUX/LIBR/APLLINUX/SUBLIB \
LINK : -s \
LINK : -o /home/aips/31DEC00/LINUX/PREP/LPCAL.EXE
LINK : Hardinked /home/aips/31DEC00/LINUX/LOAD/LPCAL.EXE
LINK : to /home/aips/31DEC00/LINUX/LOAD/LPCAL.EXE.OLD
LINK : Deleted /home/aips/31DEC00/LINUX/LOAD/LPCAL.EXE
LINK : Deleted /home/aips/31DEC00/LINUX/LOAD/LPCAL.EXE.OLD (boom!)
LINK : Moved /home/aips/31DEC00/LINUX/PREP/LPCAL.EXE
LINK : to /home/aips/31DEC00/LINUX/LOAD/LPCAL.EXE
LINK : Delete /home/aips/31DEC00/LINUX/PREP/LPCAL.o
LINK : Link of /home/aips/31DEC00/LINUX/PREP/LPCAL.o
LINK : ends successfully.
COMLNK : Deleted /home/aips/31DEC00/LINUX/PREP/LPCAL.f
COMLNK : Ends successfully
and apart from the warnings about unused variables, it appeared to work.
I'm using "g77 version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
(from FSF-g77 version 0.5.24-19981002)" according to g77 -v. I would
guess that you're possibly using a more recent version (e.g. the merged
egcs/gnu version based on gcc 2.95 or the "experimental" 2.96). Can you
send me the equivalent output for COMLNK and g77 -v from your system?
- Pat
--
Patrick P. Murphy, Ph.D. Division Head, Charlottesville Computing
(804) 296-0372, 296-0236 National Radio Astronomy Observatory
Home: http://www.chien-noir.com/ Work: http://www.cv.nrao.edu/~pmurphy/
"Linux is Inevitable." "Why?" "Because it's alive!" - John MadDog Hall
More information about the Daip
mailing list