We have been moving from centos6 (32bit OS) to centos7 (64bit OS)
One of the big things I had to do was make sure that pgplot and cpgplot would work on centos7
I now see (as I had already vaguely thought) that there are multiple pgplots in multiple places.So user beware!
As of 2021 Feb 12, we have (on thuban2 disk system) a
/var/share/astro/ which was used by centos6
/var/share/astro_centos7/ is to be used by centos7 after we upgrade the desktops to centos7. Note that at that time, /var/share/astro_centos7/ will look to the desktops as if it is the “default” /usr/share/astro/ thanks to Bruce’s wizardry.
/var/share/astro:
As of right now, I have found pgplot in the following 3 directories:under /var/share/astro/:
[jweisber@thuban2 astro]$ pwd
/var/share/astro
[jweisber@thuban2 astro]$ find ./src/pgplot | wc
795 8745 77769
[jweisber@thuban2 astro]$ pwd
/var/share/astro
find ./psrhome/src/pgplot | wc
796 796 30909 mostly from 1990s
[jweisber@thuban2 astro]$ pwd
/var/share/astro
[jweisber@thuban2 astro]$ find ./psrhome/pgplot |wc
33 33 873 from 2016 by Yuping, some executables and libs
See also one 32 bit pgplot dirs and/or files under /var/share/astro/: (whereas astro_centos7 below has heaps)
[jweisber@thuban2 astro]$ pwd
/var/share/astro
[jweisber@thuban2 astro]$ find ./psrhome/psrchive-Carleton-install -ls | grep pgplot_32bits | wc
32 352 4042 (2015 yuping files in ./psrhome/psrchive-Carleton-install/pgplot_32bits/)
/var/share/astro_centos7:
I have also found pgplot in the following 3 directories under /var/share/astro_centos7/:[jweisber@thuban2 astro_centos7]$ pwd
/var/share/astro_centos7
[jweisber@thuban2 astro_centos7]$ find ./src/pgplot | wc
795 795 24504 (files mostly from 1990s)
(apparently identical to standard old /var/share/astro/)
/:[jweisber@thuban2 astro_centos7]$ pwd
/var/share/astro_centos7
[jweisber@thuban2 astro_centos7]$ find ./psrhome/src/pgplot | wc
798 798 30977 (files mostly from 2021 Feb [a few days ago!])
[jweisber@thuban2 astro_centos7]$ pwd
/var/share/astro_centos7
[jweisber@thuban2 astro_centos7]$find ./psrhome/pgplot |wc
284 284 7421 from 2021 mainly .o files dated Feb (recently) probably what I got running on phasshare, though rather skinny in number of files!
See also a ton of various 32 bit pgplot dirs and/or files under /var/share/astro_centos7:
First under ./psrhome32:
[jweisber@thuban2 astro_centos7]$ find ./psrhome32 -ls | grep pgplot | less
–A few files under ./psrhome32/pgplot_32bits/ , mostly dated Nov 8-9 2020 (which is the date many of them were copied to the 64 bit virtual test machine “phasshare”)
–Pretty many under ./psrhome32/src/tempo2/, also dated 2020 Nov for same reasons as stated above.
—./psrhome32/src/pgplot/ which has tons of mostly 1990s files and a few from Nov 8
—./psrhome32/pgplot/ A bunch of almost entirely .o files, mostly dated Nov 8 for reasons given above
–the famous ./psrhome32/src/psrchive/packages/pgplot.csh which we eventually used in order to successfully build (pgplot make and other scripts and especially cpgplot make and other scripts) on phasshare, also dated Nov 8
Now under ./psrhome/psrchive-Carleton-install/pgplot_32bits/:
[jweisber@thuban2 astro_centos7]$ find . -ls | grep 32bits | less
./psrhome/psrchive-Carleton-install/pgplot_32bits/ has lots of files owned by Yuping from 2015.
Yuck! They’re proliferated all over /var/share/astro_centos7!