[daip] AIPS running problem

Eric Greisen egreisen at nrao.edu
Wed Jul 18 12:48:03 EDT 2012


abhik ghosh wrote:
> Dear Sir,
>                 when I give these commands I got the following terminal 
> output.
> 
> [aips at parangam AIPS]$ source LOGIN.SH
> [aips at parangam AIPS]$ $CDTST
> AIPS_VERSION=/home/aips/AIPS/31DEC11
> [aips at parangam AIPS]$ CDTST
> [aips at parangam AIPS]$ COMLNK $AIPPGM/AIPS.FOR
> COMLNK    : Date       Wed Jul 18 22:17:00 IST 2012
> PP        : Preprocess /home/aips/AIPS/31DEC11/AIPS/PGM/AIPS.FOR
> PP        : into       /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.f
> FC        : Date       Wed Jul 18 22:17:01 IST 2012
> FC        : Interpret  FC  \
> FC        :            /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.f
> FC        : as         LIST=FALSE PURGE=FALSE
> FC        : plus       /usr/bin/g77 -c -fno-automatic -fno-globals 
> -Wno-globals -Wimplicit -Wall -O2 \
> FC        :            /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.f
> FC        : Compile of /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.f
> FC        : ends successfully.
> FC        : Ends successfully
> LINK      : Date is... Wed Jul 18 22:17:01 IST 2012
> LINK      : Interpret  LINK \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.o
> LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=FALSE
> LINK      : plus       /usr/bin/g77 \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.o \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/LIBR/AIPSUB/SUBLIB \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/LIBR/YSUB/SUBLIB \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/LIBR/YSS/SUBLIB \
> LINK      :            /home/aips/AIPS/31DEC11/LNX64/LIBR/APLSUB/SUBLIB \
> LINK      :            
> /home/aips/AIPS/31DEC11/LNX64/LIBR/GNU/libreadline.a \
> LINK      :            -lncurses \
> LINK      :             \
> LINK      :            -o /home/aips/AIPS/31DEC11/LNX64/PREP/AIPS.EXE
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> /usr/bin/ld: i386 architecture of input file 
> `/home/aips/AIPS/31DEC11/LNX64/LIBR/GNU/libreadline.a(readline.o)' is 
> incompatible with
>  i386:x86-64 output
> /usr/bin/ld: i386 architecture of input file 
> `/home/aips/AIPS/31DEC11/LNX64/LIBR/GNU/libreadline.a(vi_mode.o)' is 
> incompatible with

It is clear that the contents of the library pointed at by $LIBR/GNU are 
not for the architecture (type of linux not aips) that you are compiling 
otherwise.  You will need to update that.  The tar file contains a 
version of the source code for readline - did you not compile that?

Eric Greisen




More information about the Daip mailing list