User Tools

Site Tools


correlator:calcserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
correlator:calcserver [2018/03/26 15:12] cormaccorrelator:calcserver [2018/03/26 15:16] (current) cormac
Line 1: Line 1:
 ==== ATNF Calc Server ==== ==== ATNF Calc Server ====
  
-Calc9 is most conveniently run using the calcserver which provides and xml-rpc interface. Unfortunately permissions and firewalls prevent us usefully running the calcserver on either Pawsey systems or a machine at ATNF.+Calc9 is most conveniently run using the calcserver which provides an xml-rpc interface. Unfortunately permissions and firewalls prevent us usefully running the calcserver on either Pawsey systems or a machine at ATNF.
  
 The solution is to have a VM on the Nectar Cloud (details from Cormac). The solution is to have a VM on the Nectar Cloud (details from Cormac).
Line 7: Line 7:
 We have a single instance of an Ubuntu 17.04 VM, with firewall permissions set to allow access from Magnus head nodes. This VM has rather low specs, but is not used for any other purpose than running the calcserver. The project needs to be renewed approximately annually (again details of the application available from Cormac).  We have a single instance of an Ubuntu 17.04 VM, with firewall permissions set to allow access from Magnus head nodes. This VM has rather low specs, but is not used for any other purpose than running the calcserver. The project needs to be renewed approximately annually (again details of the application available from Cormac). 
  
-Once the VM instance has been created and set running, with appropriate firewall access, the setup of the calcserver is fairly straightforward. +Once the VM instance has been created and set running, with appropriate firewall ("Security Group"access, the setup of the calcserver is fairly straightforward. 
  
 <code> <code>
 ssh ubuntu@$CALC_SERVER ssh ubuntu@$CALC_SERVER
 sudo apt-get install automake libtool autoconf # etc. sudo apt-get install automake libtool autoconf # etc.
-svn co svn co https://svn.atnf.csiro.au/difx/applications/calcserver/trunk/ calcserver+svn co https://svn.atnf.csiro.au/difx/applications/calcserver/trunk/ calcserver
 aclocal; libtoolize --copy --force; autoconf; automake -a; aclocal; libtoolize --copy --force; autoconf; automake -a;
 ./configure --prefix=/home/ubuntu/DiFX/ ./configure --prefix=/home/ubuntu/DiFX/
Line 19: Line 19:
 sudo update-rc.d calcserver defaults sudo update-rc.d calcserver defaults
 sudo apt-get install rpcbind sudo apt-get install rpcbind
 +sudo /etc/init.d/calcserver start
 </code> </code>
  
-Note that the calcserver will run on an arbitrary port, so the VM Security Group will have to be modified to match the relevant port (''rpcinfo -p''+Note that the calcserver will run on an arbitrary port, so the VM Security Group will have to be modified to match the relevant port (''rpcinfo -p'' will let you see what port it is running on)
  
-Note that from DiFX-2.5 and later, calc11 is available, which can be called directly and does not need a calcserver.+Note that from DiFX-2.5 and later, calc11 is available, which can be called directly and does not need a calcserver. We continue to use the calc server for older astrometric projects which prefer not to have a model change midway through.
correlator/calcserver.txt · Last modified: 2018/03/26 15:16 by cormac