Skip to content

Commit

Permalink
Created using Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
bemonts committed Nov 15, 2024
1 parent b1f458b commit ee16921
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/notebooks/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@
"\n",
"**Summary Most Important Issues**\n",
"\n",
"- Default CASA installation on **Google Colab** is currently failing (as of 11/11/2024), and requires setting the version of *protobuf* back to 3.20 in Colab Notebooks\n",
"- The **CASA Viewer** is no longer included in Mac OS packages.\n",
"- Task **simobserve** may fail on Mac OS 14.\n",
"- Task **simanalyze** with two or more input MSs in *vis* may not work.\n",
Expand Down Expand Up @@ -391,6 +392,13 @@
"\n",
"### Installation\n",
"\n",
"- Installing CASA with default commands on Google Colab is currently failing. Reason is that as of 11/11/2024, Google rolled out an update to Colab with updated default packages, of which the *protobuf* package is incompatible with the current default pip version of CASA. CASA is currently stuck to protobuf 3.20 and older, based on choices made for compatibility with the RHEL8 build systems. A solution in CASA is currently under investigation. The problem can be fixed by pinning the *protobuf* version to 3.20 in Colab Notebooks:\n",
"```\n",
"os.system('pip install protobuf==3.20.3')\n",
"import google.protobuf as gpbuf\n",
"print('Protobuf version must be 3.20.X, it is: ',gpbuf.__version__)\n",
"```\n",
"\n",
"- Running **importfits** in modular CASA may fail with a *CFITSIO* error if also the NASA HEASoft software is installed, because of a conflict in CFITSIO setting between CASA and heasoft. As a workaround, comment out all parts of heasoft in your environment to made importfits work in the modular environment.\n",
"\n",
"- CASA 6 startup may fail on some Mac OS where users have set up a file system that is *case-sensitive* (as shown [here](https://support.apple.com/lt-lt/guide/disk-utility/dsku19ed921c/mac)). As a temporary work-around, please manually update the casapy script in /Applications/CASA.app/Contents/MacOS/casapy, by replacing the string \"Macos\" with \"MacOS\", which occurs in lines 36 and 39 of the casaspy script.\n",
Expand Down

0 comments on commit ee16921

Please sign in to comment.