PHYSICA: Difference between revisions
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Physica Links = | = Physica Links = | ||
* http://www.triumf.ca/view-announcements?which=1422 RIP | * https://bitbucket.org/ttriumfdaq/physica | ||
* https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica (username: svn, password: svn) | * (dead link) http://www.triumf.ca/view-announcements?which=1422 RIP | ||
* (obsolete) https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica (username: svn, password: svn) | |||
* ftp://csftp.triumf.ca/pub/CompServ/physica/ | * ftp://csftp.triumf.ca/pub/CompServ/physica/ | ||
* http://computing.triumf.ca/legacy/physica | |||
= Extrema links = | = Extrema links = | ||
Line 10: | Line 12: | ||
* http://sourceforge.net/projects/extrema/ | * http://sourceforge.net/projects/extrema/ | ||
* http://extrema.svn.sourceforge.net/viewvc/extrema/ | * http://extrema.svn.sourceforge.net/viewvc/extrema/ | ||
= NOTE = | |||
Primary PHYSICA repository has moved from SVN on ladd00 to GIT on bitbucket: https://bitbucket.org/ttriumfdaq/physica | |||
To get the latest version use: git clone https://bitbucket.org/ttriumfdaq/physica.git | |||
As of November-2018: | |||
* this version of PHYSICA is known to compile on RHEL/CentOS/SL-6 if required 32-bit libraries are installed. | |||
* this version of PHYSICA is known to run (32-bit build on el6) on RHEL/CentOS/SL-7 if required 32-bit libraries are installed, see here https://www.triumf.info/wiki/DAQwiki/index.php/SLinstall#Install_libraries_for_PHYSICA_.28CentOS7.29 | |||
* status on MacOS is presently unknown (g77 is required, but probably cannot run on latest MacOS). | |||
For questions on how to build and run physica, please contact Konstantin Olchanski olchansk@triumf.ca | |||
= About = | = About = | ||
Line 16: | Line 31: | ||
PHYSICA was developed at TRIUMF by Joe Chuma, Fred Jones and other | PHYSICA was developed at TRIUMF by Joe Chuma, Fred Jones and other | ||
= Joe Chuma, RIP 2011 = | |||
From: https://www.triumf.ca/view-announcements?which=1422 | |||
<pre> | |||
Director's Office: Joe Chuma | |||
It is with much sadness that TRIUMF announces the death of Joe Chuma on Friday August 5/2011. He passed away unexpectedly, peacefully, and suddenly at his home in North Vancouver at the age of 63. He left behind his wife Charlene and devoted son Jonathan. | |||
Joe started his career at TRIUMF in October 1981 and retired in March 2008. He was instrumental in the development of the data analysis and display program Physica and its successor Extrema. The latter was released as an Open Source project in 2006 for both Windows and Linux. It was particularly popular at many international academic institutions (including UBC). Joe also contributed significantly to the TRIUMF studies of Ring Cyclotrons (as a potential Kaon Factory). He also contributed to the development of Roody, a GUI written in C++ based on CERN-ROOT for on and off-line data display. He devoted himself in assisting others at TRIUMF in performing numerical analysis of their data. His dedication will be remembered by the many of those who benefited from his work. | |||
</pre> | |||
= Documentation = | = Documentation = | ||
The old PHYSICA home page from TRSHARE/~chuma is here: (thanks to Kelvin Raywood) | |||
http://computing.triumf.ca/legacy/physica/ | |||
The user guide and the reference guide are here: | |||
https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/users-guide.pdf?view=co | https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/users-guide.pdf?view=co | ||
https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/physica.pdf?view=co | https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/physica.pdf?view=co | ||
Line 27: | Line 54: | ||
= Executables = | = Executables = | ||
PHYSICA executables are available here: ftp://csftp.triumf.ca/pub/CompServ/physica/ | Historic PHYSICA executables are available here: ftp://csftp.triumf.ca/pub/CompServ/physica/ | ||
If none of them work for you, follow these instructions to build PHYSICA from sources. | If none of them work for you, follow these instructions to build PHYSICA from sources. | ||
Line 44: | Line 71: | ||
* cd physica | * cd physica | ||
* make | * make | ||
* ./physica | |||
= Build on MacOS = | |||
This was tested on MacOS 10.6, 10.7, 10.8, 10.9. | |||
NOTE: this g77 does not work on MacOS 10.10 - incompatible LLVM "as" | |||
* install g77 | * install g77 | ||
** download g77-intel-bin.tar.gz from http://hpc.sourceforge.net | ** download g77-intel-bin.tar.gz from http://hpc.sourceforge.net or from http://daqshare.triumf.ca/~olchansk/hpc-sourcefourge-net-g77 | ||
** sudo /bin/sh | ** sudo /bin/sh | ||
** cd / | ** cd / | ||
Line 57: | Line 89: | ||
** sudo /bin/sh | ** sudo /bin/sh | ||
** port -v selfupdate | ** port -v selfupdate | ||
** port upgrade outdated | |||
** port install gd2 +universal ### (will take forever because it thinks it needs to build most of everything) | ** port install gd2 +universal ### (will take forever because it thinks it needs to build most of everything) | ||
** port install readline +universal ### up to MacOS 10.6, not needed on MacOS 10.7, 10.8 | |||
** port install readline +universal libpng +universal gd2 +universal ### on MacOS 10.9, will take a long time to install many packages | |||
* svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica | * svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica | ||
* cd physica | * cd physica | ||
* make | * make physica | ||
* ./physica | * ./physica | ||
* ### or on MacOS 10.9: | |||
* make physical-half-static | |||
* ./physica-half-static | |||
* @rangauss.pcm | |||
= Test = | |||
<pre> | |||
./physica | |||
PHYSICA:@rangauss.pcm | |||
</pre> |
Latest revision as of 15:44, 11 January 2024
Physica Links
- https://bitbucket.org/ttriumfdaq/physica
- (dead link) http://www.triumf.ca/view-announcements?which=1422 RIP
- (obsolete) https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica (username: svn, password: svn)
- ftp://csftp.triumf.ca/pub/CompServ/physica/
- http://computing.triumf.ca/legacy/physica
Extrema links
- http://exsitewebware.com/extrema/
- http://sourceforge.net/projects/extrema/
- http://extrema.svn.sourceforge.net/viewvc/extrema/
NOTE
Primary PHYSICA repository has moved from SVN on ladd00 to GIT on bitbucket: https://bitbucket.org/ttriumfdaq/physica
To get the latest version use: git clone https://bitbucket.org/ttriumfdaq/physica.git
As of November-2018:
- this version of PHYSICA is known to compile on RHEL/CentOS/SL-6 if required 32-bit libraries are installed.
- this version of PHYSICA is known to run (32-bit build on el6) on RHEL/CentOS/SL-7 if required 32-bit libraries are installed, see here https://www.triumf.info/wiki/DAQwiki/index.php/SLinstall#Install_libraries_for_PHYSICA_.28CentOS7.29
- status on MacOS is presently unknown (g77 is required, but probably cannot run on latest MacOS).
For questions on how to build and run physica, please contact Konstantin Olchanski olchansk@triumf.ca
About
PHYSICA is a high level, interactive programming environment with user friendly graphics and sophisticated mathematical analysis capabilities. Over 200 numeric and character functions are provided, as well as over 30 operators, providing all of the operations of simple calculus, along with powerful curve fitting, filtering and smoothing techniques, and employing a dynamic array management scheme allowing arrays limited in size only by system resources. Algebraic expressions of arbitrary complexity are evaluated using a lexical scanner approach. Line graphs, histograms and pie charts, as well as contour, density and surface plots are available. The user interface is a command language with a simple to use and easy to learn syntax, incorporating basic elements of a structured programming language including conditional branching, looping and subroutine calling constructs.
PHYSICA was developed at TRIUMF by Joe Chuma, Fred Jones and other
Joe Chuma, RIP 2011
From: https://www.triumf.ca/view-announcements?which=1422
Director's Office: Joe Chuma It is with much sadness that TRIUMF announces the death of Joe Chuma on Friday August 5/2011. He passed away unexpectedly, peacefully, and suddenly at his home in North Vancouver at the age of 63. He left behind his wife Charlene and devoted son Jonathan. Joe started his career at TRIUMF in October 1981 and retired in March 2008. He was instrumental in the development of the data analysis and display program Physica and its successor Extrema. The latter was released as an Open Source project in 2006 for both Windows and Linux. It was particularly popular at many international academic institutions (including UBC). Joe also contributed significantly to the TRIUMF studies of Ring Cyclotrons (as a potential Kaon Factory). He also contributed to the development of Roody, a GUI written in C++ based on CERN-ROOT for on and off-line data display. He devoted himself in assisting others at TRIUMF in performing numerical analysis of their data. His dedication will be remembered by the many of those who benefited from his work.
Documentation
The old PHYSICA home page from TRSHARE/~chuma is here: (thanks to Kelvin Raywood) http://computing.triumf.ca/legacy/physica/
The user guide and the reference guide are here: https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/users-guide.pdf?view=co https://ladd00.triumf.ca/viewvc/daqsvn/trunk/physica/doc/physica.pdf?view=co
Executables
Historic PHYSICA executables are available here: ftp://csftp.triumf.ca/pub/CompServ/physica/
If none of them work for you, follow these instructions to build PHYSICA from sources.
Build on Linux
Only 32-bit PHYSICA is known to work. 64-bit is known to not work. When building on 64-bit Linux, many 32-bit "devel" packages need to be installed.
The Linux Makefile builds 3 flavours of the physica executable:
- physica : normal dynamically linked executable
- physica-static : fully static executable (no shared libraries), same as old versions of physica. Cannot be built on SL5/SL6 because they do not supply libX11.a static libraries
- physica-half-static : link as many libraries as possible statically. This is the recommended executable for general use. It can only be built on 32-bit SL5. (SL6 do not provide many 32-bit static libraries).
Build:
- svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica
- cd physica
- make
- ./physica
Build on MacOS
This was tested on MacOS 10.6, 10.7, 10.8, 10.9.
NOTE: this g77 does not work on MacOS 10.10 - incompatible LLVM "as"
- install g77
- download g77-intel-bin.tar.gz from http://hpc.sourceforge.net or from http://daqshare.triumf.ca/~olchansk/hpc-sourcefourge-net-g77
- sudo /bin/sh
- cd /
- tar xzvf .../g77-intel-bin.tar.gz
- install required libraries using MacPorts
- install MacPorts: download the MacPorts-xxx-Lion.pkg from http://www.macports.org/install.php, install
- sudo /bin/sh
- port -v selfupdate
- port upgrade outdated
- port install gd2 +universal ### (will take forever because it thinks it needs to build most of everything)
- port install readline +universal ### up to MacOS 10.6, not needed on MacOS 10.7, 10.8
- port install readline +universal libpng +universal gd2 +universal ### on MacOS 10.9, will take a long time to install many packages
- svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/physica
- cd physica
- make physica
- ./physica
- ### or on MacOS 10.9:
- make physical-half-static
- ./physica-half-static
- @rangauss.pcm
Test
./physica PHYSICA:@rangauss.pcm