[daip] error with the FQ table
Feng Gao
fgao at mpe.mpg.de
Sat Jan 13 02:23:39 EST 2018
Dear Eric,
Thank you, unfortunately I think now my issue has shifted to the compilation of AIPS.
My OS is mac 10.12 and I have gcc (version 4.2.1) installed on on /usr/bin/gcc and gfortran (version 6.3.0) on /usr/local/bin/gfortran, and I've changed the compiler setting in $SYSLOCAL/FDEFAULT.SH for gfortran, $SYSLOCAL/CCOPTS.SH for gcc and $SYSLOCAL/LDOPTS.SH for gfortran, following the screen 10 of this page: http://www.aips.nrao.edu/install.shtml#menu_10 <http://www.aips.nrao.edu/install.shtml#menu_10>
However, I noticed that in both FDEFAULT.SH and LDOPTS.SH there are no options for "gfortran" but only for "g77", "xlf" and "ifort", and I did get the error message like:
COMRPL : Date Sat Jan 13 04:00:01 CLST 2018
PP : Preprocess /Users/fgao/astrosoft/AIPS/31DEC17/AIPS/SUB/ADVERB.FOR
PP : into /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
TEST VERSION OF PP
Unrocognized compiler /usr/local/bin/gfortran on MACINT
FC : Date Sat Jan 13 04:00:02 CLST 2018
FC : Interpret FC NOPURGE \
FC : /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
FC : as LIST=FALSE PURGE=FALSE
FC : plus /usr/local/bin/gfortran -c -cm -ip -save -align all -macosx-version=10.7 -O2 \
FC : /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
gfortran: error: all: No such file or directory
gfortran: error: unrecognized command line option ‘-cm’; did you mean ‘-c’?
gfortran: error: unrecognized command line option ‘-ip’; did you mean ‘-p’?
gfortran: error: unrecognized command line option ‘-save’; did you mean ‘-mavx’?
gfortran: error: unrecognized command line option ‘-align’
gfortran: error: unrecognized command line option ‘-macosx-version=10.7’; did you mean ‘-mmacosx-version-min=’?
FC : Compile of /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
FC : ends with fatal error(s)!
FC : Examine /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/INSTALL/INSTEP2.LOG
FC : and /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
FC : Dies of unnatural causes
COMRPL : Compilation fails!
COMRPL : Deleted /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f
COMRPL : Leave /Users/fgao/astrosoft/AIPS/31DEC17/AIPS/SUB/ADVERB.FOR
COMRPL : in /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/INSTALL/AIPSUB.LIS
COMRPL : unchanged as it FAILED to compile.
Please see the full screen-output of INSTEP2 in the attached file.
So maybe I have set things in a wrong place? Is there a way to bypass this rather than install ifort?
BTW, I have another unrelated question: I was trying to load a uvfits file into AIPS with FITLD and I got the error message of :
LOCALH> FITLD1: UVFDAT: counts for cross-correlations
LOCALH> FITLD1: UVFDAT: found 1500 spectra samples already flagged
LOCALH> FITLD1: UVFDAT: found 100.000 percent samples already flagged
LOCALH> FITLD1: UVFDAT: omitted 150 totally flagged vis records
I saw you have already answered a similar case on here: https://listmgr.nrao.edu/pipermail/daip/2017-May/023505.html <https://listmgr.nrao.edu/pipermail/daip/2017-May/023505.html> but I just wonder by which parameter could AIPS tell if the data has been flagged? Because in my conversion code I didn't pass any "flag" from OIFITS to UVFITS, and all my other files could be load into AIPS without such a problem, so I'm a bit puzzled. I've also attached the .uvfits file, in case you want to check it.
Thank you so much!
Cheers,
Feng
> On 10 Jan 2018, at 2:03 PM, Eric Greisen <egreisen at nrao.edu> wrote:
>
> On 01/09/2018 05:18 PM, Feng Gao wrote:
>> Dear Eric,
>> Thank you for your advice, I've changed MAXIF=256 in PUVD.INC and run INSTEP2 AND INSTEP4 afterwards, unfortunately I still get the same error message. Maybe there is something I did wrong? I didn't re-install the whole AIPS package but just run INSTEP2 and INSTEP4 in the "AIPS/31DEC17/MACINT/INSTALL" directory. Attached is the screen-output from both scripts, for your reference.
>
> Your INSTEP2 and INSTEP4 did nothing since everything was marked as done in the *.LIS files. Try
>
> cd $TST/$ARCH/INSTALL
> rm *.LIS *.LOG
> rm $LIBR/*/SUBLIB
>
> INSTEP2
>
> then
>
> INSTEP4
>
>
> ERic Greisen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20180113/e3e09c4d/attachment-0003.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: INSTEP2-output-new.txt
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20180113/e3e09c4d/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20180113/e3e09c4d/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merged-Idel.uvfits
Type: application/octet-stream
Size: 48960 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20180113/e3e09c4d/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20180113/e3e09c4d/attachment-0005.html>
More information about the Daip
mailing list