<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Eric,<div class=""><br class=""></div><div class="">Thank you, unfortunately I think now my issue has shifted to the compilation of AIPS. </div><div class=""><br class=""></div><div class="">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 <span style="background-color: rgb(255, 255, 255);" class="">/usr/local/bin/gfortran, and I've changed the compiler setting in $SYSLOCAL/FDEFAULT.SH for gfortran, </span><span style="background-color: rgb(255, 255, 255);" class="">$SYSLOCAL/CCOPTS.SH for gcc and </span><span style="background-color: rgb(255, 255, 255);" class="">$SYSLOCAL/LDOPTS.SH for gfortran, following the screen 10 of this page: </span><span style="background-color: rgb(255, 255, 255);" class=""><a href="http://www.aips.nrao.edu/install.shtml#menu_10" class="">http://www.aips.nrao.edu/install.shtml#menu_10</a> </span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">However, I noticed that in both </span><span style="background-color: rgb(255, 255, 255);" class="">FDEFAULT.SH and </span><span style="background-color: rgb(255, 255, 255);" class="">LDOPTS.SH there are no options for "gfortran" but only for "g77", "xlf" and "ifort", and I did get the error message like:</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : Date       Sat Jan 13 04:00:01 CLST 2018</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PP        : Preprocess /Users/fgao/astrosoft/AIPS/31DEC17/AIPS/SUB/ADVERB.FOR</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PP        : into       /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">TEST VERSION OF PP</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Unrocognized compiler /usr/local/bin/gfortran  on  MACINT</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : Date       Sat Jan 13 04:00:02 CLST 2018</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : Interpret  FC NOPURGE  \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        :            /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : as         LIST=FALSE PURGE=FALSE</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : plus       /usr/local/bin/gfortran -c -cm -ip -save -align all -macosx-version=10.7 -O2 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        :            /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: all: No such file or directory</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: unrecognized command line option ‘-cm’; did you mean ‘-c’?</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: unrecognized command line option ‘-ip’; did you mean ‘-p’?</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: unrecognized command line option ‘-save’; did you mean ‘-mavx’?</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: unrecognized command line option ‘-align’</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gfortran: error: unrecognized command line option ‘-macosx-version=10.7’; did you mean ‘-mmacosx-version-min=’?</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : Compile of /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : ends with fatal error(s)!</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : Examine    /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/INSTALL/INSTEP2.LOG</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : and        /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FC        : Dies of unnatural causes</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : Compilation fails!</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : Deleted    /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/PREP/ADVERB.f</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : Leave      /Users/fgao/astrosoft/AIPS/31DEC17/AIPS/SUB/ADVERB.FOR</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : in         /Users/fgao/astrosoft/AIPS/31DEC17/MACINT/INSTALL/AIPSUB.LIS</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMRPL    : unchanged as it FAILED to compile.</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">Please see the full screen-output of INSTEP2 in the attached file.</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">So maybe I have set things in a wrong place? Is there a way to bypass this rather than install ifort? </span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">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 :</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class="">LOCALH> FITLD1: UVFDAT: counts for cross-correlations</div><div class="">LOCALH> FITLD1: UVFDAT: found       1500 spectra samples already flagged</div><div class="">LOCALH> FITLD1: UVFDAT: found    100.000 percent samples already flagged</div><div class="">LOCALH> FITLD1: UVFDAT: omitted        150 totally flagged vis records</div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">I saw you have already answered a similar case on here: </span><a href="https://listmgr.nrao.edu/pipermail/daip/2017-May/023505.html" class="">https://listmgr.nrao.edu/pipermail/daip/2017-May/023505.html</a> 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" <span style="background-color: rgb(255, 255, 255);" class=""> from </span>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.</div><div class=""><br class=""></div><div class="">Thank you so much!</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Feng <span style="background-color: rgb(255, 255, 255);" class=""> </span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""></div></body></html>